com.steema.teechart.events
Class ChartMouseAdapter

java.lang.Object
  extended by com.steema.teechart.events.ChartMouseAdapter
All Implemented Interfaces:
ChartMouseListener, org.w3c.dom.events.EventListener

public abstract class ChartMouseAdapter
extends java.lang.Object
implements ChartMouseListener

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 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.

Since:
1.0
See Also:
ChartMouseListener

Constructor Summary
ChartMouseAdapter()
           
 
Method Summary
 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
 
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
 

Constructor Detail

ChartMouseAdapter

public ChartMouseAdapter()
Method Detail

axesClicked

public void axesClicked(ChartMouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on an Axis

Specified by:
axesClicked in interface ChartMouseListener

backgroundClicked

public void backgroundClicked(ChartMouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on the Background

Specified by:
backgroundClicked in interface ChartMouseListener

legendClicked

public void legendClicked(ChartMouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on a Legend

Specified by:
legendClicked in interface ChartMouseListener

titleClicked

public void titleClicked(ChartMouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on an Title

Specified by:
titleClicked in interface ChartMouseListener