public static class CocoaProvider.Constructor extends AbstractPenProvider.AbstractConstructor
Constructor and Description |
---|
Constructor() |
Modifier and Type | Method and Description |
---|---|
boolean |
constructable(PenManager penManager) |
PenProvider |
constructProvider() |
int |
getExpectedNativeBuild() |
java.lang.String |
getName() |
int |
getNativeBuild() |
int |
getNativeVersion() |
construct, getConstructed, getConstructionException, getPenManager
public Constructor()
public java.lang.String getName()
PenProvider
to access the pen/tablet.public boolean constructable(PenManager penManager)
true
if the PenProvider
can be constructed on this system, false
otherwise.This method usually test for the name of the operating system and returns true
if it matches an operating system in which this provider can run.public PenProvider constructProvider() throws java.lang.Throwable
constructProvider
in class AbstractPenProvider.AbstractConstructor
java.lang.Throwable
public int getNativeVersion()
getNativeVersion
in interface PenProvider.Constructor
getNativeVersion
in class AbstractPenProvider.AbstractConstructor
-1
if the provider does not use a native library. The version is used to construct the native library name.public int getNativeBuild()
getNativeBuild
in interface PenProvider.Constructor
getNativeBuild
in class AbstractPenProvider.AbstractConstructor
-1
if the provider does not use a native library.public int getExpectedNativeBuild()
getExpectedNativeBuild
in interface PenProvider.Constructor
getExpectedNativeBuild
in class AbstractPenProvider.AbstractConstructor
-1
if the provider does not use a native library.