JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Class Chart3dGridDataHandler

java.lang.Object
  |
  +--com.klg.jclass.chart3d.Chart3dDataHandler
        |
        +--com.klg.jclass.chart3d.Chart3dGridDataHandler
All Implemented Interfaces:
Serializable

public class Chart3dGridDataHandler
extends Chart3dDataHandler

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
 
Fields inherited from class com.klg.jclass.chart3d.Chart3dDataHandler
data
 
Constructor Summary
Chart3dGridDataHandler(com.klg.jclass.chart3d.Chart3dGridData data)
          Constructor that sets the containing grid data object for this handler
 
Method Summary
 boolean editZValue(com.klg.jclass.chart3d.JCData3dIndex index, double value)
          Modifies z value of data point in an EditableChart3dDataModel instance.
 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.
 boolean reload(com.klg.jclass.chart3d.Chart3dDataModel source)
          Implements Chart3dDataEvent.RELOAD.
 boolean reloadAllXLabels(com.klg.jclass.chart3d.Chart3dGridDataModel source)
          Implements Chart3dGridDataEvent.RELOAD_ALL_XLABELS.
 boolean reloadAllYLabels(com.klg.jclass.chart3d.Chart3dGridDataModel source)
          Implements Chart3dGridDataEvent.RELOAD_ALL_YLABELS.
 boolean reloadXGrid(com.klg.jclass.chart3d.Chart3dGridDataModel source)
          Implements Chart3dGridDataEvent.RELOAD_XGRID.
 boolean reloadXLabel(com.klg.jclass.chart3d.Chart3dGridDataModel source, int xIndex)
          Implements Chart3dGridDataEvent.RELOAD_XLABEL.
 boolean reloadXValue(com.klg.jclass.chart3d.Chart3dGridDataModel source, int xIndex)
          Implements Chart3dGridDataEvent.RELOAD_XVALUE.
 boolean reloadYGrid(com.klg.jclass.chart3d.Chart3dGridDataModel source)
          Implements Chart3dGridDataEvent.RELOAD_YGRID.
 boolean reloadYLabel(com.klg.jclass.chart3d.Chart3dGridDataModel source, int yIndex)
          Implements Chart3dGridDataEvent.RELOAD_YLABEL .
 boolean reloadYValue(com.klg.jclass.chart3d.Chart3dGridDataModel source, int yIndex)
          Implements Chart3dGridDataEvent.RELOAD_YVALUE.
 boolean reloadZAll(com.klg.jclass.chart3d.Chart3dGridDataModel source)
          Implements Chart3dGridDataEvent.RELOAD_ZALL.
 boolean reloadZArray(com.klg.jclass.chart3d.Chart3dGridDataModel source, int xIndex)
          Implements Chart3dDataEvent.RELOAD_ZARRAY .
 boolean reloadZValue(com.klg.jclass.chart3d.Chart3dGridDataModel source, int xIndex, int yIndex)
          Implements Chart3dGridDataEvent.RELOAD_ZVALUE.
 boolean reset(com.klg.jclass.chart3d.Chart3dDataModel source)
          Implements Chart3dDataEvent.RESET.
 
Methods inherited from class com.klg.jclass.chart3d.Chart3dDataHandler
getData, reloadDataSourceName, reloadHoleValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Chart3dGridDataHandler

public Chart3dGridDataHandler(com.klg.jclass.chart3d.Chart3dGridData data)
Constructor that sets the containing grid data object for this handler

Parameters:
data - The containing grid data object
Method Detail

handleEvent

public 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.

Specified by:
handleEvent in class Chart3dDataHandler
Parameters:
source - The data source
event - The event to be handled

reset

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

Specified by:
reset in class Chart3dDataHandler
Parameters:
source - The data source from which the data is to be reset
See Also:
Chart3dDataEvent

reload

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

Specified by:
reload in class Chart3dDataHandler
Parameters:
source - The data source from which the data is to be reloaded
See Also:
Chart3dDataEvent

