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.DimensiondisplayPixelSizeThe display pixel size.protected DimensiondisplaySizeThe display size.protected java.util.logging.LoggerlogThe log.static intRECTANGLE_RESOLUTIONthe display resolutionprotected com.stepover.opensignatureapi.jna.sopad.SOPAD_TSensorSizesensorSizethe sensor sizeprotected java.awt.DimensionsignatureImageSizeprotected SoSigningDevicesigningDevicethe 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.DimensiongetDisplayPixelSize()The number of pixels that can effectivly be displayed.DimensiongetDisplaySize()The physical display size.java.awt.DimensiongetSignatureImageSize()booleanisColorSupported()Determines whether theSigningDevicesupports colors other than black and white.booleanisMessageSupported(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:SigningDeviceCapabilitiesThe number of pixels that can effectivly be displayed.- Specified by:
getDisplayPixelSizein classSigningDeviceCapabilities- Returns:
-
getDisplaySize
public Dimension getDisplaySize()
Description copied from class:SigningDeviceCapabilitiesThe physical display size.- Specified by:
getDisplaySizein classSigningDeviceCapabilities- Returns:
-
isColorSupported
public boolean isColorSupported()
Description copied from class:SigningDeviceCapabilitiesDetermines whether theSigningDevicesupports colors other than black and white. This includes even grayscale colors.- Specified by:
isColorSupportedin classSigningDeviceCapabilities- Returns:
falseif only black and white are supported, ortrueif 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:
isMessageSupportedin classSigningDeviceCapabilities- Parameters:
message- themessageclass to be checked.- Returns:
trueif themessageis supported,falseotherwise
-
-