sdljava.event
public class SDLJoyButtonEvent extends SDLEvent
Version: $Id: SDLJoyButtonEvent.java,v 1.5 2005/01/25 02:50:45 ivan_ganza Exp $
Field Summary | |
---|---|
SDL_JoyButtonEvent | swigEvent |
Method Summary | |
---|---|
int | getButton()
Get the button that was pressed
|
SDLPressedState | getState()
Get the state of the button
|
SDL_JoyButtonEvent | getSwigEvent()
Gets the value of swigEvent
|
int | getType()
The type of the this event
|
int | getWhich()
Get Which joystick the event occured on
|
void | setSwigEvent(SDL_JoyButtonEvent argSwigEvent)
Sets the value of swigEvent
|
String | toString()
Return a string represenation of this object
|
Returns: the button that was pressed
Returns: the state of the button
Returns: the value of swigEvent
Returns: The type of event
Returns: Which joystick the event occured on
Parameters: argSwigEvent Value to assign to this.swigEvent
Returns: a String represenation of this object