public abstract class ChartMotionAdapter extends java.lang.Object implements ChartMotionListener
Extend this class to create a ChartClick listener
and override the methods for the events of interest. (If you implement the
ChartMotionListener 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 addChartMotionListener
method.
ChartClickListener| Constructor and Description |
|---|
ChartMotionAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
scrolled(ChartEvent e)
Invoked when the chart has been scrolled
|
void |
unzoomed(ChartEvent e)
Invoked when the chart has been unzoomed
|
void |
zoomed(ChartEvent e)
Invoked when the chart has been zoomed
|
public void scrolled(ChartEvent e)
scrolled in interface ChartMotionListenerpublic void zoomed(ChartEvent e)
zoomed in interface ChartMotionListenerpublic void unzoomed(ChartEvent e)
unzoomed in interface ChartMotionListener