edu.buffalo.fs7.qsymbol2
Class IntRange

java.lang.Object
  |
  +--edu.buffalo.fs7.qsymbol2.IntRange

public class IntRange
extends java.lang.Object

simple class providing a range of int numbers. This class is used by the Chart class.

See Also:
DoubleRange, Chart

Field Summary
protected  int lowerBound
           
protected  int upperBound
           
 
Constructor Summary
IntRange()
           
IntRange(int lowerBound, int upperBound)
          creates a range object with the specified range.
IntRange(IntRange range)
          clones a range object
 
Method Summary
 int getLowerBound()
          returns the lower bound
 int getUpperBound()
          returns the upper bound
 int getWidth()
           
 void setLowerBound(int lowerBound)
           
 void setRange(int lowerBound, int upperBound)
           
 void setUpperBound(int upperBound)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lowerBound

protected int lowerBound

upperBound

protected int upperBound
Constructor Detail

IntRange

public IntRange()

IntRange

public IntRange(int lowerBound,
                int upperBound)
creates a range object with the specified range.

IntRange

public IntRange(IntRange range)
clones a range object
Method Detail

getLowerBound

public int getLowerBound()
returns the lower bound

getUpperBound

public int getUpperBound()
returns the upper bound

setLowerBound

public void setLowerBound(int lowerBound)

setUpperBound

public void setUpperBound(int upperBound)

setRange

public void setRange(int lowerBound,
                     int upperBound)

getWidth

public int getWidth()