info.monitorenter.gui.chart.events
Class AChartPanelAction
java.lang.Object
javax.swing.AbstractAction
info.monitorenter.gui.chart.events.AChartPanelAction
- All Implemented Interfaces:
- ActionListener, PropertyChangeListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- ChartPanelActionAddAnnotation
public abstract class AChartPanelAction
- extends AbstractAction
- implements PropertyChangeListener
The base class that connects triggered actions with an ChartPanel
instance.
Every subclass may delegate it's constructor-given ChartPanel
instance as protected member m_chartpanel
.
- Version:
- $Revision: 1.3 $
- Author:
- Achim Westermann
- See Also:
- Serialized Form
Constructor Summary |
AChartPanelAction(ChartPanel chartpanel,
String description)
Create an Action that accesses the chart and identifies itself
with the given action String. |
m_chartpanel
protected ChartPanel m_chartpanel
- The target of this action.
AChartPanelAction
public AChartPanelAction(ChartPanel chartpanel,
String description)
- Create an
Action
that accesses the chart and identifies itself
with the given action String.
- Parameters:
chartpanel
- 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 - 2010 LGPL, All Rights Footloose.