|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sdljava.event.SDLEvent sdljava.event.SDLJoyAxisEvent
public class SDLJoyAxisEvent
A SDLJoyAxisEvent event occurs whenever a user moves an axis on the joystick. The field which is the index of the joystick that reported the event and axis is the index of the axis (for a more detailed explaination see the Joystick section). value is the current position of the axis.
Field Summary | |
---|---|
(package private) SDL_JoyAxisEvent |
swigEvent
|
Constructor Summary | |
---|---|
SDLJoyAxisEvent()
|
Method Summary | |
---|---|
int |
getAxis()
|
SDL_JoyAxisEvent |
getSwigEvent()
Gets the value of swigEvent |
int |
getType()
The type of the this event |
int |
getValue()
|
int |
getWhich()
|
void |
setSwigEvent(SDL_JoyAxisEvent argSwigEvent)
Sets the value of swigEvent |
java.lang.String |
toString()
Return a string represenation of this object |
Methods inherited from class sdljava.event.SDLEvent |
---|
enableKeyRepeat, enableUNICODE, eventState, getAppState, getKeyName, getModState, getMouseState, getRelativeMouseState, joystickEventState, pollEvent, pollEvent, processEvent, pumpEvents, setModState, waitEvent, waitEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
SDL_JoyAxisEvent swigEvent
Constructor Detail |
---|
public SDLJoyAxisEvent()
Method Detail |
---|
public SDL_JoyAxisEvent getSwigEvent()
public void setSwigEvent(SDL_JoyAxisEvent argSwigEvent)
argSwigEvent
- Value to assign to this.swigEventpublic int getWhich()
public int getAxis()
public int getValue()
public int getType()
getType
in class SDLEvent
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |