Class NativeG12Device
- java.lang.Object
-
- com.stepover.opensignatureapi.device.SoSigningDevice
-
- com.stepover.opensignatureapi.device.nat.NativeDevice
-
- com.stepover.opensignatureapi.device.nat.NativeColorDevice
-
- com.stepover.opensignatureapi.device.nat.NativeG12Device
-
- All Implemented Interfaces:
MessageReceiver
,SoHidDevice
,SigningDevice
- Direct Known Subclasses:
NativeG13Device
public class NativeG12Device extends NativeColorDevice
class used for native g12 (durasign) signature pads
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.stepover.opensignatureapi.device.nat.NativeDevice
NativeDevice.Button, NativeDevice.ButtonState, NativeDevice.DeviceType, NativeDevice.DocViewButton, NativeDevice.Mode, NativeDevice.PadColor
-
Nested classes/interfaces inherited from interface org.jopensignature.sign.SigningDevice
SigningDevice.UnsupportedMessageException
-
Nested classes/interfaces inherited from interface com.stepover.opensignatureapi.device.nat.SoHidDevice
SoHidDevice.ButtonEventListener, SoHidDevice.ImageType
-
-
Field Summary
-
Fields inherited from class com.stepover.opensignatureapi.device.nat.NativeColorDevice
signatureColor
-
Fields inherited from class com.stepover.opensignatureapi.device.nat.NativeDevice
DEVICE_TYPE, GUTTER_HORI_SIZE_PIXEL, GUTTER_VERT_SIZE_PIXEL, hidDevice, LCD_HEIGHT_PIXEL, LCD_WIDTH_PIXEL, mode, nativeBase, SIGN_INFO_HEIGHT
-
Fields inherited from class com.stepover.opensignatureapi.device.SoSigningDevice
bioData, capabilities, configuration, documentRenderer, documentViewer, GEN12, GEN13, identifier, log, signer, signingDeviceInfo, threads
-
-
Constructor Summary
Constructors Constructor Description NativeG12Device(purejavahidapi.HidDevice hidDevice)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureMode(NativeDevice.Mode mode)
void
setButtonState(NativeDevice.Button button, NativeDevice.ButtonState buttonState)
void
startButtonEventThread()
-
Methods inherited from class com.stepover.opensignatureapi.device.nat.NativeColorDevice
setSignatureRectangle, uploadImage
-
Methods inherited from class com.stepover.opensignatureapi.device.nat.NativeDevice
addButtonEventListener, close, disconnect, getCapabilities, getDeviceInfo, getDeviceType, getHidDevice, getIdentifier, getInfo, getNativeBase, setMode, setMode
-
Methods inherited from class com.stepover.opensignatureapi.device.SoSigningDevice
getBioData, getConfiguration, getDocumentViewer, getRenderer, getSigner, getSignImage, getThreadExecuter, isGeneration, registerHandlers, send, setBioData, setDocumentViewer, setIdentifier, setRenderer, sleep
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.stepover.opensignatureapi.device.messages.MessageReceiver
send
-
Methods inherited from interface org.jopensignature.sign.SigningDevice
send
-
-
-
-
Method Detail
-
setButtonState
public void setButtonState(NativeDevice.Button button, NativeDevice.ButtonState buttonState)
- Specified by:
setButtonState
in interfaceSoHidDevice
- Overrides:
setButtonState
in classNativeColorDevice
-
configureMode
public void configureMode(NativeDevice.Mode mode) throws java.io.IOException
- Specified by:
configureMode
in interfaceSoHidDevice
- Overrides:
configureMode
in classNativeColorDevice
- Throws:
java.io.IOException
-
startButtonEventThread
public void startButtonEventThread() throws java.io.IOException
- Specified by:
startButtonEventThread
in interfaceSoHidDevice
- Overrides:
startButtonEventThread
in classNativeColorDevice
- Throws:
java.io.IOException
-
-