jwx!
v0.0.2


wx
Class MouseEvent

java.lang.Object
  extended bywx.Object
      extended bywx.Event
          extended bywx.MouseEvent

public class MouseEvent
extends Event


Field Summary
static int MOUSE_BTN_ANY
           
static int MOUSE_BTN_LEFT
           
static int MOUSE_BTN_MIDDLE
           
static int MOUSE_BTN_NONE
           
static int MOUSE_BTN_RIGHT
           
 
Constructor Summary
MouseEvent()
           
MouseEvent(int mouseType)
           
MouseEvent(MouseEvent event)
           
 
Method Summary
 boolean altDown()
           
 boolean button(int but)
           
 boolean buttonDClick()
           
 boolean buttonDClick(int but)
           
 boolean buttonDown()
           
 boolean buttonDown(int but)
           
 boolean buttonIsDown(int but)
           
 boolean buttonUp()
           
 boolean buttonUp(int but)
           
 boolean cmdDown()
           
 boolean controlDown()
           
 void delete()
           
 boolean dragging()
           
 boolean entering()
           
 int getButton()
           
 int getLinesPerAction()
           
 Point getLogicalPosition(DC dc)
           
 Point getPosition()
           
 int getWheelDelta()
           
 int getWheelRotation()
           
 int getX()
           
 int getY()
           
 boolean isButton()
           
 boolean isPageScroll()
           
 boolean leaving()
           
 boolean leftDClick()
           
 boolean leftDown()
           
 boolean leftIsDown()
           
 boolean leftUp()
           
 boolean metaDown()
           
 boolean middleDClick()
           
 boolean middleDown()
           
 boolean middleIsDown()
           
 boolean middleUp()
           
 boolean moving()
           
 boolean rightDClick()
           
 boolean rightDown()
           
 boolean rightIsDown()
           
 boolean rightUp()
           
 boolean shiftDown()
           
 
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

MOUSE_BTN_ANY

public static final int MOUSE_BTN_ANY
See Also:
Constant Field Values

MOUSE_BTN_NONE

public static final int MOUSE_BTN_NONE
See Also:
Constant Field Values

MOUSE_BTN_LEFT

public static final int MOUSE_BTN_LEFT
See Also:
Constant Field Values

MOUSE_BTN_MIDDLE

public static final int MOUSE_BTN_MIDDLE
See Also:
Constant Field Values

MOUSE_BTN_RIGHT

public static final int MOUSE_BTN_RIGHT
See Also:
Constant Field Values
Constructor Detail

MouseEvent

public MouseEvent(int mouseType)

MouseEvent

public MouseEvent()

MouseEvent

public MouseEvent(MouseEvent event)
Method Detail

delete

public void delete()
Overrides:
delete in class Event

isButton

public boolean isButton()

buttonDown

public boolean buttonDown(int but)

buttonDown

public boolean buttonDown()

buttonDClick

public boolean buttonDClick(int but)

buttonDClick

public boolean buttonDClick()

buttonUp

public boolean buttonUp(int but)

buttonUp

public boolean buttonUp()

button

public boolean button(int but)

buttonIsDown

public boolean buttonIsDown(int but)

getButton

public int getButton()

controlDown

public boolean controlDown()

metaDown

public boolean metaDown()

altDown

public boolean altDown()

shiftDown

public boolean shiftDown()

cmdDown

public boolean cmdDown()

leftDown

public boolean leftDown()

middleDown

public boolean middleDown()

rightDown

public boolean rightDown()

leftUp

public boolean leftUp()

middleUp

public boolean middleUp()

rightUp

public boolean rightUp()

leftDClick

public boolean leftDClick()

middleDClick

public boolean middleDClick()

rightDClick

public boolean rightDClick()

leftIsDown

public boolean leftIsDown()

middleIsDown

public boolean middleIsDown()

rightIsDown

public boolean rightIsDown()

dragging

public boolean dragging()

moving

public boolean moving()

entering

public boolean entering()

leaving

public boolean leaving()

getPosition

public Point getPosition()

getLogicalPosition

public Point getLogicalPosition(DC dc)

getX

public int getX()

getY

public int getY()

getWheelRotation

public int getWheelRotation()

getWheelDelta

public int getWheelDelta()

getLinesPerAction

public int getLinesPerAction()

isPageScroll

public boolean isPageScroll()

jwx!
v0.0.2


© 2006 Amit G Mendapara.