|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.nexttext.input.InputEvent net.nexttext.input.MouseInputEvent
public class MouseInputEvent
An event generated by the mouse.
This is a wrapper around the MouseEvent
class. All IDs returned
by the functions of this class are the same IDs used in the
Java MouseEvent
class.
Constructor Summary | |
---|---|
MouseInputEvent(java.awt.event.MouseEvent event)
Class constructor |
Method Summary | |
---|---|
int |
getButton()
Gets the button attached to the event |
int |
getType()
Gets the type of event |
int |
getX()
Gets the x position of the mouse at the event |
int |
getY()
Gets the y position of the mouse at the event |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MouseInputEvent(java.awt.event.MouseEvent event)
event
- the generated eventMethod Detail |
---|
public int getType()
public int getButton()
public int getX()
public int getY()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |