com.steema.teechart.events
Class ChartAdapter
java.lang.Object
com.steema.teechart.events.ChartAdapter
- All Implemented Interfaces:
- ChartListener, org.w3c.dom.events.EventListener
public abstract class ChartAdapter
- extends java.lang.Object
- implements ChartListener
An abstract adapter class for receiving chart click events.
The methods in this class are empty. This class exists as
convenience for creating listener objects.
Extend this class to create a Chart
listener
and override the methods for the events of interest. (If you implement the
ChartListener
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 addChartListener
method.
- Since:
- 1.0
- See Also:
ChartListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.events.EventListener |
handleEvent |
ChartAdapter
public ChartAdapter()
seriesAdded
public void seriesAdded(ChartEvent e)
- Invoked when a series has been added to the chart
- Specified by:
seriesAdded
in interface ChartListener
toolAdded
public void toolAdded(ChartEvent e)
- Invoked when a tool has been added to the chart
- Specified by:
toolAdded
in interface ChartListener