|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject JSci.awt.GraphDataEvent
public final class GraphDataEvent
Defines an event that encapsulates changes to a graph.
Field Summary | |
---|---|
static int |
ALL_SERIES
Specifies all series. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
GraphDataEvent(java.lang.Object src)
All series data in the graph has changed. |
|
GraphDataEvent(java.lang.Object src,
int seriesChanged)
This series has changed. |
|
GraphDataEvent(java.lang.Object src,
int seriesChanged,
boolean isIncrementalChange)
This series has changed incrementally. |
Method Summary | |
---|---|
int |
getSeries()
Returns the series that has changed. |
boolean |
isIncremental()
Returns whether the change was incremental. |
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 |
Field Detail |
---|
public static final int ALL_SERIES
Constructor Detail |
---|
public GraphDataEvent(java.lang.Object src)
public GraphDataEvent(java.lang.Object src, int seriesChanged)
seriesChanged
- The index of the series that may have changed.public GraphDataEvent(java.lang.Object src, int seriesChanged, boolean isIncrementalChange)
seriesChanged
- The index of the series that may have changed.isIncrementalChange
- True indicates an extra data point has been added.Method Detail |
---|
public int getSeries()
public boolean isIncremental()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |