public class FigMouseButtonAdaptor extends Object implements FigMouseButtonListener
FigMouseButtonListener
.
Details:
This class minimally implements each method in FigMouseButtonListener
.
This is for convenience, so that more substantial implementations can extend this class and override only the methods of interest.
Constructor and Description |
---|
FigMouseButtonAdaptor() |
Modifier and Type | Method and Description |
---|---|
void |
mouseButtonPressed(FigMouseEvent iEvent)
Mouse button pressed.
|
void |
mouseButtonReleased(FigMouseEvent iEvent)
Mouse button released.
|
public void mouseButtonPressed(FigMouseEvent iEvent)
FigMouseButtonListener
Details:
This method is called when a mouse button is pressed while the cursor is hovering over a view and doodle to which this instance is listening.
If the mouse button is released after the cursor exits the doodle, there may not be a corresponding mouseButtonReleased
event.
mouseButtonPressed
in interface FigMouseButtonListener
iEvent
- describes the mouse eventFigMouseButtonListener.mouseButtonReleased(FigMouseEvent)
public void mouseButtonReleased(FigMouseEvent iEvent)
FigMouseButtonListener
Details:
This method is called when a mouse button is released while the cursor is hovering over a view and doodle to which this instance is listening.
This event is not always preceded by a mouseButtonPressed
event.
mouseButtonReleased
in interface FigMouseButtonListener
iEvent
- describes the mouse eventCopyright © 2013. All Rights Reserved.