Package doodlepad
Interface PadMouseListener
public interface PadMouseListener
The interface to be implemented when handling PadMouseListener events.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonMouseClicked(double x, double y, int button) The onMouseClicked method is invoked by PadMouseListenersvoidonMouseDoubleClicked(double x, double y, int button) The onMouseDoubleClicked method is invoked by PadMouseListenersvoidonMouseDragged(double x, double y, int button) The onMouseDragged method is invoked by PadMouseListenersvoidonMouseEntered(double x, double y, int button) The onMouseEntered method is invoked by PadMouseListenersvoidonMouseExited(double x, double y, int button) The onMouseExited method is invoked by PadMouseListenersvoidonMouseMoved(double x, double y, int button) The onMouseMoved method is invoked by PadMouseListenersvoidonMousePressed(double x, double y, int button) The onMousePressed method is invoked by PadMouseListenersvoidonMouseReleased(double x, double y, int button) The onMouseReleased method is invoked by PadMouseListeners
-
Method Details
-
onMousePressed
void onMousePressed(double x, double y, int button) The onMousePressed method is invoked by PadMouseListeners- Parameters:
x- x-position of the mouse when event occurredy- y-position of the mouse when event occurredbutton- Integer indicating button pressed during event.
-
onMouseReleased
void onMouseReleased(double x, double y, int button) The onMouseReleased method is invoked by PadMouseListeners- Parameters:
x- x-position of the mouse when event occurredy- y-position of the mouse when event occurredbutton- Integer indicating button pressed during event.
-
onMouseMoved
void onMouseMoved(double x, double y, int button) The onMouseMoved method is invoked by PadMouseListeners- Parameters:
x- x-position of the mouse when event occurredy- y-position of the mouse when event occurredbutton- Integer indicating button pressed during event.
-
onMouseDragged
void onMouseDragged(double x, double y, int button) The onMouseDragged method is invoked by PadMouseListeners- Parameters:
x- x-position of the mouse when event occurredy- y-position of the mouse when event occurredbutton- Integer indicating button pressed during event.
-
onMouseClicked
void onMouseClicked(double x, double y, int button) The onMouseClicked method is invoked by PadMouseListeners- Parameters:
x- x-position of the mouse when event occurredy- y-position of the mouse when event occurredbutton- Integer indicating button pressed during event.
-
onMouseDoubleClicked
void onMouseDoubleClicked(double x, double y, int button) The onMouseDoubleClicked method is invoked by PadMouseListeners- Parameters:
x- x-position of the mouse when event occurredy- y-position of the mouse when event occurredbutton- Integer indicating button pressed during event.
-
onMouseEntered
void onMouseEntered(double x, double y, int button) The onMouseEntered method is invoked by PadMouseListeners- Parameters:
x- x-position of the mouse when event occurredy- y-position of the mouse when event occurredbutton- Integer indicating button pressed during event.
-
onMouseExited
void onMouseExited(double x, double y, int button) The onMouseExited method is invoked by PadMouseListeners- Parameters:
x- x-position of the mouse when event occurredy- y-position of the mouse when event occurredbutton- Integer indicating button pressed during event.
-