Package org.jfree.chart.event
Class AxisChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.jfree.chart.event.ChartChangeEvent
-
- org.jfree.chart.event.AxisChangeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class AxisChangeEvent extends ChartChangeEvent
A change event that encapsulates information about a change to an axis.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AxisChangeEvent(Axis axis)
Creates a new AxisChangeEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Axis
getAxis()
Returns the axis that generated the event.-
Methods inherited from class org.jfree.chart.event.ChartChangeEvent
getChart, getType, setChart, setType
-
-
-
-
Field Detail
-
axis
private final Axis axis
The axis that generated the change event.
-
-
Constructor Detail
-
AxisChangeEvent
public AxisChangeEvent(Axis axis)
Creates a new AxisChangeEvent.- Parameters:
axis
- the axis that generated the event.
-
-
Method Detail
-
getAxis
public Axis getAxis()
Returns the axis that generated the event.- Returns:
- The axis that generated the event.
-
-