Class ISignatureController

  • public class ISignatureController
    extends java.lang.Object
    An ISignature controller to control undo, clear, save, and some status with the given signature instance.

    Note: this class is not thread-safe, so when it's used in multi-threading environment, the developer should handle the threading issue.

    • Method Detail

      • undo

        public void undo()
        Undoes the signature.
      • clear

        public void clear()
        Clears the signature.
      • save

        public void save()
        Saves the Signature. It will upload a file and fire an onSave event to server, upload file type is according to ISignature.getSaveType().
      • build

        public ISignature build()
        Returns the immutable signature instance that the controller to build with.