public interface FigMouseButtonListener extends FigMouseListener
Details:
A FigMouseButtonListener
responds to mouse button events that occur while the mouse cursor is hovering over a Doodle
in a InteractiveFigureView
.
All of the callback methods in this interface receive a FigMouseEvent
that describes the event.
To determine which mouse button the event relates to, use FigMouseEvent.getButton()
.
Modifier and Type | Method and Description |
---|---|
void |
mouseButtonPressed(FigMouseEvent iEvent)
Mouse button pressed.
|
void |
mouseButtonReleased(FigMouseEvent iEvent)
Mouse button released.
|
void mouseButtonPressed(FigMouseEvent iEvent)
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.
iEvent
- describes the mouse eventmouseButtonReleased(FigMouseEvent)
void mouseButtonReleased(FigMouseEvent iEvent)
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.
iEvent
- describes the mouse eventCopyright © 2013. All Rights Reserved.