Class SoSigningDeviceCapabilities
- java.lang.Object
-
- org.jopensignature.sign.SigningDeviceCapabilities
-
- com.stepover.opensignatureapi.device.SoSigningDeviceCapabilities
-
- Direct Known Subclasses:
NativeDeviceCapabilities
public class SoSigningDeviceCapabilities extends SigningDeviceCapabilities
the base class for all StepOver device capabilities
-
-
Field Summary
Fields Modifier and Type Field Description protected java.awt.Dimension
displayPixelSize
The display pixel size.protected Dimension
displaySize
The display size.protected java.util.logging.Logger
log
The log.static int
RECTANGLE_RESOLUTION
the display resolutionprotected com.stepover.opensignatureapi.jna.sopad.SOPAD_TSensorSize
sensorSize
the sensor sizeprotected java.awt.Dimension
signatureImageSize
protected SoSigningDevice
signingDevice
the signing device
-
Constructor Summary
Constructors Constructor Description SoSigningDeviceCapabilities(SoSigningDevice signingDevice)
Instantiates a new step over signing device capabilities.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Dimension
getDisplayPixelSize()
The number of pixels that can effectivly be displayed.Dimension
getDisplaySize()
The physical display size.java.awt.Dimension
getSignatureImageSize()
boolean
isColorSupported()
Determines whether theSigningDevice
supports colors other than black and white.boolean
isMessageSupported(java.lang.Class<? extends BaseMessage> message)
-
-
-
Field Detail
-
log
protected java.util.logging.Logger log
The log.
-
sensorSize
protected com.stepover.opensignatureapi.jna.sopad.SOPAD_TSensorSize sensorSize
the sensor size
-
signingDevice
protected SoSigningDevice signingDevice
the signing device
-
displayPixelSize
protected java.awt.Dimension displayPixelSize
The display pixel size.
-
signatureImageSize
protected java.awt.Dimension signatureImageSize
-
displaySize
protected Dimension displaySize
The display size.
-
RECTANGLE_RESOLUTION
public static final int RECTANGLE_RESOLUTION
the display resolution- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SoSigningDeviceCapabilities
public SoSigningDeviceCapabilities(SoSigningDevice signingDevice)
Instantiates a new step over signing device capabilities.- Parameters:
soPad
- the so pad
-
-
Method Detail
-
getDisplayPixelSize
public java.awt.Dimension getDisplayPixelSize()
Description copied from class:SigningDeviceCapabilities
The number of pixels that can effectivly be displayed.- Specified by:
getDisplayPixelSize
in classSigningDeviceCapabilities
- Returns:
-
getDisplaySize
public Dimension getDisplaySize()
Description copied from class:SigningDeviceCapabilities
The physical display size.- Specified by:
getDisplaySize
in classSigningDeviceCapabilities
- Returns:
-
isColorSupported
public boolean isColorSupported()
Description copied from class:SigningDeviceCapabilities
Determines whether theSigningDevice
supports colors other than black and white. This includes even grayscale colors.- Specified by:
isColorSupported
in classSigningDeviceCapabilities
- Returns:
false
if only black and white are supported, ortrue
if any kind of non black and white colors are supported.
-
getSignatureImageSize
public java.awt.Dimension getSignatureImageSize()
-
isMessageSupported
public boolean isMessageSupported(java.lang.Class<? extends BaseMessage> message)
- Specified by:
isMessageSupported
in classSigningDeviceCapabilities
- Parameters:
message
- themessage
class to be checked.- Returns:
true
if themessage
is supported,false
otherwise
-
-