reloadXValue

public boolean reloadXValue(com.klg.jclass.chart3d.Chart3dGridDataModel source,
                            int xIndex)
Implements Chart3dGridDataEvent.RELOAD_XVALUE.

Parameters:
source - The data source from which the x value is to be reloaded
xIndex - The index of the x value
See Also:
Chart3dGridDataEvent

reloadXGrid

public boolean reloadXGrid(com.klg.jclass.chart3d.Chart3dGridDataModel source)
Implements Chart3dGridDataEvent.RELOAD_XGRID.

Parameters:
source - The data source from which the x grid is to be reloaded
See Also:
Chart3dGridDataEvent

reloadYValue

public boolean reloadYValue(com.klg.jclass.chart3d.Chart3dGridDataModel source,
                            int yIndex)
Implements Chart3dGridDataEvent.RELOAD_YVALUE.

Parameters:
source - The data source from which the y value is to be reloaded
yIndex - The index of the y value
See Also:
Chart3dGridDataEvent

reloadYGrid

public boolean reloadYGrid(com.klg.jclass.chart3d.Chart3dGridDataModel source)
Implements Chart3dGridDataEvent.RELOAD_YGRID.

Parameters:
source - The data source from which the y grid is to be reloaded
See Also:
Chart3dGridDataEvent

reloadZValue

public boolean reloadZValue(com.klg.jclass.chart3d.Chart3dGridDataModel source,
                            int xIndex,
                            int yIndex)
Implements Chart3dGridDataEvent.RELOAD_ZVALUE.

Parameters:
source - The data source from which the z value is to be reloaded
xIndex - The x index of the z value
yIndex - The y index of the z value
See Also:
Chart3dGridDataEvent

reloadZArray

public boolean reloadZArray(com.klg.jclass.chart3d.Chart3dGridDataModel source,
                            int xIndex)
Implements Chart3dDataEvent.RELOAD_ZARRAY .

Parameters:
source - The data source from which the z array is to be reloaded
xIndex - The index of the z array
See Also:
Chart3dGridDataEvent

reloadZAll

public boolean reloadZAll(com.klg.jclass.chart3d.Chart3dGridDataModel source)
Implements Chart3dGridDataEvent.RELOAD_ZALL.

Parameters:
source - The data source from which all the z data is to be reloaded
See Also:
Chart3dGridDataEvent

reloadXLabel

public boolean reloadXLabel(com.klg.jclass.chart3d.Chart3dGridDataModel source,
                            int xIndex)
Implements Chart3dGridDataEvent.RELOAD_XLABEL.

Parameters:
source - The data source from which the x label is to be reloaded
xIndex - The index of the x label
See Also:
Chart3dGridDataEvent

reloadAllXLabels

public boolean reloadAllXLabels(com.klg.jclass.chart3d.Chart3dGridDataModel source)
Implements Chart3dGridDataEvent.RELOAD_ALL_XLABELS.

Parameters:
source - The data source from which the x labels are to be reloaded
See Also:
Chart3dGridDataEvent

reloadYLabel

public boolean reloadYLabel(com.klg.jclass.chart3d.Chart3dGridDataModel source,
                            int yIndex)
Implements Chart3dGridDataEvent.RELOAD_YLABEL .

Parameters:
source - The data source from which the y label is to be reloaded
yIndex - The y index of the label
See Also:
Chart3dGridDataEvent

reloadAllYLabels

public boolean reloadAllYLabels(com.klg.jclass.chart3d.Chart3dGridDataModel source)
Implements Chart3dGridDataEvent.RELOAD_ALL_YLABELS.

Parameters:
source - The data source from which the y labels are to be reloaded
See Also:
Chart3dGridDataEvent

editZValue

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

Specified by:
editZValue in class Chart3dDataHandler
Parameters:
index - A JCData3dGridIndex 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.