|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.malai.interaction.Event
org.malai.interaction.MousePressEvent
class MousePressEvent
This class defines an event corresponding to the pressure of a button of a mouse.
Field Summary | |
---|---|
protected int |
button
The button used to perform the pressure. |
protected java.lang.Object |
source
The object targeted during the pressure. |
protected int |
x
The x coordinate of the pressure. |
protected int |
y
The y coordinate of the pressure. |
Fields inherited from class org.malai.interaction.Event |
---|
idHID |
Constructor Summary | |
---|---|
MousePressEvent(int idHID,
int x,
int y,
int button,
java.lang.Object source)
Creates the event. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int x
protected int y
protected java.lang.Object source
protected int button
Constructor Detail |
---|
public MousePressEvent(int idHID, int x, int y, int button, java.lang.Object source)
idHID
- The identifier of the HID.x
- The x coordinate of the pressure.y
- The y coordinate of the pressure.button
- The button used to perform the pressure.source
- The object targeted during the pressure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |