Class NativeMonochromeDevice
- java.lang.Object
-
- com.stepover.opensignatureapi.device.SoSigningDevice
-
- com.stepover.opensignatureapi.device.nat.NativeDevice
-
- com.stepover.opensignatureapi.device.nat.NativeMonochromeDevice
-
- All Implemented Interfaces:
MessageReceiver
,SoHidDevice
,SigningDevice
public class NativeMonochromeDevice extends NativeDevice
class used for monochrome 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.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 NativeMonochromeDevice(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
setSignatureRectangle(SignatureRectangle signatureRectangle, boolean signInDoc)
void
startButtonEventThread()
void
uploadImage(SoHidDevice.ImageType imageType, java.awt.image.BufferedImage image, int soiMode, int bpp, java.lang.Integer transperentColor)
-
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
-
configureMode
public void configureMode(NativeDevice.Mode mode) throws java.io.IOException
- Throws:
java.io.IOException
-
uploadImage
public void uploadImage(SoHidDevice.ImageType imageType, java.awt.image.BufferedImage image, int soiMode, int bpp, java.lang.Integer transperentColor) throws java.io.IOException
- Throws:
java.io.IOException
-
startButtonEventThread
public void startButtonEventThread() throws java.io.IOException
- Throws:
java.io.IOException
-
setButtonState
public void setButtonState(NativeDevice.Button button, NativeDevice.ButtonState buttonState)
-
setSignatureRectangle
public void setSignatureRectangle(SignatureRectangle signatureRectangle, boolean signInDoc) throws java.io.IOException
- Throws:
java.io.IOException
-
-