public abstract class ChartMouseAdapter extends java.lang.Object implements ChartMouseListener
Extend this class to create a ChartClick listener
and override the methods for the events of interest. (If you implement the
ChartMouseListener 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 addChartMouseListener
method.
ChartMouseListener| Constructor and Description |
|---|
ChartMouseAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
axesClicked(ChartMouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on an Axis
|
void |
backgroundClicked(ChartMouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on the Background
|
void |
legendClicked(ChartMouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on a Legend
|
void |
titleClicked(ChartMouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on an Title
|
public void axesClicked(ChartMouseEvent e)
axesClicked in interface ChartMouseListenerpublic void backgroundClicked(ChartMouseEvent e)
backgroundClicked in interface ChartMouseListenerpublic void legendClicked(ChartMouseEvent e)
legendClicked in interface ChartMouseListenerpublic void titleClicked(ChartMouseEvent e)
titleClicked in interface ChartMouseListener