JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Class ColorBin

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

public class ColorBin
extends Object
implements Serializable

Data structure internal to JClass Chart 3D. Used to batch rectangles and polygons of the same color together. This is only used in 2D zones; if zoneMethod is ZONE_CELLS, then rectangles are batched; otherwise, both polygons and rectangles are batched.

See Also:
Serialized Form

Field Summary
protected  int binSize
           
protected  com.klg.jclass.chart3d.JCContour contour
           
protected  Object[] fill
           
protected  Graphics gc
           
protected  int level
           
static int MAX_BIN_SIZE
           
 
Method Summary
 void addObjectToBin(Object obj)
          Adds an object to the color bin.
protected  void flushBin()
          Flushes the color bin.
 int getBinSize()
          Get the value of bin size.
 Object[] getFill()
          Get the fill array of objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_BIN_SIZE

public static final int MAX_BIN_SIZE
See Also:
Constant Field Values

binSize

protected int binSize

fill

protected Object[] fill

gc

protected Graphics gc

level

protected int level

contour

protected com.klg.jclass.chart3d.JCContour contour
Method Detail

addObjectToBin

public void addObjectToBin(Object obj)
Adds an object to the color bin.

Parameters:
obj -

getBinSize

public int getBinSize()
Get the value of bin size.

Returns:
int The value of binSize

getFill

public Object[] getFill()
Get the fill array of objects.

Returns:
Objects[] The fill member of class

flushBin

protected void flushBin()
Flushes the color bin.


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