|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.ijchart.xychart.event.ChartChangeEvent
public class ChartChangeEvent
Title: IJChart
Description: a chart library for the Java(tm) platform.
A change event that encapsulates information about a change to a chart.Copyright: Copyright (c) 2013
Company:
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ChartChangeEvent(java.lang.Object source)
Creates a new chart change event,the event type is ChartChangeEventType.GENERAL . |
|
ChartChangeEvent(java.lang.Object source,
IJChart chart)
Creates a new chart change event,the event type is ChartChangeEventType.GENERAL . |
|
ChartChangeEvent(java.lang.Object source,
IJChart chart,
ChartChangeEventType type)
Creates a new chart change event,the event type is ChartChangeEventType.GENERAL . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Override equals method. |
IJChart |
getChart()
Returns the chart that generated the change event. |
ChartChangeEventType |
getType()
Returns the event type. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setChart(IJChart chart)
Sets the chart that generated the change event. |
void |
setType(ChartChangeEventType type)
Sets the event type. |
java.lang.String |
toString()
Override toString method. |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChartChangeEvent(java.lang.Object source)
ChartChangeEventType.GENERAL
.
source
- Object
The source of the event (could be the chart, a title,an axis etc.).public ChartChangeEvent(java.lang.Object source, IJChart chart)
ChartChangeEventType.GENERAL
.
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, IJChart chart, ChartChangeEventType type)
ChartChangeEventType.GENERAL
.
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 IJChart getChart()
public void setChart(IJChart chart)
chart
-
The chart that generated the event.public ChartChangeEventType getType()
public void setType(ChartChangeEventType type)
type
-
The event type.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object
public java.lang.String toString()
toString
in class java.util.EventObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |