org.jfree.chart.event
public class ChartChangeEvent extends EventObject
Constructor Summary | |
---|---|
ChartChangeEvent(Object source)
Creates a new chart change event.
| |
ChartChangeEvent(Object source, JFreeChart chart)
Creates a new chart change event.
| |
ChartChangeEvent(Object source, JFreeChart chart, ChartChangeEventType type)
Creates a new chart change event.
|
Method Summary | |
---|---|
JFreeChart | getChart()
Returns the chart that generated the change event.
|
ChartChangeEventType | getType()
Returns the event type.
|
void | setChart(JFreeChart chart)
Sets the chart that generated the change event.
|
void | setType(ChartChangeEventType type)
Sets the event type.
|
Parameters: source the source of the event (could be the chart, a title, an axis etc.)
Parameters: source the source of the event (could be the chart, a title, an axis etc.) chart the chart that generated the event.
Parameters: source the source of the event (could be the chart, a title, an axis etc.) chart the chart that generated the event. type the type of event.
Returns: The chart that generated the change event.
Returns: The event type.
Parameters: chart the chart that generated the event.
Parameters: type the event type.