|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--com.klg.jclass.chart.ChartDataEvent
Class used to encapsulate a chart data change event.
Field Summary | |
static int |
ADD_SERIES
Enum value indicating a data series has been added to the end of the set of data series. |
static int |
ALL_POINTS
Enum value used for pointIndex to indicate all points
are affected. |
static int |
ALL_SERIES
Enum value used for seriesIndex to indicate all series
are affected. |
static int |
APPEND_DATA
Enum value indicating that data has been appended to the end of the specified data series. |
static int |
CHANGE_CHART_TYPE
Enum indicating that the chart type has changed. |
static int |
INSERT_SERIES
Enum value indicating a data series has ben inserted at a particular index in the set of data series. |
protected int |
pointIndex
Point index impacted by change (if applicable). |
static int |
RELOAD
Enum indicating that the data should be reloaded. |
static int |
RELOAD_ALL_POINT_LABELS
Enum value indicating all point labels need to be reloaded. |
static int |
RELOAD_ALL_SERIES_LABELS
Enum value indicating that all series labels need to be reloaded. |
static int |
RELOAD_DATA_SOURCE_NAME
Enum value indicating the data source name that needs to be reloaded. |
static int |
RELOAD_HOLE_VALUE
Enum value indicating that the hole value needs to be reloaded. |
static int |
RELOAD_IMAGE_MAP_INFO
Enum value indicating that the image map information needs to be reloaded. |
static int |
RELOAD_POINT
Enum value indicating a single data value has changed. |
static int |
RELOAD_POINT_LABEL
Enum value indicating a particular point label needs to be reloaded. |
static int |
RELOAD_SERIES
Enum value indicating a data series has changed. |
static int |
RELOAD_SERIES_LABEL
Enum value indicating a particular series label needs to be reloaded. |
static int |
REMOVE_SERIES
Enum value indicating a data series has been removed. |
static int |
RESET
Enum indicating that the data source has been completely reset. |
protected int |
seriesIndex
Data series impacted by change (if applicable). |
protected int |
type
Type of data change. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ChartDataEvent(Object dataSrc,
int type,
int seriesIndex,
int pointIndex)
Constructor used to create a ChartDataEvent object, with the =
chart data changes and the data source. |
Method Summary | |
int |
getPointIndex()
Gets the PointIndex property. |
int |
getSeriesIndex()
Gets the SeriesIndex property. |
int |
getType()
Gets the Type property. |
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 |
protected int type
protected int seriesIndex
protected int pointIndex
public static final int RELOAD_POINT
seriesIndex
and pointIndex
are used to
index the point. An event of this type should be used
when a value has been changed in a series value array that
has previously been queried by the chart from the data source.
If the array needs to be regenerated, RELOAD_SERIES
should
be used instead.
public static final int RELOAD_SERIES
seriesIndex
points to the series to reload.
An event of this type will requery the series value array
from the data source.
public static final int ADD_SERIES
public static final int INSERT_SERIES
seriesIndex
holds the index at which to insert the
series.
public static final int REMOVE_SERIES
seriesIndex
holds the index of the series
to be removed.
public static final int RELOAD_ALL_POINT_LABELS
public static final int RELOAD_POINT_LABEL
pointIndex
indicates which label
should be reloaded
public static final int RELOAD_ALL_SERIES_LABELS
public static final int RELOAD_SERIES_LABEL
seriesIndex
indicates which label
should be reloaded.
public static final int RELOAD_DATA_SOURCE_NAME
public static final int APPEND_DATA
public static final int RESET
public static final int RELOAD
public static final int CHANGE_CHART_TYPE
seriesIndex
.
public static final int RELOAD_HOLE_VALUE
public static final int RELOAD_IMAGE_MAP_INFO
public static final int ALL_SERIES
seriesIndex
to indicate all series
are affected.
public static final int ALL_POINTS
pointIndex
to indicate all points
are affected.
Constructor Detail |
public ChartDataEvent(Object dataSrc, int type, int seriesIndex, int pointIndex)
ChartDataEvent
object, with the =
chart data changes and the data source.
dataSrc
- the data sourcetype
- data change type to pass to the viewsseriesIndex
- index of series affected by the changepointIndex
- index of point affected by the changeMethod Detail |
public int getType()
Type
property. It contains the type of change that has
happened to the chart data.
Type
property, which is one of the enums abovepublic int getSeriesIndex()
SeriesIndex
property.
SeriesIndex
propertypublic int getPointIndex()
PointIndex
property.
PointIndex
property
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |