Game Control Plus  1.2.2
 All Classes Namespaces Functions Variables Pages
net.java.games.input.RawMouse.Button Class Reference
Inheritance diagram for net.java.games.input.RawMouse.Button:

Public Member Functions

 Button (RawDevice device, Component.Identifier.Button id, int button_id)
 
final boolean isAnalog ()
 
final boolean isRelative ()
 
- Public Member Functions inherited from net.java.games.input.AbstractComponent
Identifier getIdentifier ()
 
float getDeadZone ()
 
final float getPollData ()
 
final float getEventValue ()
 
final void setEventValue (float event_value)
 
String getName ()
 
String toString ()
 

Protected Member Functions

final float poll () throws IOException
 
- Protected Member Functions inherited from net.java.games.input.AbstractComponent
 AbstractComponent (String name, Identifier id)
 

Private Attributes

final RawDevice device
 
final int button_id
 

Additional Inherited Members

- Package Functions inherited from net.java.games.input.AbstractComponent
final void setPollData (float value)
 

Member Function Documentation

final boolean net.java.games.input.RawMouse.Button.isAnalog ( )
virtual

Returns whether or not the axis is analog, or false if it is digital.

Returns
false by default, can be overridden

Reimplemented from net.java.games.input.AbstractComponent.

final boolean net.java.games.input.RawMouse.Button.isRelative ( )
virtual

Returns true if data returned from poll is relative to the last call, or false if data is absolute.

Implements net.java.games.input.Component.