JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Class Chart3dDataHandler

java.lang.Object
  |
  +--com.klg.jclass.chart3d.Chart3dDataHandler
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Chart3dGridDataHandler, Chart3dPointDataHandler

public abstract class Chart3dDataHandler
extends Object
implements Serializable

Data interpretation class (this class is used internally by JClass Chart 3D and should not be used by applications). Ambitious users could attempt to create and plug in their own data handlers for specific handling, but this is not common use.

See Also:
Serialized Form

Field Summary
protected  com.klg.jclass.chart3d.Chart3dData data
           
 
Constructor Summary
Chart3dDataHandler(com.klg.jclass.chart3d.Chart3dData data)
          Creates a data handler instance for the given data
 
Method Summary
abstract  boolean editZValue(com.klg.jclass.chart3d.JCData3dIndex index, double value)
          Modifies z value of data point in an EditableChart3dDataModel instance.
 com.klg.jclass.chart3d.Chart3dData getData()
          Gets the internal data object for this data handler.
abstract  boolean handleEvent(com.klg.jclass.chart3d.Chart3dDataModel source, com.klg.jclass.chart3d.event.Chart3dDataEvent event)
          Given an input source and an data event, updates the parent internal data object appropriately.
abstract  boolean reload(com.klg.jclass.chart3d.Chart3dDataModel source)
          Implements Chart3dDataEvent.RELOAD .
 boolean reloadDataSourceName(com.klg.jclass.chart3d.Chart3dDataModel source)
          Implements Chart3dDataEvent.RELOAD_DATA_SOURCE_NAME .
 boolean reloadHoleValue(com.klg.jclass.chart3d.Chart3dDataModel source)
          Implements Chart3dDataEvent.RELOAD_HOLE_VALUE .
abstract  boolean reset(com.klg.jclass.chart3d.Chart3dDataModel source)
          Implements Chart3dDataEvent.RESET .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected com.klg.jclass.chart3d.Chart3dData data
Constructor Detail

Chart3dDataHandler

public Chart3dDataHandler(com.klg.jclass.chart3d.Chart3dData data)
Creates a data handler instance for the given data

Parameters:
data - The internal data object for this data handler
Method Detail

getData

public com.klg.jclass.chart3d.Chart3dData getData()
Gets the internal data object for this data handler.

Returns:
The internal data object that this object handles

reloadDataSourceName

public boolean reloadDataSourceName(com.klg.jclass.chart3d.Chart3dDataModel source)
Implements Chart3dDataEvent.RELOAD_DATA_SOURCE_NAME .

Parameters:
source -
See Also:
Chart3dDataEvent

reloadHoleValue

public boolean reloadHoleValue(com.klg.jclass.chart3d.Chart3dDataModel source)
Implements Chart3dDataEvent.RELOAD_HOLE_VALUE .

Parameters:
source -
See Also:
Chart3dDataEvent

reset

public abstract boolean reset(com.klg.jclass.chart3d.Chart3dDataModel source)
Implements Chart3dDataEvent.RESET .

Parameters:
source -
See Also:
Chart3dDataEvent

reload

public abstract boolean reload(com.klg.jclass.chart3d.Chart3dDataModel source)
Implements Chart3dDataEvent.RELOAD .

Parameters:
source -
See Also:
Chart3dDataEvent

handleEvent

public abstract boolean handleEvent(com.klg.jclass.chart3d.Chart3dDataModel source,
                                    com.klg.jclass.chart3d.event.Chart3dDataEvent event)
Given an input source and an data event, updates the parent internal data object appropriately.

Parameters:
source -
event -

editZValue

public abstract boolean editZValue(com.klg.jclass.chart3d.JCData3dIndex index,
                                   double value)
Modifies z value of data point in an EditableChart3dDataModel instance.

Parameters:
index - Either a JCData3dGridIndex or a JCData3dPointIndex which indcates the index of the point being edited.
value - The new z value
Returns:
Whether the edit succeeded

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