jwx!
v0.0.2


wx
Class JoystickEvent

java.lang.Object
  extended bywx.Object
      extended bywx.Event
          extended bywx.JoystickEvent

public class JoystickEvent
extends Event


Field Summary
static int JOY_BUTTON_ANY
           
static int JOY_BUTTON1
           
static int JOY_BUTTON2
           
static int JOY_BUTTON3
           
static int JOY_BUTTON4
           
static int JOYSTICK1
           
static int JOYSTICK2
           
 
Constructor Summary
JoystickEvent()
           
JoystickEvent(int type)
           
JoystickEvent(int type, int state)
           
JoystickEvent(int type, int state, int joystick)
           
JoystickEvent(int type, int state, int joystick, int change)
           
JoystickEvent(JoystickEvent event)
           
 
Method Summary
 boolean buttonDown()
           
 boolean buttonDown(int but)
           
 boolean buttonIsDown()
           
 boolean buttonIsDown(int but)
           
 boolean buttonUp()
           
 boolean buttonUp(int but)
           
 void delete()
           
 int getButtonChange()
           
 int getButtonState()
           
 int getJoystick()
           
 Point getPosition()
           
 int getZPosition()
           
 boolean isButton()
           
 boolean isMove()
           
 boolean isZMove()
           
 void setButtonChange(int change)
           
 void setButtonState(int state)
           
 void setJoystick(int stick)
           
 void setPosition(Point pos)
           
 void setZPosition(int zPos)
           
 
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 wx.Object
_, getTanslation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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()

jwx!
v0.0.2


© 2006 Amit G Mendapara.