(To track hot spot mouse moves and drags, use the HotSpotMotionListener.)
To handle these events, either implement this interface, or extend the abstract class HotSpotAdapter overriding only the methods of interest. ChartViewer.addHotSpotListener can then be used to register the handler object to the ChartViewer.
Method | Inherited | Description |
---|---|---|
hotSpotClicked | (Self) | The system will call this method when the mouse clicks on a hot spot. |
hotSpotEntered | (Self) | The system will call this method when the mouse enters a hot spot region. |
hotSpotExited | (Self) | The system will call this method when the mouse leaves a hot spot region. |
hotSpotPressed | (Self) | The system will call this method when the mouse is over a hot spot region and a mouse button is pressed. |
hotSpotReleased | (Self) | The system will call this method when the mouse is over a hot spot region and a mouse button is released. |