org.jagatoo.input.events
Class MouseButtonPressedEvent
java.lang.Object
org.jagatoo.input.events.InputEvent
org.jagatoo.input.events.MouseEvent
org.jagatoo.input.events.MouseButtonEvent
org.jagatoo.input.events.MouseButtonPressedEvent
public class MouseButtonPressedEvent
- extends MouseButtonEvent
Stores the details associated with a mouse event.
|
Method Summary |
protected void |
set(Mouse mouse,
MouseButton button,
long when,
long lastWhen)
Sets the fields of this MouseEvent to match the given MouseEvent. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MouseButtonPressedEvent
public MouseButtonPressedEvent(Mouse mouse,
MouseButton button,
long when,
long lastWhen)
- Sets the fields of this MouseEvent to match the given MouseEvent.
MouseButtonPressedEvent
protected MouseButtonPressedEvent()
- Creates a MouseEvent with default values.
toString
public java.lang.String toString()
-
- Overrides:
toString in class MouseButtonEvent
- Returns:
- in formation about this
InputEvent as a String.
set
protected void set(Mouse mouse,
MouseButton button,
long when,
long lastWhen)
- Sets the fields of this MouseEvent to match the given MouseEvent.