Class AChartPanelAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- info.monitorenter.gui.chart.events.AChartPanelAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.beans.PropertyChangeListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
- Direct Known Subclasses:
ChartPanelActionAddAnnotation
public abstract class AChartPanelAction extends javax.swing.AbstractAction implements java.beans.PropertyChangeListenerThe base class that connects triggered actions with anChartPanelinstance.Every subclass may delegate it's constructor-given
ChartPanelinstance as protected memberm_chartpanel.- Version:
- $Revision: 1.3 $
- Author:
- Achim Westermann
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ChartPanelm_chartpanelThe target of this action.
-
Constructor Summary
Constructors Constructor Description AChartPanelAction(ChartPanel chartpanel, java.lang.String description)Create anActionthat accesses the chart and identifies itself with the given action String.
-
Method Summary
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
m_chartpanel
protected ChartPanel m_chartpanel
The target of this action.
-
-
Constructor Detail
-
AChartPanelAction
public AChartPanelAction(ChartPanel chartpanel, java.lang.String description)
Create anActionthat accesses the chart and identifies itself with the given action String.- Parameters:
chartpanel- the target the action will work ondescription- the descriptiveStringthat will be displayed byAbstractButtonsubclasses that get thisActionassigned (AbstractButton.setAction(javax.swing.Action)).
-
-