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.DimensiongetDisplayPixelSize()The number of pixels that can effectivly be displayed.abstract DimensiongetDisplaySize()The physical display size.abstract booleanisColorSupported()Determines whether theSigningDevicesupports colors other than black and white.abstract booleanisMessageSupported(java.lang.Class<? extends BaseMessage> messageClass)
-
-
-
Method Detail
-
isColorSupported
public abstract boolean isColorSupported()
Determines whether theSigningDevicesupports colors other than black and white. This includes even grayscale colors.- Returns:
falseif only black and white are supported, ortrueif 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)
-
-