Package com.avrix.events
Class OnMouseDownEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnMouseDownEvent
Triggered when the mouse button is down.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(Integer x, Integer y) Called Event Handling Method
-
Constructor Details
-
OnMouseDownEvent
public OnMouseDownEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- Returns:
- name of the event being implemented
-
handleEvent
Called Event Handling Method- Parameters:
x
- The x coordinate where the mouse button was pressed down.y
- The y coordinate where the mouse button was pressed down.
-