JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Interface LabelledChart3dGridDataModel

All Superinterfaces:
LabelledChart3dDataModel
All Known Implementing Classes:
Base3dGridDataSource

public interface LabelledChart3dGridDataModel
extends LabelledChart3dDataModel

An interface used to specify xlabels and ylabels for a JClass Chart 3D data model. xlabels and ylabels are used for the x and y axis respectively if the annotation type of the axis is JCAxis.ANNOTATION_DATA_LABELS (@see com.klg.jclass.chart3d.JCAxis for details). This interface also specifies the number of X grid and Y grid values.

Note that the LabelledChart3dGridDataModel interface is only used in conjunction with the Chart3dDataModel interface, that is, in order for an object to be recognized as a chart data source, it needs to implement the Chart3dDataModel interface.

See Also:
Chart3dDataModel

Method Summary
 int getNumX()
          Retrieves the number of X grid values.
 int getNumY()
          Retrieves the number of Y grid values.
 String[] getXLabels()
          Retrieves the X labels to be used for the X axis if its annotation type isJCAxis.ANNOTATION_DATA_LABELS.
 String[] getYLabels()
          Retrieves the Y labels to be used for the Y axis if its annotation type is JCAxis.ANNOTATION_DATA_LABELS.
 
Methods inherited from interface com.klg.jclass.chart3d.LabelledChart3dDataModel
getDataSourceName
 

Method Detail

getXLabels

public String[] getXLabels()
Retrieves the X labels to be used for the X axis if its annotation type isJCAxis.ANNOTATION_DATA_LABELS.

Returns:
An array of X labels for a data model implementing this interface

getYLabels

public String[] getYLabels()
Retrieves the Y labels to be used for the Y axis if its annotation type is JCAxis.ANNOTATION_DATA_LABELS.

Returns:
An array of Y labels for a data model implementing this interface

getNumX

public int getNumX()
Retrieves the number of X grid values.

Returns:
The number of X grid values for a data model implementing this interface

getNumY

public int getNumY()
Retrieves the number of Y grid values.

Returns:
The number of Y grid values for a data model implementing this interface

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