com.steema.teechart.events
Class ChartMotionAdapter

java.lang.Object
  extended by com.steema.teechart.events.ChartMotionAdapter
All Implemented Interfaces:
ChartMotionListener, java.util.EventListener

public abstract class ChartMotionAdapter
extends java.lang.Object
implements ChartMotionListener

An abstract adapter class for receiving chart motion events. The methods in this class are empty. This class exists as convenience for creating listener objects.

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.

Since:
1.0
See Also:
ChartClickListener

Constructor Summary
ChartMotionAdapter()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartMotionAdapter

public ChartMotionAdapter()
Method Detail

scrolled

public void scrolled(ChartEvent e)
Invoked when the chart has been scrolled

Specified by:
scrolled in interface ChartMotionListener

zoomed

public void zoomed(ChartEvent e)
Invoked when the chart has been zoomed

Specified by:
zoomed in interface ChartMotionListener

unzoomed

public void unzoomed(ChartEvent e)
Invoked when the chart has been unzoomed

Specified by:
unzoomed in interface ChartMotionListener