com.incrediblesoft.redjey.event
Class MouseEvent

java.lang.Object
  extended by com.incrediblesoft.redjey.event.AbstractEvent
      extended by com.incrediblesoft.redjey.event.MouseEvent

public class MouseEvent
extends AbstractEvent


Field Summary
static int MOUSE_CLICKED
           
static int MOUSE_ENTERED
           
static int MOUSE_EXITED
           
static int MOUSE_MOVED
           
static int MOUSE_PRESSED
           
static int MOUSE_RELEASED
           
static int MOUSE_SCROLL_HORIZONTAL
           
static int MOUSE_SCROLL_VERTICAL
           
 
Fields inherited from class com.incrediblesoft.redjey.event.AbstractEvent
ACTION_EVENT, FOCUS_EVENT, MOUSE_EVENT, PAINT_EVENT
 
Constructor Summary
MouseEvent(Component source, int mouse_id)
           
MouseEvent(Component source, int mouse_id, int x, int y, int value)
           
 
Method Summary
 int getValue()
           
 int getX()
           
 int getY()
           
 void setX(int x)
           
 void setY(int y)
           
 
Methods inherited from class com.incrediblesoft.redjey.event.AbstractEvent
consume, getEventType, getID, getSource, isConsumed, setID, setSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MOUSE_ENTERED

public static final int MOUSE_ENTERED
See Also:
Constant Field Values

MOUSE_EXITED

public static final int MOUSE_EXITED
See Also:
Constant Field Values

MOUSE_PRESSED

public static final int MOUSE_PRESSED
See Also:
Constant Field Values

MOUSE_RELEASED

public static final int MOUSE_RELEASED
See Also:
Constant Field Values

MOUSE_CLICKED

public static final int MOUSE_CLICKED
See Also:
Constant Field Values

MOUSE_MOVED

public static final int MOUSE_MOVED
See Also:
Constant Field Values

MOUSE_SCROLL_VERTICAL

public static final int MOUSE_SCROLL_VERTICAL
See Also:
Constant Field Values

MOUSE_SCROLL_HORIZONTAL

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

MouseEvent

public MouseEvent(Component source,
                  int mouse_id,
                  int x,
                  int y,
                  int value)

MouseEvent

public MouseEvent(Component source,
                  int mouse_id)
Method Detail

getX

public int getX()

getY

public int getY()

getValue

public int getValue()

setX

public void setX(int x)

setY

public void setY(int y)