fr.emn.win32input.jwintab
Class TabletCursor

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

public class TabletCursor
extends java.lang.Object


Method Summary
 TabletButton getButton(int i)
          Returns an the button of index i
 int getButtonCount()
          Returns the number of buttons on this cursor.
 TabletButton[] getButtons()
          Returns an array of Button objects describing the physical buttons on the cursor.
 int getCursorDimensions()
           
 java.lang.String getCursorName()
          Returns a String containing the name of the cursor.
 int getCursorNumber()
           
 TabletDevice getParentDevice()
           
 TabletButton getPressureButton()
          Returns the button that is controlled by normal pressure.
 TabletButton getTPressureButton()
          Returns the button that is controlled by tangent pressure.
 boolean isActive()
          Returns whether the cursor is currently connected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getButton

public TabletButton getButton(int i)
Returns an the button of index i

See Also:
Button

getButtonCount

public int getButtonCount()
Returns the number of buttons on this cursor.


getButtons

public TabletButton[] getButtons()
Returns an array of Button objects describing the physical buttons on the cursor.

See Also:
Button

getCursorDimensions

public int getCursorDimensions()

getCursorName

public java.lang.String getCursorName()
Returns a String containing the name of the cursor.


getCursorNumber

public int getCursorNumber()

getParentDevice

public TabletDevice getParentDevice()

getPressureButton

public TabletButton getPressureButton()
Returns the button that is controlled by normal pressure. Returns null is there is no such button.


getTPressureButton

public TabletButton getTPressureButton()
Returns the button that is controlled by tangent pressure. Returns null is there is no such button.


isActive

public boolean isActive()
Returns whether the cursor is currently connected. Note: most devices don't know which cursors are available.