public interface PenDevice
Modifier and Type | Method and Description |
---|---|
boolean |
getEnabled() |
byte |
getId() |
int |
getKindTypeNumber() |
java.lang.String |
getName() |
java.lang.String |
getPhysicalId() |
PenProvider |
getProvider() |
boolean |
getUseFractionalMovements() |
void |
penManagerSetId(byte id)
Don't call this method.
|
void |
penManagerSetUseFractionalMovements(boolean useFractionalMovements)
Don't call this method.
|
void |
setEnabled(boolean enabled) |
void |
setKindTypeNumber(int kindTypeNumber) |
PenProvider getProvider()
int getKindTypeNumber()
void setKindTypeNumber(int kindTypeNumber)
void setEnabled(boolean enabled)
boolean getEnabled()
java.lang.String getName()
byte getId()
PenManager
and can change between restarts.getPhysicalId()
void penManagerSetId(byte id)
PenManager
. This method is called when the device is being constructed to set a meaningful id
.PenEvent.getDeviceId()
java.lang.String getPhysicalId()
physicalId
is always the same for the given device, even if the program restarts. Each PenDevice has a different physicalId
.boolean getUseFractionalMovements()
true
if this device uses fractional (floating point precision) movement levels.void penManagerSetUseFractionalMovements(boolean useFractionalMovements)
PenManager
. This method is called when the provider PenProvider.getUseRelativeLocationFilter()
is true
and this PenDevice
must change its useFractionalMovement
mode.getUseFractionalMovements()