Class SignatureCaptureProperties

java.lang.Object
de.gmxhome.conrad.jpos.jpos_base.JposCommonProperties
de.gmxhome.conrad.jpos.jpos_base.signaturecapture.SignatureCaptureProperties
All Implemented Interfaces:
JposBaseInterface, SignatureCaptureInterface

public class SignatureCaptureProperties extends JposCommonProperties implements SignatureCaptureInterface
Class containing the signature capture specific properties, their default values and default implementations of SignatureCaptureInterface. For details about properties, methods and method parameters, see UPOS specification, chapter Signature Capture.
  • Field Details

    • CapDisplay

      public boolean CapDisplay
      UPOS property CapDisplay. Default: false. Can be overwritten by objects derived from JposDevice within the changeDefaults method.
    • CapRealTimeData

      public boolean CapRealTimeData
      UPOS property CapRealTimeData. Default: false. Can be overwritten by objects derived from JposDevice within the changeDefaults method.
    • CapUserTerminated

      public boolean CapUserTerminated
      UPOS property CapUserTerminated. Default: false. Can be overwritten by objects derived from JposDevice within the changeDefaults method.
    • MaximumX

      public int MaximumX
      UPOS property MaximumX. Default: 0. Must be overwritten by objects derived from JposDevice within the changeDefaults method.
    • MaximumY

      public int MaximumY
      UPOS property MaximumY. Default: 0. Must be overwritten by objects derived from JposDevice within the changeDefaults method.
    • PointArray

      public Point[] PointArray
      UPOS property PointArray. Default: null (no data). Must be overwritten before delivering a data event.
    • RawData

      public byte[] RawData
      UPOS property RawData. Default: null (no data). Must be overwritten before delivering a data event.
    • RealTimeDataEnabled

      public boolean RealTimeDataEnabled
      UPOS property RealTimeDataEnabled. Default: false. Can be overwritten by objects derived from JposDevice within the changeDefaults method.
  • Constructor Details

    • SignatureCaptureProperties

      protected SignatureCaptureProperties(int dev)
      Constructor.
      Parameters:
      dev - Device index
  • Method Details

    • realTimeDataEnabled

      public void realTimeDataEnabled(boolean flag) throws jpos.JposException
      Description copied from interface: SignatureCaptureInterface
      Final part of setting RealTimeDataEnabled. Can be overwritten within derived classes, if necessary. This method will be called only if the following plausibility checks lead to a positive result:
      • Device has been opened,
      • The new property value is false or CapRealTimeData is true,
      • internal property AllowAlwaysSetProperties is true or flag equals the previous value of RealTimeDataEnabled.
      Specified by:
      realTimeDataEnabled in interface SignatureCaptureInterface
      Parameters:
      flag - New property value.
      Throws:
      jpos.JposException - If an error occurs.
    • beginCapture

      public void beginCapture(String formName) throws jpos.JposException
      Description copied from interface: SignatureCaptureInterface
      Final part of BeginCapture method. Can be overwritten in derived class, if necessary. This method will be called only if the following plausibility checks lead to a positive result:
      • Device is enabled.
      Specified by:
      beginCapture in interface SignatureCaptureInterface
      Parameters:
      formName - Identifier for signature capture form.
      Throws:
      jpos.JposException - If an error occurs.
    • endCapture

      public void endCapture() throws jpos.JposException
      Description copied from interface: SignatureCaptureInterface
      Final part of EndCapture method. Can be overwritten in derived class, if necessary. This method will be called only if the following plausibility checks lead to a positive result:
      • Device is enabled.
      Specified by:
      endCapture in interface SignatureCaptureInterface
      Throws:
      jpos.JposException - If an error occurs.