fr.emn.win32input.jwintab
Class TabletButton

java.lang.Object
  extended byfr.emn.win32input.jwintab.TabletButton

public class TabletButton
extends java.lang.Object


Field Summary
static int SYS_BARREL1_CLICK
           
static int SYS_BARREL1_DBLCLICK
           
static int SYS_BARREL1_DRAG
           
static int SYS_BARREL2_CLICK
           
static int SYS_BARREL2_DBLCLICK
           
static int SYS_BARREL2_DRAG
           
static int SYS_BARREL3_CLICK
           
static int SYS_BARREL3_DBLCLICK
           
static int SYS_BARREL3_DRAG
           
static int SYS_DBLTAP
           
static int SYS_INV_DBLTAP
           
static int SYS_INV_STROKE
           
static int SYS_INV_TAP
           
static int SYS_LEFT_CLICK
           
static int SYS_LEFT_DBLCLICK
           
static int SYS_LEFT_DRAG
           
static int SYS_MIDDLE_CLICK
           
static int SYS_MIDDLE_DBLCLICK
           
static int SYS_MIDDLE_DRAG
           
static int SYS_NONE
           
static int SYS_RIGHT_CLICK
           
static int SYS_RIGHT_DBLCLICK
           
static int SYS_RIGHT_DRAG
           
static int SYS_STROKE
           
static int SYS_TAP
           
 
Method Summary
 int getButtonID()
          The logical button number.
 java.lang.String getButtonName()
           
 int getSysButtonID()
          The system button id.
static java.lang.String systemButtonToString(int systemButton)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYS_NONE

public static final int SYS_NONE
See Also:
Constant Field Values

SYS_LEFT_CLICK

public static final int SYS_LEFT_CLICK
See Also:
Constant Field Values

SYS_LEFT_DBLCLICK

public static final int SYS_LEFT_DBLCLICK
See Also:
Constant Field Values

SYS_LEFT_DRAG

public static final int SYS_LEFT_DRAG
See Also:
Constant Field Values

SYS_RIGHT_CLICK

public static final int SYS_RIGHT_CLICK
See Also:
Constant Field Values

SYS_RIGHT_DBLCLICK

public static final int SYS_RIGHT_DBLCLICK
See Also:
Constant Field Values

SYS_RIGHT_DRAG

public static final int SYS_RIGHT_DRAG
See Also:
Constant Field Values

SYS_MIDDLE_CLICK

public static final int SYS_MIDDLE_CLICK
See Also:
Constant Field Values

SYS_MIDDLE_DBLCLICK

public static final int SYS_MIDDLE_DBLCLICK
See Also:
Constant Field Values

SYS_MIDDLE_DRAG

public static final int SYS_MIDDLE_DRAG
See Also:
Constant Field Values

SYS_TAP

public static final int SYS_TAP
See Also:
Constant Field Values

SYS_DBLTAP

public static final int SYS_DBLTAP
See Also:
Constant Field Values

SYS_STROKE

public static final int SYS_STROKE
See Also:
Constant Field Values

SYS_INV_TAP

public static final int SYS_INV_TAP
See Also:
Constant Field Values

SYS_INV_DBLTAP

public static final int SYS_INV_DBLTAP
See Also:
Constant Field Values

SYS_INV_STROKE

public static final int SYS_INV_STROKE
See Also:
Constant Field Values

SYS_BARREL1_CLICK

public static final int SYS_BARREL1_CLICK
See Also:
Constant Field Values

SYS_BARREL1_DBLCLICK

public static final int SYS_BARREL1_DBLCLICK
See Also:
Constant Field Values

SYS_BARREL1_DRAG

public static final int SYS_BARREL1_DRAG
See Also:
Constant Field Values

SYS_BARREL2_CLICK

public static final int SYS_BARREL2_CLICK
See Also:
Constant Field Values

SYS_BARREL2_DBLCLICK

public static final int SYS_BARREL2_DBLCLICK
See Also:
Constant Field Values

SYS_BARREL2_DRAG

public static final int SYS_BARREL2_DRAG
See Also:
Constant Field Values

SYS_BARREL3_CLICK

public static final int SYS_BARREL3_CLICK
See Also:
Constant Field Values

SYS_BARREL3_DBLCLICK

public static final int SYS_BARREL3_DBLCLICK
See Also:
Constant Field Values

SYS_BARREL3_DRAG

public static final int SYS_BARREL3_DRAG
See Also:
Constant Field Values
Method Detail

getButtonID

public int getButtonID()
The logical button number. This allows several physical buttons to be assigned to the same logical button.


getButtonName

public java.lang.String getButtonName()

getSysButtonID

public int getSysButtonID()
The system button id.


systemButtonToString

public static java.lang.String systemButtonToString(int systemButton)