public interface OverviewListener<M extends OverviewMark>
Modifier and Type | Method and Description |
---|---|
void |
markAdded(M mark)
A mark was added to an Overview.
|
void |
markClicked(M mark)
A mark was clicked by the mouse.
|
void |
markRemoved(M mark)
A mark was removed from an Overview.
|
void |
overviewClicked(float relativeLocation)
The overview was clicked by the mouse at the given location.
|
void |
overviewPopup(float relativeLocation,
java.awt.event.MouseEvent me)
The overview has been asked to show a popup (context) menu at the given relative location.
|
void markAdded(M mark)
mark
- void markRemoved(M mark)
mark
- void markClicked(M mark)
mark
- void overviewClicked(float relativeLocation)
As the click can occur anywhere along the length of the overview, the location is given as a relative location between 0f and 1f. Where 0f is equal to the start of the overview and 1f is equal to the
relativeLocation
- void overviewPopup(float relativeLocation, java.awt.event.MouseEvent me)
As the click can occur anywhere along the length of the overview, the location is given as a relative location between 0f and 1f. Where 0f is equal to the start of the overview and 1f is equal to the
relativeLocation
- me
- the mouse event used to initiate the popup (may be null)