|
||||||||
| 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.Button
static final class AWTMouse.Button
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.java.games.input.Component |
|---|
Component.Identifier, Component.POV |
| Constructor Summary | |
|---|---|
AWTMouse.Button(Component.Identifier.Button button_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.Button(Component.Identifier.Button button_id)
| Method Detail |
|---|
protected final void setValue(float value)
protected final float poll()
throws java.io.IOException
poll in class AbstractComponentjava.io.IOExceptionpublic final boolean isAnalog()
AbstractComponent
isAnalog in interface ComponentisAnalog in class AbstractComponentpublic final boolean isRelative()
Componenttrue if data returned from poll
is relative to the last call, or false if data
is absolute.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||