|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject org.jfree.chart.event.ChartChangeEvent
public class ChartChangeEvent
A change event that encapsulates information about a change to a chart.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ChartChangeEvent(java.lang.Object source)
Creates a new chart change event. |
|
ChartChangeEvent(java.lang.Object source,
JFreeChart chart)
Creates a new chart change event. |
|
ChartChangeEvent(java.lang.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. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChartChangeEvent(java.lang.Object source)
source
- the source of the event (could be the chart, a title,
an axis etc.)public ChartChangeEvent(java.lang.Object source, JFreeChart chart)
source
- the source of the event (could be the chart, a title, an
axis etc.)chart
- the chart that generated the event.public ChartChangeEvent(java.lang.Object source, JFreeChart chart, ChartChangeEventType type)
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.Method Detail |
---|
public JFreeChart getChart()
public void setChart(JFreeChart chart)
chart
- the chart that generated the event.public ChartChangeEventType getType()
public void setType(ChartChangeEventType type)
type
- the event type.
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |