Class AChart2DAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- info.monitorenter.gui.chart.events.AChart2DAction
-
- 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:
AAxisAction,Chart2DActionEnableAntialiasing,Chart2DActionEnableHighlighting,Chart2DActionPrintSingleton,Chart2DActionSaveImageSingleton,Chart2DActionSetAxis,Chart2DActionSetCustomGridColor,Chart2DActionSetCustomGridColorSingleton,Chart2DActionSetGridColor,Chart2DActionSetName,Chart2DActionSetPaintLabels,ChartActionSetToolTipType
public abstract class AChart2DAction extends javax.swing.AbstractAction implements java.beans.PropertyChangeListenerThe base class that connects triggered actions with anChart2Dinstance.Every subclass may delegate it's constructor-given
Chart2Dinstance as protected memberm_chart.- Version:
- $Revision: 1.6 $
- Author:
- Achim Westermann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AChart2DAction(Chart2D chart, 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_chart
protected Chart2D m_chart
The target of this action.
-
-
Constructor Detail
-
AChart2DAction
public AChart2DAction(Chart2D chart, java.lang.String description)
Create anActionthat accesses the chart and identifies itself with the given action String.- Parameters:
chart- the target the action will work ondescription- the descriptiveStringthat will be displayed byAbstractButtonsubclasses that get thisActionassigned (AbstractButton.setAction(javax.swing.Action)).
-
-