org.pentaho.chart.model
Class DialPlot.Scale

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<DialPlot.DialRange>
              extended by org.pentaho.chart.model.DialPlot.Scale
All Implemented Interfaces:
Serializable, Cloneable, Iterable<DialPlot.DialRange>, Collection<DialPlot.DialRange>, List<DialPlot.DialRange>, RandomAccess
Enclosing class:
DialPlot

public static class DialPlot.Scale
extends ArrayList<DialPlot.DialRange>

See Also:
Serialized Form

Constructor Summary
DialPlot.Scale()
           
 
Method Summary
 void addRange(DialPlot.DialRange dialRange)
          Each range has a minimum value, a maximum value and a color in RGB Hex format.
 Number getMaxValue()
           
 Number getMinValue()
           
 void removeRange(DialPlot.DialRange dialRange)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

DialPlot.Scale

public DialPlot.Scale()
Method Detail

getMinValue

public Number getMinValue()

getMaxValue

public Number getMaxValue()

addRange

public void addRange(DialPlot.DialRange dialRange)
Each range has a minimum value, a maximum value and a color in RGB Hex format.

Parameters:
dialRange -

removeRange

public void removeRange(DialPlot.DialRange dialRange)