info.monitorenter.gui.chart.events
Class AZoomableChartAction
java.lang.Object
javax.swing.AbstractAction
info.monitorenter.gui.chart.events.AZoomableChartAction
- All Implemented Interfaces:
- ActionListener, PropertyChangeListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- ZoomableChartZoomOutAction
public abstract class AZoomableChartAction
- extends AbstractAction
- implements PropertyChangeListener
The base class that connects triggered actions with an
ZoomableChart
instance.
Every subclass may delegate it's constructor-given Chart2D
instance as protected member m_chart
.
- Version:
- $Revision: 1.1 $
- Author:
- Vasilis Pappas
- See Also:
- Serialized Form
m_chart
protected ZoomableChart m_chart
- The target of this action.
AZoomableChartAction
public AZoomableChartAction(ZoomableChart chart,
String description)
- Create an
Action
that accesses the chart and identifies
itself with the given action String.
- Parameters:
chart
- the target the action will work ondescription
- the descriptive String
that will be displayed by
AbstractButton
subclasses that get this
Action
assigned (
AbstractButton.setAction(javax.swing.Action)
).
Copyright © 2001 - 2007 LGPL, All Rights Footloose.