wx
Class JoystickEvent
java.lang.Object
wx.Object
wx.Event
wx.JoystickEvent
- public class JoystickEvent
- extends Event
Methods inherited from class wx.Event |
copy, getEventObject, getEventType, getId, getSkipped, getTimestamp, isCommandEvent, resumePropagation, setEventObject, setEventType, setId, setTimestamp, setTimestamp, shouldPropagate, skip, skip, stopPropagation |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOYSTICK1
public static final int JOYSTICK1
- See Also:
- Constant Field Values
JOYSTICK2
public static final int JOYSTICK2
- See Also:
- Constant Field Values
JOY_BUTTON_ANY
public static final int JOY_BUTTON_ANY
- See Also:
- Constant Field Values
JOY_BUTTON1
public static final int JOY_BUTTON1
- See Also:
- Constant Field Values
JOY_BUTTON2
public static final int JOY_BUTTON2
- See Also:
- Constant Field Values
JOY_BUTTON3
public static final int JOY_BUTTON3
- See Also:
- Constant Field Values
JOY_BUTTON4
public static final int JOY_BUTTON4
- See Also:
- Constant Field Values
JoystickEvent
public JoystickEvent(int type,
int state,
int joystick,
int change)
JoystickEvent
public JoystickEvent(int type,
int state,
int joystick)
JoystickEvent
public JoystickEvent(int type,
int state)
JoystickEvent
public JoystickEvent(int type)
JoystickEvent
public JoystickEvent()
JoystickEvent
public JoystickEvent(JoystickEvent event)
delete
public void delete()
- Overrides:
delete
in class Event
getPosition
public Point getPosition()
getZPosition
public int getZPosition()
getButtonState
public int getButtonState()
getButtonChange
public int getButtonChange()
getJoystick
public int getJoystick()
setJoystick
public void setJoystick(int stick)
setButtonState
public void setButtonState(int state)
setButtonChange
public void setButtonChange(int change)
setPosition
public void setPosition(Point pos)
setZPosition
public void setZPosition(int zPos)
isButton
public boolean isButton()
isMove
public boolean isMove()
isZMove
public boolean isZMove()
buttonDown
public boolean buttonDown(int but)
buttonDown
public boolean buttonDown()
buttonUp
public boolean buttonUp(int but)
buttonUp
public boolean buttonUp()
buttonIsDown
public boolean buttonIsDown(int but)
buttonIsDown
public boolean buttonIsDown()
© 2006 Amit G Mendapara.