Class NativeDeviceCapabilities
- java.lang.Object
-
- org.jopensignature.sign.SigningDeviceCapabilities
-
- com.stepover.opensignatureapi.device.SoSigningDeviceCapabilities
-
- com.stepover.opensignatureapi.device.nat.NativeDeviceCapabilities
-
public class NativeDeviceCapabilities extends SoSigningDeviceCapabilities
the signing device capabilities for native devices
-
-
Field Summary
-
Fields inherited from class com.stepover.opensignatureapi.device.SoSigningDeviceCapabilities
displayPixelSize, displaySize, log, RECTANGLE_RESOLUTION, sensorSize, signatureImageSize, signingDevice
-
-
Constructor Summary
Constructors Constructor Description NativeDeviceCapabilities(NativeDevice device)
-
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.booleanisColorSupported()Determines whether theSigningDevicesupports colors other than black and white.booleanisMessageSupported(java.lang.Class<? extends BaseMessage> messageClass)-
Methods inherited from class com.stepover.opensignatureapi.device.SoSigningDeviceCapabilities
getSignatureImageSize
-
-
-
-
Constructor Detail
-
NativeDeviceCapabilities
public NativeDeviceCapabilities(NativeDevice device)
-
-
Method Detail
-
isColorSupported
public boolean isColorSupported()
Description copied from class:SigningDeviceCapabilitiesDetermines whether theSigningDevicesupports colors other than black and white. This includes even grayscale colors.- Overrides:
isColorSupportedin classSoSigningDeviceCapabilities- Returns:
falseif only black and white are supported, ortrueif any kind of non black and white colors are supported.
-
getDisplaySize
public Dimension getDisplaySize()
Description copied from class:SigningDeviceCapabilitiesThe physical display size.- Overrides:
getDisplaySizein classSoSigningDeviceCapabilities- Returns:
-
getDisplayPixelSize
public java.awt.Dimension getDisplayPixelSize()
Description copied from class:SigningDeviceCapabilitiesThe number of pixels that can effectivly be displayed.- Overrides:
getDisplayPixelSizein classSoSigningDeviceCapabilities- Returns:
-
isMessageSupported
public boolean isMessageSupported(java.lang.Class<? extends BaseMessage> messageClass)
- Overrides:
isMessageSupportedin classSoSigningDeviceCapabilities- Parameters:
messageClass- themessageclass to be checked.- Returns:
trueif themessageis supported,falseotherwise
-
-