de.softpro.signware.SPTablet Class Reference
Inheritance diagram for de.softpro.signware.SPTablet:

Detailed Description
Tablet object.This class interfaces with the tablet hardware. It allows for connecting to a tablet and for listening for tablet events.
- Operating Systems:
- Windows (Win32)
Public Member Functions | |
final void | acquire (java.awt.Component parent) throws SPSignwareException |
Enter acquiry mode. | |
final void | acquireDone () throws SPSignwareException |
Leave acquiry mode. | |
final void | clearBackgroundImage (int iImFlags) throws SPSignwareException |
Clear the background image of a tablet that includes a LCD display. | |
final void | connect () throws SPSignwareException |
Enter connect mode. | |
final void | disconnect () throws SPSignwareException |
Leave connect mode. | |
void | dispose () |
final int | getDevice () throws SPSignwareException |
Query the device id. | |
String | getDeviceStr () |
Query the device as a String. | |
int | getDisplayType () throws SPSignwareException |
Query the display type of the tablet used by this SPTablet object. | |
final int | getDriver () throws SPSignwareException |
Query the driver id. | |
String | getDriverStr () |
Query the driver as a String. | |
final int | getFlags () throws SPSignwareException |
Query device flags. | |
String | getHardwareName () throws SPSignwareException |
Query the hardware file name. | |
final int | getLCDBitsPerPixel () throws SPSignwareException |
Query the bits per pixel of the LCD screen. | |
final Dimension | getLCDSize () throws SPSignwareException |
Query the size of the LCD screen. | |
final int | getMaxPressure () throws SPSignwareException |
Query the device pressure range. | |
final byte[] | getPadSerial () throws SPSignwareException |
Query the tablet serial identification. | |
final Dimension | getPhysicalSize () throws SPSignwareException |
Query the device size [in mm]. | |
final int | getResolution (int iDetail) throws SPSignwareException |
Query the device resolution. | |
final int | getResolution () throws SPSignwareException |
Query the logical device resolution. | |
final int | getSampleRate (int iDetail) throws SPSignwareException |
Query the device sample rate. | |
final int | getSampleRate () throws SPSignwareException |
Query the logical device sample rate. | |
final int | getState () throws SPSignwareException |
Query device state. | |
final Dimension | getTabletSize () throws SPSignwareException |
Query the device size in pixel according to the actual device resolution. | |
int | getTabletType () throws SPSignwareException |
Query the tablet type. | |
final int | getTimeStamp () throws SPSignwareException |
Query the time stamp of the last tablet acquiry. | |
final boolean | hasExternalLCD () throws SPSignwareException |
Query if the device has an integrated lcd display. | |
final boolean | hasLCD () throws SPSignwareException |
Query whether the device has an LCD screen. | |
final boolean | hasProximity () throws SPSignwareException |
Query if the device sends position notifications when the pen is moved. | |
void | reloadParameters () throws SPSignwareException |
Reload the tablet characteristics. | |
final void | setBackgroundImage (int iImFlags, byte[] pucImage) throws SPSignwareException |
Set the background image of a tablet that includes a LCD display. | |
final void | setBackgroundImage (byte[] pucImage) throws SPSignwareException |
Set the background image of a tablet that includes a LCD display. | |
void | setClipRectangle (int iLeft, int iTop, int iRight, int iBottom) throws SPSignwareException |
Set the clipping rectangle. | |
final void | setDevice (int iDevice) throws SPSignwareException |
Set the device id. | |
void | setDisplayType (int iDisplay) throws SPSignwareException |
Set the display type of the tablet used by this SPTablet object. | |
final void | setDriver (int iDriver) throws SPSignwareException |
Set the driver id. | |
final void | setFlags (int iFlags) throws SPSignwareException |
Set device flags. | |
final void | setLCD (int iLCD) throws SPSignwareException |
Set the device has an LCD screen. | |
void | setListener (SPTabletEventListener aListener) throws SPSignwareException |
Register a listener for tablet events. | |
final void | setMaxPressure (int iMaxPressure) throws SPSignwareException |
Set the device pressure range. | |
final void | setPadSerial (byte padSerial[]) throws SPSignwareException |
Set the tablet serial identification. | |
final void | setResolution (int iResolution) throws SPSignwareException |
Set the logical device resolution. | |
final void | setSampleRate (int iSampleRate) throws SPSignwareException |
Set the logical device sample rate. | |
void | setTabletOption (String strName, int iValue) throws SPSignwareException |
Set a tablet parameter. | |
final void | setTabletSize (int iWidth, int iHeight) throws SPSignwareException |
Set the device size. | |
void | setTicket (SPTicket spTicket) throws SPSignwareException |
Pass a license for one or more signature captures. | |
SPTablet (SPPropertyMap spDescriptor) throws SPSignwareException | |
Create a Tablet object based on a property map. | |
SPTablet (String strTabletAlias) throws SPSignwareException | |
Create a Tablet object based on an Alias. | |
SPTablet (String strTabletClass, String strConfig) throws SPSignwareException | |
Create a Tablet object that is connected to a specific tablet driver. | |
SPTablet (int iDriverId) throws SPSignwareException | |
Create a Tablet object that is connected to a specific tablet driver. | |
final void | switchSerialType (int iSerialType) throws SPSignwareException |
Chooses a different type of serial ID to be returned by getPadSerial. | |
String | toString () |
Query a String representation of this object. | |
Static Public Member Functions | |
static SPTablet | create (long spTablet) throws SPSignwareException |
Create a weak SPTablet object based on an existing handle within another object, such as SPGuiAcqu. | |
static String | getDeviceStr (int deviceId) throws SPSignwareException |
Query the device as a String. | |
static String | getDriverStr (int driverId) throws SPSignwareException |
Query the driver as a String. | |
static int | getXInputDeviceCount () throws SPSignwareException |
static String | getXInputDeviceName (int iIndex) throws SPSignwareException |
static void | reset (boolean bReset) throws SPSignwareException |
Reset the tablet hardware. | |
Static Public Attributes | |
static final int | SP_ACQUIRE_RETURN_IMMEDIATELY = 2 |
Flag for setFlags(): return immediately from acquire. | |
static final int | SP_ACQUIRE_TRANSFER_0_VECTORS = 8 |
Flag for setFlags(): send all vectors having a pressure value of 0. | |
static final int | SP_ACTIVE_IMAGE = 0 |
Image destination on the tablet: active image. | |
static final int | SP_BAMBOO_DEV = 23 |
Wacom Bamboo Tablet. | |
static final int | SP_BLUEM_DEV = 16 |
Stepover blueM II without LCD Tablet. | |
static final int | SP_BLUEMLCD_DEV = 17 |
Stepover blueM II with LCD Tablet. | |
static final int | SP_DONT_ECHO_STROKES = 0x10 |
Flag for setFlags(): don't echo strokes on the tablet LCD. | |
static final int | SP_EID2_DEV = 21 |
Interlink EPad-ID Pro Tablet. | |
static final int | SP_EID_DEV = 12 |
Interlink EPad-ID Tablet. | |
static final int | SP_EINK2_DEV = 20 |
Interlink EPad-Ink Pro Tablet. | |
static final int | SP_EINK_DEV = 8 |
Interlink ePad-ink tablet. | |
static final int | SP_EPAD2_DEV = 15 |
Interlink ePad II Tablet. | |
static final int | SP_EPADLS_DEV = 19 |
Interlink EPad-LS Tablet. | |
static final int | SP_EPOS_DEV = 6 |
Interlink ePad POS tablet. | |
static final int | SP_ESIG_DEV = 7 |
Interlink ePad E-Signature tablet. | |
static final int | SP_GRAPHIRE_DEV = 3 |
Wacom Graphire tablet. | |
static final int | SP_HESY_DEV = 4 |
BS Hesy tablet. | |
static final int | SP_IDLE_IMAGE = 1 |
Image destination on the tablet: idle image. | |
static final int | SP_IMMEDIATE_IMAGE = 2 |
Image destination on the tablet: immediate image. | |
static final int | SP_INTUOS_DEV = 1 |
Wacom Intuos tablet. | |
static final int | SP_MOBINETIX_DEV = 2 |
MobiNetix tablet. | |
static final int | SP_MTLCD_DEV = 13 |
MotionTouch LegaPad LCD Tablet. | |
static final int | SP_MTLPD_DEV = 14 |
MotionTouch LegaPad Tablet. | |
static final int | SP_NATIVE_DRV = 3 |
Kofax native driver. | |
static final int | SP_PADCOM_DRV = 2 |
MobiNetix driver. | |
static final int | SP_PENPARTNER_DEV = 9 |
Wacom PenPartner tablet. | |
static final int | SP_PL400_DEV = 5 |
Wacom PL400 tablet. | |
static final int | SP_REMOTETABLET_DRV = 6 |
Kofax remote driver. | |
static final int | SP_SIGNPAD_DEV = 22 |
Wacom SIGNPAD Tablet. | |
static final int | SP_STEPOVER_DEV = 11 |
StepOver Tablet. | |
static final int | SP_SYNCHRONOUS_START_ACQUIRE = 0x40 |
Flag for setFlags(): execute acquire synchronously. | |
static final int | SP_TABLET_HARDWARE_AS_VIRTUAL_BUTTONS = 2 |
The connected tablet has builtin virtual buttons. A click on a virtual button is passed as a hardware button notification. | |
static final int | SP_TABLET_LCD_DISPLAY = 1 |
SPTablet display type of the connected tablet, the tablet has an integrated LCD display, e.g. Wacom Signpad (STU-500). | |
static final int | SP_TABLET_LOGICAL = 2 |
Request a logical tablet property. | |
static final int | SP_TABLET_NO_DISPLAY = 0 |
SPTablet display type of the connected tablet, the tablet has no display, e.g. Wacom Intuos. | |
static final int | SP_TABLET_NO_REALTIME_VECTORS = 1 |
The connected tablet cannot send signature strokes (vectors) in real time but rather sends all vectors in a block at the end of the capture process. | |
static final int | SP_TABLET_PC_DISPLAY = 2 |
SPTablet display type of the connected tablet, the tablet is integrated into the PC's display, e.g. TabletPC. | |
static final int | SP_TABLET_PHYSICAL = 1 |
Request a physical tablet property. | |
static final int | SP_TABLET_STATE_ACQUIRE = 2 |
Tablet state acquiring. | |
static final int | SP_TABLET_STATE_CONNECT = 1 |
Tablet state connected. | |
static final int | SP_TABLET_STATE_IDLE = 0 |
Tablet state idle. | |
static final int | SP_TABLETPC_DEV = 10 |
Tablet PC. | |
static final int | SP_TABLETSERVER_DRV = 5 |
Kofax TabletServer driver. | |
static final int | SP_TCP_DRV = 4 |
Kofax remote driver. | |
static final int | SP_TZSE_DEV = 18 |
Topaz pressure sensitive SE devices. | |
static final int | SP_UNKNOWN_DEV = 0 |
Unknown tablet device. | |
static final int | SP_UNKNOWN_DRV = 0 |
Unknown driver. | |
static final int | SP_VERIFONE_MX_DEV = 24 |
Verifone MX 800 series. | |
static final int | SP_WINTAB_DRV = 1 |
Wintab driver. | |
Package Functions | |
final native int | jniFree () |
Constructor & Destructor Documentation
|
Create a Tablet object that is connected to a specific tablet driver. Please read Tablet creation options
|
|
Create a Tablet object that is connected to a specific tablet driver. Please read Tablet creation options for a list of supported options
|
|
Create a Tablet object based on an Alias. Please read Tablet creation options for resolving the Alias
|
|
Create a Tablet object based on a property map. Please read Tablet creation options for resolving the Alias
|
Member Function Documentation
|
Enter acquiry mode. parent must be a valid Java component, otherwise events cannot be processed!
|
|
Leave acquiry mode.
|
|
Clear the background image of a tablet that includes a LCD display.
|
|
Enter connect mode.
|
|
Create a weak SPTablet object based on an existing handle within another object, such as SPGuiAcqu. This object may be destroyed by the object owner, possibly without notifiction.
|
|
Leave connect mode.
|
|
Reimplemented from de.softpro.signware.SPSignwareObject. |
|
Query the device id.
|
|
Query the device as a String.
|
|
Query the device as a String.
|
|
Query the display type of the tablet used by this SPTablet object. SPTablet differentiates 3 types of tablet displays
|
|
Query the driver id.
|
|
Query the driver as a String.
|
|
Query the driver as a String.
|
|
Query device flags.
|
|
Query the hardware file name. Not all devices pass the hardware file name (currently only Wacom SIGNPAD).
|
|
Query the bits per pixel of the LCD screen.
|
|
Query the size of the LCD screen.
|
|
Query the device pressure range.
|
|
Query the tablet serial identification. The size of a tablet serial ID is limited to 20 bytes within the SignWare data structures, more limitations may apply depending on the tablet, see SPTabletGetPadSerial. See SPTabletGetPadSerial for limitations depending on specific tablet models.
|
|
Query the device size [in mm].
|
|
Query the device resolution.
|
|
Query the logical device resolution.
|
|
Query the device sample rate.
|
|
Query the logical device sample rate.
|
|
Query device state.
|
|
Query the device size in pixel according to the actual device resolution.
|
|
Query the tablet type.
|
|
Query the time stamp of the last tablet acquiry.
|
|
|
|
|
|
Query if the device has an integrated lcd display.
|
|
Query whether the device has an LCD screen.
|
|
Query if the device sends position notifications when the pen is moved.
|
|
Implements de.softpro.signware.SPSignwareObject. |
|
Reload the tablet characteristics. Tablet characteristics are typically bound to the hardware and do not change, except for TabletPCs where the screen resolution or screen orientation might change. Both screen resolution and orientation must be considered to calculate the physical tablet width / height and tablet LCD width and height. Applications that support display resolution or orientation changes while acquiring a signature should call SPTabletReloadParameters while or after processing the WM_DISPLAYCHANGE message.
|
|
Reset the tablet hardware.
|
|
Set the background image of a tablet that includes a LCD display.
|
|
Set the background image of a tablet that includes a LCD display.
|
|
Set the clipping rectangle.
|
|
Set the device id. You should normally not need to set the device id.
|
|
Set the display type of the tablet used by this SPTablet object. SPTablet differentiates 3 types of tablet displays
|
|
Set the driver id. You should normally not need to set the driver id.
|
|
Set device flags.
|
|
Set the device has an LCD screen. You should normally not need to set the device LCD mode.
|
|
Register a listener for tablet events.
|
|
Set the device pressure range. You should normally not need to set the device pressure range.
|
|
Set the tablet serial identification. The size of a tablet serial ID is limited to 20 bytes within the SignWare data structures, more limitations may apply depending on the tablet, see SPTabletSetPadSerial. See SPTabletSetPadSerial for limitations depending on specific tablet models
|
|
Set the logical device resolution. You should normally not need to set the device resolution.
|
|
Set the logical device sample rate. You should normally not need to set the device sample rate.
|
|
Set a tablet parameter. For details please see SPTabletSetTabletOption Options can only be passed to the tablet when the tablet is in state SP_TABLET_STATE_CONNECT.
|
|
Set the device size. You should normally not need to set the device size.
|
|
Pass a license for one or more signature captures. You must pass the ticket before you connect with the tablet. The ticket must have been charged for usage SPTicket.ticket_capture.
|
|
Chooses a different type of serial ID to be returned by getPadSerial.
|
|
Query a String representation of this object.
|
Member Data Documentation
|
Flag for setFlags(): return immediately from acquire. If this flag is set, acquire will return immediately. If this flag is not set, acquire will not return until acquireDone is called.
|
|
Flag for setFlags(): send all vectors having a pressure value of 0. If this flag is set, acquire will send all vectors (samples) that have a pressure value of 0. If this flag is not set, acquire will send only one vector having a pressure value of 0 for a sequence of vectors having a pressure value of 0.
|
|
Image destination on the tablet: active image.
|
|
Wacom Bamboo Tablet. identifier for an Wacom Bamboo tablet |
|
Stepover blueM II without LCD Tablet. Identifier for a Stepover blueM II without LCD Tablet |
|
Stepover blueM II with LCD Tablet. Identifier for a Stepover blueM II tablet with integrated LCD |
|
Flag for setFlags(): don't echo strokes on the tablet LCD. If this flag is set, strokes won't be echoed to the tablet LCD. If this flag is not set, strokes will be echoed to the tablet LCD This flag is ignored for tablets that don't have an LCD.
|
|
Interlink EPad-ID Pro Tablet. identifier for an Interlink EPad-ID Pro tablet |
|
Interlink EPad-ID Tablet. Identifier for an Interlink EPad-ID Tablet |
|
Interlink EPad-Ink Pro Tablet. identifier for an Interlink EPad-Ink Pro tablet |
|
Interlink ePad-ink tablet. Identifier for an Interlink ePad-ink E-Signature tablet |
|
Interlink ePad II Tablet. Identifier for a Interlink ePad II non LCD Tablet |
|
Interlink EPad-LS Tablet. identifier for an Interlink EPad-LS tablet |
|
Interlink ePad POS tablet. Identifier for an Interlink ePad Point Of Sales tablet |
|
Interlink ePad E-Signature tablet. Identifier for an Interlink ePad E-Signature tablet |
|
Wacom Graphire tablet. Identifier for a Wacom Graphire tablet |
|
BS Hesy tablet. Identifier for a BS Hesy tablet |
|
Image destination on the tablet: idle image.
|
|
Image destination on the tablet: immediate image.
|
|
Wacom Intuos tablet. Identifier for a Wacom Intuos tablet |
|
MobiNetix tablet. Identifier for a MobiNetix tablet |
|
MotionTouch LegaPad LCD Tablet. Identifier for a Motiontouch LegaPad LCD Tablet |
|
MotionTouch LegaPad Tablet. Identifier for a Motiontouch LegaPad non LCD Tablet |
|
Kofax native driver. Identifier for a Kofax native driver |
|
MobiNetix driver. Identifier for a MobiNetix driver |
|
Wacom PenPartner tablet. Identifier for a Wacom PenPartner tablet |
|
Wacom PL400 tablet. Identifier for a Wacom PL400 tablet |
|
Kofax remote driver. Identifier for a Kofax RemoteTablet driver |
|
Wacom SIGNPAD Tablet. identifier for an Wacom SIGNPAD tablet |
|
StepOver Tablet. Identifier for an StepOver Tablet |
|
Flag for setFlags(): execute acquire synchronously. Some tablet drivers require windows messages posted to finally start acquiry mode. The normal behaviour is to post the messages and return. Set this flag if you want the SPTablet object to wait until the messages have been processed (SPTablet will then process and dispatch windows messages). This flag is currently ignored under Linux.
|
|
The connected tablet has builtin virtual buttons. A click on a virtual button is passed as a hardware button notification.
|
|
SPTablet display type of the connected tablet, the tablet has an integrated LCD display, e.g. Wacom Signpad (STU-500).
|
|
Request a logical tablet property.
|
|
SPTablet display type of the connected tablet, the tablet has no display, e.g. Wacom Intuos.
|
|
The connected tablet cannot send signature strokes (vectors) in real time but rather sends all vectors in a block at the end of the capture process.
|
|
SPTablet display type of the connected tablet, the tablet is integrated into the PC's display, e.g. TabletPC.
|
|
Request a physical tablet property.
|
|
Tablet state acquiring.
|
|
Tablet state connected.
|
|
Tablet state idle.
|
|
Tablet PC. Identifier for an Tablet PC (Pad intergrated) |
|
Kofax TabletServer driver. Identifier for a Kofax TabletServer driver |
|
Kofax remote driver. Identifier for a Kofax remote driver |
|
Topaz pressure sensitive SE devices. Identifier for Topaz SE devices |
|
Unknown tablet device. Identifier for an unknown tablet device |
|
Unknown driver. Identifier for an unknown tablet driver |
|
Verifone MX 800 series. identifier for an Verifone MX 800 series tablet |
|
Wintab driver. Identifier for a Wintab driver |
The documentation for this class was generated from the following file: