public abstract class SeriesMouseAdapter extends java.lang.Object implements SeriesMouseListener
Series events let you track when a series is clicked.
Extend this class to create a SeriesMouseEvent listener
and override the methods for the events of interest. (If you implement the
SeriesMouseListener interface, you have to define all of
the methods in it. This abstract class defines null methods for them
all, so you can only have to define methods for events you care about.)
Create a listener object using the extended class and then register it with
a component using the component's addSeriesMouseListener
method. When a series is clicked (pressed and released), the relevant
method in the listener object is invoked and the SeriesMouseEvent is
passed to it.
SeriesMouseEvent,
SeriesMouseListenerer| Constructor and Description |
|---|
SeriesMouseAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
seriesClicked(SeriesMouseEvent e)
Invoked when a Series is clicked.
|
void |
seriesEntered(SeriesMouseEvent e)
Invoked when the mouse pointer enters the Series.
|
void |
seriesExited(SeriesMouseEvent e)
Invoked when the mouse pointer leaves the Series.
|
public void seriesClicked(SeriesMouseEvent e)
seriesClicked in interface SeriesMouseListenerpublic void seriesEntered(SeriesMouseEvent e)
seriesEntered in interface SeriesMouseListenerpublic void seriesExited(SeriesMouseEvent e)
seriesExited in interface SeriesMouseListener