JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Class GridLimits

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

public class GridLimits
extends Object
implements Serializable

Data structure internal to JClass Chart 3D. Used to hold the data limits of a Chart3dGridData structure based on the X-axis and Y-axis min and max provided by the user

See Also:
Serialized Form

Field Summary
protected  com.klg.jclass.chart3d.Chart3dGridData data
          Parent data object.
protected  int numX
          Number of x grid points in region defined by [xOffset, xLast].
protected  int numY
          Number of y grid points in region defined by [yOffset, yLast].
protected  int xLast
          Ending offset into x grid array.
protected  int xOffset
          Starting offset into x grid array.
protected  int yLast
          Ending offset into y grid array.
protected  int yOffset
          Starting offset into y grid array.
 
Constructor Summary
GridLimits()
           
GridLimits(com.klg.jclass.chart3d.Chart3dGridData data, boolean assignValues)
           
 
Method Summary
protected  void assignGridValues(com.klg.jclass.chart3d.Chart3dGridData data)
          Assigns grid values based on given internal data.
protected  com.klg.jclass.chart3d.Chart3dGridData getGridData()
          Returns the parent grid data object.
 int getNumX()
          Returns the number of x grid points in region defined by [xOffset, xLast].
 int getNumY()
          Returns the number of y grid points in region defined by [yOffset, yLast].
 int getXLast()
          Returns ending offset into x grid array.
 int getXOffset()
          Returns starting offset into x grid array.
 int getYLast()
          Returns ending offset into y grid array.
 int getYOffset()
          Returns starting offset into y grid array.
protected  void setGridData(com.klg.jclass.chart3d.Chart3dGridData data)
          Sets the parent grid data object.
protected  void setNumX(int numX)
          Sets the number of x grid points in region defined by [xOffset, xLast].
protected  void setNumY(int numY)
          Sets the number of y grid points in region defined by [yOffset, yLast].
protected  void setXLast(int xLast)
          Sets ending offset into x grid array.
protected  void setXOffset(int xOffset)
          Sets starting offset into x grid array.
protected  void setYLast(int yLast)
          Sets ending offset into y grid array.
protected  void setYOffset(int yOffset)
          Sets starting offset into y grid array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xOffset

protected int xOffset
Starting offset into x grid array.


yOffset

protected int yOffset
Starting offset into y grid array.


xLast

protected int xLast
Ending offset into x grid array.


yLast

protected int yLast
Ending offset into y grid array.


numX

protected int numX
Number of x grid points in region defined by [xOffset, xLast].


numY

protected int numY
Number of y grid points in region defined by [yOffset, yLast].


data

protected com.klg.jclass.chart3d.Chart3dGridData data
Parent data object.

Constructor Detail

GridLimits

public GridLimits()

GridLimits

public GridLimits(com.klg.jclass.chart3d.Chart3dGridData data,
                  boolean assignValues)
Parameters:
data -
assignValues -
Method Detail

getXOffset

public int getXOffset()
Returns starting offset into x grid array.

Returns:
The starting offset into x grid array

setXOffset

protected void setXOffset(int xOffset)
Sets starting offset into x grid array.

Parameters:
xOffset - The new starting offset into x grid array

getYOffset

public int getYOffset()
Returns starting offset into y grid array.

Returns:
The starting offset into y grid array

setYOffset

protected void setYOffset(int yOffset)
Sets starting offset into y grid array.

Parameters:
yOffset - The new starting offset into y grid array

getXLast

public int getXLast()
Returns ending offset into x grid array.

Returns:
The ending offset into x grid array

setXLast

protected void setXLast(int xLast)
Sets ending offset into x grid array.

Parameters:
xLast -

getYLast

public int getYLast()
Returns ending offset into y grid array.

Returns:
The ending offset into y grid array

setYLast

protected void setYLast(int yLast)
Sets ending offset into y grid array.

Parameters:
yLast -

getNumX

public int getNumX()
Returns the number of x grid points in region defined by [xOffset, xLast].

Returns:
The total number of x grid points used

setNumX

protected void setNumX(int numX)
Sets the number of x grid points in region defined by [xOffset, xLast].

Parameters:
numX - The new number of x grid points

getNumY

public int getNumY()
Returns the number of y grid points in region defined by [yOffset, yLast].

Returns:
The total number of y grid points used

setNumY

protected void setNumY(int numY)
Sets the number of y grid points in region defined by [yOffset, yLast].

Parameters:
numY - The new number of y grid points

getGridData

protected com.klg.jclass.chart3d.Chart3dGridData getGridData()
Returns the parent grid data object.

Returns:
The current grid data parent

setGridData

protected void setGridData(com.klg.jclass.chart3d.Chart3dGridData data)
Sets the parent grid data object.

Parameters:
data -

assignGridValues

protected void assignGridValues(com.klg.jclass.chart3d.Chart3dGridData data)
Assigns grid values based on given internal data.

Parameters:
data -

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