JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Class Chart3dPointSeries

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

public class Chart3dPointSeries
extends Object
implements Serializable

Represents a series of points along with a JCChart3dStyle that describes how to draw the points in this series.

See Also:
Serialized Form

Field Summary
protected  com.klg.jclass.chart3d.JCChart3dStyle chartStyle
          The chartStyle for this series.
protected  com.klg.jclass.chart3d.Chart3dPointData data
          The parent point data object.
protected  String label
          The data label for this series - used in the legend.
protected  int numPoints
          The number of points for this series.
protected  Point3d[] points
          The array of points for this series.
 
Constructor Summary
Chart3dPointSeries()
          Basic constructor.
Chart3dPointSeries(com.klg.jclass.chart3d.Chart3dPointData data, Point3d[] points)
          Internal constructor specifying parent data and array holding data.
 
Method Summary
 com.klg.jclass.chart3d.JCChart3dStyle getChartStyle()
          Gets the chart style for this series.
 com.klg.jclass.chart3d.Chart3dPointData getData()
          Gets the parent Chart3dPointData for this series.
 String getLabel()
          Gets the series label.
 int getNumPoints()
          Returns the number of points in the point array (equivalent to points.length).
 Point3d getPoint(int point)
          Returns the point in the points array indexed by point.
 Point3d[] getPoints()
          Returns the array of points.
 void setChartStyle(com.klg.jclass.chart3d.JCChart3dStyle chartStyle)
          Sets the chart style for this series.
 void setData(com.klg.jclass.chart3d.Chart3dPointData data)
          Sets the parent Chart3dPointData for this series.
 void setLabel(String label)
          Sets the series label.
protected  void setPoints(Point3d[] points)
          Sets the point array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

points

protected Point3d[] points
The array of points for this series.


numPoints

protected int numPoints
The number of points for this series.


data

protected com.klg.jclass.chart3d.Chart3dPointData data
The parent point data object.


chartStyle

protected com.klg.jclass.chart3d.JCChart3dStyle chartStyle
The chartStyle for this series.


label

protected String label
The data label for this series - used in the legend.

Constructor Detail

Chart3dPointSeries

public Chart3dPointSeries()
Basic constructor. Parent and data arrays are set to null.


Chart3dPointSeries

public Chart3dPointSeries(com.klg.jclass.chart3d.Chart3dPointData data,
                          Point3d[] points)
Internal constructor specifying parent data and array holding data.

Parameters:
data - The parent point data object
points - A list of points to intialize this series
Method Detail

getData

public com.klg.jclass.chart3d.Chart3dPointData getData()
Gets the parent Chart3dPointData for this series.

Returns:
The parent point data object

setData

public void setData(com.klg.jclass.chart3d.Chart3dPointData data)
Sets the parent Chart3dPointData for this series.

Parameters:
data - The new parent for this series

getPoint

public Point3d getPoint(int point)
Returns the point in the points array indexed by point.

Parameters:
point - The index of the point to be returned
Returns:
The point indexed by point

getPoints

public Point3d[] getPoints()
Returns the array of points.

Returns:
The array of points

setPoints

protected void setPoints(Point3d[] points)
Sets the point array.

Parameters:
points - The new point array

getNumPoints

public int getNumPoints()
Returns the number of points in the point array (equivalent to points.length).

Returns:
The number of points in the point array

setChartStyle

public void setChartStyle(com.klg.jclass.chart3d.JCChart3dStyle chartStyle)
Sets the chart style for this series.

Parameters:
chartStyle - The new chart style for this series

getChartStyle

public com.klg.jclass.chart3d.JCChart3dStyle getChartStyle()
Gets the chart style for this series.

Returns:
The chart style for this series

setLabel

public void setLabel(String label)
Sets the series label.

Parameters:
label - The new series label

getLabel

public String getLabel()
Gets the series label.

Returns:
The current series label

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