Class AZoomableChartAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- info.monitorenter.gui.chart.events.AZoomableChartAction
-
- 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:
ZoomableChartZoomOutAction
public abstract class AZoomableChartAction extends javax.swing.AbstractAction implements java.beans.PropertyChangeListener
The base class that connects triggered actions with anZoomableChart
instance.Every subclass may delegate it's constructor-given
Chart2D
instance as protected memberm_chart
.- Version:
- $Revision: 1.4 $
- Author:
- Vasilis Pappas
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ZoomableChart
m_chart
The target of this action.
-
Constructor Summary
Constructors Constructor Description AZoomableChartAction(ZoomableChart chart, java.lang.String description)
Create anAction
that 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 ZoomableChart m_chart
The target of this action.
-
-
Constructor Detail
-
AZoomableChartAction
public AZoomableChartAction(ZoomableChart chart, java.lang.String description)
Create anAction
that accesses the chart and identifies itself with the given action String.- Parameters:
chart
- the target the action will work ondescription
- the descriptiveString
that will be displayed byAbstractButton
subclasses that get thisAction
assigned (AbstractButton.setAction(javax.swing.Action)
).
-
-