gistoolkit.display.shader
Class BinEntry

java.lang.Object
  extended bygistoolkit.display.shader.BinEntry

public class BinEntry
extends java.lang.Object

Class to hold the information for a particular entry in the bin shader.


Constructor Summary
BinEntry()
          Creates new BinEntry
BinEntry(java.lang.String[] inValues, double[] inMinValues, double[] inMaxValues)
          Creates new BinEntry with the given values
 
Method Summary
 void addBin(double inMin, double inMax)
          Add a bin to this bin entry.
 boolean containsValue(java.lang.String inValue)
          Determines if this entry contains this value.
 int getBin(double inValue)
          Based on this value, find the bin where this row resides, will return -1 if no bin exists.
 int getBinCount()
          Get the number of bins.
 double getMax(int inIndex)
          Get the max at the given index.
 double getMin(int inIndex)
          Get the min at the given index.
 java.lang.String[] getValues()
          Return the values for this entry.
 void removeBin(int inIndex)
          Remove the entry from this bin entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinEntry

public BinEntry()
Creates new BinEntry


BinEntry

public BinEntry(java.lang.String[] inValues,
                double[] inMinValues,
                double[] inMaxValues)
Creates new BinEntry with the given values

Method Detail

getValues

public java.lang.String[] getValues()
Return the values for this entry.


addBin

public void addBin(double inMin,
                   double inMax)
Add a bin to this bin entry.


removeBin

public void removeBin(int inIndex)
Remove the entry from this bin entry.


containsValue

public boolean containsValue(java.lang.String inValue)
Determines if this entry contains this value.


getBinCount

public int getBinCount()
Get the number of bins.


getMin

public double getMin(int inIndex)
Get the min at the given index.


getMax

public double getMax(int inIndex)
Get the max at the given index.


getBin

public int getBin(double inValue)
Based on this value, find the bin where this row resides, will return -1 if no bin exists.