|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.input.events.InputEvent
org.jagatoo.input.events.MouseEvent
public abstract class MouseEvent
Stores the details associated with a mouse event.
| Nested Class Summary | |
|---|---|
static class |
MouseEvent.SubType
|
| Nested classes/interfaces inherited from class org.jagatoo.input.events.InputEvent |
|---|
InputEvent.Type |
| Constructor Summary | |
|---|---|
protected |
MouseEvent(MouseEvent.SubType subType)
Creates a MouseEvent with default values. |
|
MouseEvent(Mouse mouse,
MouseEvent.SubType subType,
DeviceComponent component,
long when,
long lastWhen)
Sets the fields of this MouseEvent to match the given MouseEvent. |
| Method Summary | |
|---|---|
Mouse |
getMouse()
The MouseDevice, that caused the event. |
MouseEvent.SubType |
getSubType()
|
protected void |
set(MouseEvent e)
Sets the fields of this MouseEvent to match the given MouseEvent. |
protected void |
set(Mouse mouse,
MouseEvent.SubType subType,
DeviceComponent component,
long when,
long lastWhen)
Sets the fields of this MouseEvent to match the given MouseEvent. |
abstract java.lang.String |
toString()
|
| Methods inherited from class org.jagatoo.input.events.InputEvent |
|---|
getComponent, getLastWhen, getType, getWhen, set, set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MouseEvent(Mouse mouse,
MouseEvent.SubType subType,
DeviceComponent component,
long when,
long lastWhen)
protected MouseEvent(MouseEvent.SubType subType)
| Method Detail |
|---|
public final Mouse getMouse()
public final MouseEvent.SubType getSubType()
public abstract java.lang.String toString()
toString in class InputEventInputEvent as a String.
protected void set(Mouse mouse,
MouseEvent.SubType subType,
DeviceComponent component,
long when,
long lastWhen)
protected void set(MouseEvent e)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||