public final class Chart2DActionSetAxis extends AChart2DAction
Action
for setting an axis implementation of the chart.
m_chart
Constructor and Description |
---|
Chart2DActionSetAxis(Chart2D chart,
AAxis<?> axis,
java.lang.String description,
int axisTarget)
Create an
Action that accesses the trace and identifies
itself with the given action String. |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
public Chart2DActionSetAxis(Chart2D chart, AAxis<?> axis, java.lang.String description, int axisTarget) throws java.lang.IllegalArgumentException
Action
that accesses the trace and identifies
itself with the given action String.
chart
- the target the action will work on.axis
- the axis implementation to use.description
- the description of this action to show in the UI.axisTarget
- Identifies where to set the axis on the chart: either
Chart2D.X
or Chart2D.Y
java.lang.IllegalArgumentException
- if the axis argument is invalid.public void actionPerformed(java.awt.event.ActionEvent e)
ActionListener.actionPerformed(java.awt.event.ActionEvent)
public void propertyChange(java.beans.PropertyChangeEvent evt)
PropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)
Copyright © 2001 - 2010 LGPL, All Rights Footloose.