|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Component
An axis is a single button, slider, or dial, which has a single range. An axis can hold information for motion (linear or rotational), velocity, force, or acceleration.
Nested Class Summary | |
---|---|
static class |
Component.Identifier
Identifiers for different Axes. |
static class |
Component.POV
POV enum for different positions. |
Method Summary | |
---|---|
float |
getDeadZone()
Returns the suggested dead zone for this axis. |
Component.Identifier |
getIdentifier()
Returns the identifier of the axis. |
java.lang.String |
getName()
Returns a human-readable name for this axis. |
float |
getPollData()
Returns the data from the last time the control has been polled. |
boolean |
isAnalog()
Returns whether or not the axis is analog, or false if it is digital. |
boolean |
isRelative()
Returns true if data returned from poll
is relative to the last call, or false if data
is absolute. |
Method Detail |
---|
Component.Identifier getIdentifier()
boolean isRelative()
true
if data returned from poll
is relative to the last call, or false
if data
is absolute.
boolean isAnalog()
float getDeadZone()
getPollData()
float getPollData()
Controller.poll()
java.lang.String getName()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |