org.jagatoo.input.devices.components
Class MouseButton

java.lang.Object
  extended by org.jagatoo.input.devices.components.DeviceComponent
      extended by org.jagatoo.input.devices.components.DigitalDeviceComponent
          extended by org.jagatoo.input.devices.components.MouseButton

public final class MouseButton
extends DigitalDeviceComponent

Simple abstraction of mouse-buttons.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jagatoo.input.devices.components.DeviceComponent
DeviceComponent.Type
 
Field Summary
 
Fields inherited from class org.jagatoo.input.devices.components.DeviceComponent
nextID
 
Method Summary
 int getIndex()
           
 int getMaskValue()
           
 java.lang.String toString()
          
 
Methods inherited from class org.jagatoo.input.devices.components.DeviceComponent
bindAction, bindAction, getDeviceComponentID, getLocalizedName, getName, getType, isAnalog, isDigital, notifyBoundActions, unbindAction, unbindAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getIndex

public final int getIndex()
Returns:
this button's index.

getMaskValue

public final int getMaskValue()
Returns:
a value, that identifies this button in a bit-mask.

toString

public final java.lang.String toString()

Overrides:
toString in class java.lang.Object