|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.java.games.input.AbstractComponent
net.java.games.input.AWTMouse.Axis
static final class AWTMouse.Axis
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.java.games.input.Component |
|---|
Component.Identifier, Component.POV |
| Constructor Summary | |
|---|---|
AWTMouse.Axis(Component.Identifier.Axis axis_id)
|
|
| Method Summary | |
|---|---|
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. |
protected float |
poll()
|
protected void |
setValue(float value)
|
| Methods inherited from class net.java.games.input.AbstractComponent |
|---|
getDeadZone, getEventValue, getIdentifier, getName, getPollData, resetHasPolled, setEventValue, setPollData, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AWTMouse.Axis(Component.Identifier.Axis axis_id)
| Method Detail |
|---|
public final boolean isRelative()
Componenttrue if data returned from poll
is relative to the last call, or false if data
is absolute.
public final boolean isAnalog()
AbstractComponent
isAnalog in interface ComponentisAnalog in class AbstractComponentprotected final void setValue(float value)
protected final float poll()
throws java.io.IOException
poll in class AbstractComponentjava.io.IOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||