Package org.jopensignature.sign
Class SigningDeviceCapabilities
- java.lang.Object
-
- org.jopensignature.sign.SigningDeviceCapabilities
-
- Direct Known Subclasses:
SoHeadlessSigningDeviceCapabilities
,SoSigningDeviceCapabilities
public abstract class SigningDeviceCapabilities extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SigningDeviceCapabilities()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.awt.Dimension
getDisplayPixelSize()
The number of pixels that can effectivly be displayed.abstract Dimension
getDisplaySize()
The physical display size.abstract boolean
isColorSupported()
Determines whether theSigningDevice
supports colors other than black and white.abstract boolean
isMessageSupported(java.lang.Class<? extends BaseMessage> messageClass)
-
-
-
Method Detail
-
isColorSupported
public abstract boolean isColorSupported()
Determines whether theSigningDevice
supports colors other than black and white. This includes even grayscale colors.- Returns:
false
if only black and white are supported, ortrue
if any kind of non black and white colors are supported.
-
getDisplaySize
public abstract Dimension getDisplaySize()
The physical display size.- Returns:
-
getDisplayPixelSize
public abstract java.awt.Dimension getDisplayPixelSize()
The number of pixels that can effectivly be displayed.- Returns:
-
isMessageSupported
public abstract boolean isMessageSupported(java.lang.Class<? extends BaseMessage> messageClass)
-
-