JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d.event
Class Chart3dDataEvent

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

public class Chart3dDataEvent
extends EventObject

Class used to encapsulate a JClass Chart 3D data change event.

See Also:
Serialized Form

Field Summary
static int DATA_EVENT_LAST
           
protected  com.klg.jclass.chart3d.JCData3dIndex index
          Index object which gives info about which grid or point index affected
static int RELOAD
          Enum indicating that the data should be reloaded.
static int RELOAD_DATA_SOURCE_NAME
          Enum value indicating the data source name needs to be reloaded
static int RELOAD_HOLE_VALUE
          Enum value indicating the hole value needs to be reloaded
static int RESET
          Enum indicating that the data source has been completely reset.
protected  int type
          Type of data change.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
Chart3dDataEvent(Object dataSrc, int type, com.klg.jclass.chart3d.JCData3dIndex index)
          Constructor used to create a ChartDataEvent object, with the chart data changes and the data source
 
Method Summary
 com.klg.jclass.chart3d.JCData3dIndex getIndex()
          Gets the data index.
 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

type

protected int type
Type of data change. One of the enum values specified in this class


index

protected com.klg.jclass.chart3d.JCData3dIndex index
Index object which gives info about which grid or point index affected


RELOAD_DATA_SOURCE_NAME

public static final int RELOAD_DATA_SOURCE_NAME
Enum value indicating the data source name needs to be reloaded

See Also:
Constant Field Values

RESET

public static final int RESET
Enum indicating that the data source has been completely reset.

See Also:
Constant Field Values

RELOAD

public static final int RELOAD
Enum indicating that the data should be reloaded.

See Also:
Constant Field Values

RELOAD_HOLE_VALUE

public static final int RELOAD_HOLE_VALUE
Enum value indicating the hole value needs to be reloaded

See Also:
Constant Field Values

DATA_EVENT_LAST

public static final int DATA_EVENT_LAST
See Also:
Constant Field Values
Constructor Detail

Chart3dDataEvent

public Chart3dDataEvent(Object dataSrc,
                        int type,
                        com.klg.jclass.chart3d.JCData3dIndex 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 - points to series and point affected by the change
Method Detail

getType

public int getType()
Gets the Type property. It contains the type of change that has happened to the chart data.

Returns:
the Type property, one of the enums above.

getIndex

public com.klg.jclass.chart3d.JCData3dIndex getIndex()
Gets the data index. This is either a JCData3dGridIndex (for grid data) or a JCData3dPointIndex (for point data)

Returns:
The data index that gives information about this event.

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