JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d.event
Class Chart3dGridDataEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.klg.jclass.chart3d.event.Chart3dDataEvent
              |
              +--com.klg.jclass.chart3d.event.Chart3dGridDataEvent
All Implemented Interfaces:
Serializable

public class Chart3dGridDataEvent
extends Chart3dDataEvent

Class used to encapsulate a chart 3D grid data change event.

See Also:
Serialized Form

Field Summary
static int RELOAD_ALL_XLABELS
          Enum value indicating all xLabels are affected.
static int RELOAD_ALL_YLABELS
          Enum value indicating all yLabels are affected.
static int RELOAD_XGRID
          Enum value indicating all x values are affected.
static int RELOAD_XLABEL
          Enum value indicating a particular xLabel is affected.
static int RELOAD_XVALUE
          Enum value indicating a given x value is affected.
static int RELOAD_YGRID
          Enum value indicating all y values are affected.
static int RELOAD_YLABEL
          Enum value indicating a particular yLabel is affected.
static int RELOAD_YVALUE
          Enum value indicating a given y value is affected.
static int RELOAD_ZALL
          Enum value indicating the entire doubly indexed array of zValues is affected.
static int RELOAD_ZARRAY
          Enum value indicating one array of zValues is affected.
static int RELOAD_ZVALUE
          Enum value indicating one z Value is affected.
 
Fields inherited from class com.klg.jclass.chart3d.event.Chart3dDataEvent
DATA_EVENT_LAST, index, RELOAD, RELOAD_DATA_SOURCE_NAME, RELOAD_HOLE_VALUE, RESET, type
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Chart3dGridDataEvent(Object dataSrc, int type, com.klg.jclass.chart3d.JCData3dGridIndex index)
          Constructor used to create a ChartDataEvent object, with the chart data changes and the data source
 
Method Summary
 int getX()
          Method which returns the x index of the affected data.
 int getY()
          Method which returns the y index of the affected data.
 
Methods inherited from class com.klg.jclass.chart3d.event.Chart3dDataEvent
getIndex, getType
 
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

RELOAD_XVALUE

public static final int RELOAD_XVALUE
Enum value indicating a given x value is affected.

See Also:
Constant Field Values

RELOAD_XGRID

public static final int RELOAD_XGRID
Enum value indicating all x values are affected.

See Also:
Constant Field Values

RELOAD_YVALUE

public static final int RELOAD_YVALUE
Enum value indicating a given y value is affected.

See Also:
Constant Field Values

RELOAD_YGRID

public static final int RELOAD_YGRID
Enum value indicating all y values are affected.

See Also:
Constant Field Values

RELOAD_ZVALUE

public static final int RELOAD_ZVALUE
Enum value indicating one z Value is affected.

See Also:
Constant Field Values

RELOAD_ZARRAY

public static final int RELOAD_ZARRAY
Enum value indicating one array of zValues is affected.

See Also:
Constant Field Values

RELOAD_ZALL

public static final int RELOAD_ZALL
Enum value indicating the entire doubly indexed array of zValues is affected.

See Also:
Constant Field Values

RELOAD_XLABEL

public static final int RELOAD_XLABEL
Enum value indicating a particular xLabel is affected.

See Also:
Constant Field Values

RELOAD_ALL_XLABELS

public static final int RELOAD_ALL_XLABELS
Enum value indicating all xLabels are affected.

See Also:
Constant Field Values

RELOAD_YLABEL

public static final int RELOAD_YLABEL
Enum value indicating a particular yLabel is affected.

See Also:
Constant Field Values

RELOAD_ALL_YLABELS

public static final int RELOAD_ALL_YLABELS
Enum value indicating all yLabels are affected.

See Also:
Constant Field Values
Constructor Detail

Chart3dGridDataEvent

public Chart3dGridDataEvent(Object dataSrc,
                            int type,
                            com.klg.jclass.chart3d.JCData3dGridIndex index)
Constructor used to create a ChartDataEvent object, with the chart data changes and the data source

Parameters:
dataSrc - the data source
type - data change type to pass to the views
index - location of the change
Method Detail

getX

public int getX()
Method which returns the x index of the affected data. Returns -100, if all x values are affected.

Returns:
index the X index affected.

getY

public int getY()
Method which returns the y index of the affected data. Returns -100, if all y values are affected.

Returns:
index the y index affected.

Copyright © 2004 Quest Software Inc..
All rights reserved.