Package doodlepad
Interface ShapeMouseListener
public interface ShapeMouseListener
The interface to be implemented when handling ShapeMouseListener events.
- 
Method SummaryModifier and TypeMethodDescriptiongetShape()Get access to the implementing ShapevoidmouseClicked(double x, double y, int button) The mouseClicked method is invoked by PadMouseListenersvoidmouseDoubleClicked(double x, double y, int button) The mouseDoubleClicked method is invoked by PadMouseListenersvoidmouseDragged(double x, double y, int button) The mouseDragged method is invoked by ShapeMouseListenervoidmouseEntered(double x, double y, int button) The mouseEntered method is invoked by PadMouseListenersvoidmouseExited(double x, double y, int button) The mouseExited method is invoked by PadMouseListenersvoidmouseMoved(double x, double y, int button) The mouseMoved method is invoked by ShapeMouseListenervoidmousePressed(double x, double y, int button) The mousePressed method is invoked by ShapeMouseListenervoidmouseReleased(double x, double y, int button) The mouseReleased method is invoked by ShapeMouseListener
- 
Method Details- 
getShapeShape getShape()Get access to the implementing Shape- Returns:
- The Shape that implements the interface.
 
- 
mousePressedvoid mousePressed(double x, double y, int button) The mousePressed method is invoked by ShapeMouseListener- Parameters:
- x- x-coordinate of event
- y- y-coordinate of event
- button- button pressed during event
 
- 
mouseReleasedvoid mouseReleased(double x, double y, int button) The mouseReleased method is invoked by ShapeMouseListener- Parameters:
- x- x-coordinate of event
- y- y-coordinate of event
- button- button pressed during event
 
- 
mouseMovedvoid mouseMoved(double x, double y, int button) The mouseMoved method is invoked by ShapeMouseListener- Parameters:
- x- x-coordinate of event
- y- y-coordinate of event
- button- button pressed during event
 
- 
mouseDraggedvoid mouseDragged(double x, double y, int button) The mouseDragged method is invoked by ShapeMouseListener- Parameters:
- x- x-coordinate of event
- y- y-coordinate of event
- button- button pressed during event
 
- 
mouseClickedvoid mouseClicked(double x, double y, int button) The mouseClicked method is invoked by PadMouseListeners- Parameters:
- x- x-coordinate of event
- y- y-coordinate of event
- button- button pressed during event
 
- 
mouseDoubleClickedvoid mouseDoubleClicked(double x, double y, int button) The mouseDoubleClicked method is invoked by PadMouseListeners- Parameters:
- x- x-coordinate of event
- y- y-coordinate of event
- button- button pressed during event
 
- 
mouseEnteredvoid mouseEntered(double x, double y, int button) The mouseEntered method is invoked by PadMouseListeners- Parameters:
- x- x-coordinate of event
- y- y-coordinate of event
- button- button pressed during event
 
- 
mouseExitedvoid mouseExited(double x, double y, int button) The mouseExited method is invoked by PadMouseListeners- Parameters:
- x- x-coordinate of event
- y- y-coordinate of event
- button- button pressed during event
 
 
-