Class NativeColorDevice
- java.lang.Object
-
- com.stepover.opensignatureapi.device.SoSigningDevice
-
- com.stepover.opensignatureapi.device.nat.NativeDevice
-
- com.stepover.opensignatureapi.device.nat.NativeColorDevice
-
- All Implemented Interfaces:
MessageReceiver
,SoHidDevice
,SigningDevice
- Direct Known Subclasses:
NativeG12Device
public class NativeColorDevice extends NativeDevice
a base class for color devices used by the native service provider
-
-
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 Modifier and Type Field Description protected SignatureColor
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 NativeColorDevice(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
-
-
-
-
Field Detail
-
signatureColor
protected SignatureColor signatureColor
-
-
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
-
-