|
||||||||||
| 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
org.jagatoo.input.events.MouseStoppedEvent
public class MouseStoppedEvent
Stores the details associated with a mouse event.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jagatoo.input.events.MouseEvent |
|---|
MouseEvent.SubType |
| Nested classes/interfaces inherited from class org.jagatoo.input.events.InputEvent |
|---|
InputEvent.Type |
| Field Summary | |
|---|---|
protected int |
x
The X coordinate of the mouse when in non-exclusive mode. |
protected int |
y
The Y coordinate of the mouse when in non-exclusive mode. |
| Constructor Summary | |
|---|---|
protected |
MouseStoppedEvent()
Creates a MouseEvent with default values. |
protected |
MouseStoppedEvent(Mouse mouse,
int x,
int y,
long when,
long lastWhen)
Sets the fields of this MouseEvent to match the given MouseEvent. |
| Method Summary | |
|---|---|
int |
getX()
|
int |
getY()
|
protected void |
set(Mouse mouse,
int x,
int y,
long when,
long lastWhen)
Sets the fields of this MouseEvent to match the given MouseEvent. |
java.lang.String |
toString()
|
| Methods inherited from class org.jagatoo.input.events.MouseEvent |
|---|
getMouse, getSubType, set, set |
| 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 |
| Field Detail |
|---|
protected int x
protected int y
| Constructor Detail |
|---|
protected MouseStoppedEvent(Mouse mouse,
int x,
int y,
long when,
long lastWhen)
protected MouseStoppedEvent()
| Method Detail |
|---|
public final int getX()
public final int getY()
public java.lang.String toString()
toString in class MouseEventInputEvent as a String.
protected void set(Mouse mouse,
int x,
int y,
long when,
long lastWhen)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||