JIDE 3.5.15

com.jidesoft.interval
Class SimpleBoundedInterval

java.lang.Object
  extended by com.jidesoft.interval.AbstractMutableInterval
      extended by com.jidesoft.interval.ClosedInterval
          extended by com.jidesoft.interval.SimpleBoundedInterval
All Implemented Interfaces:
BoundedInterval, Interval, MutableBoundedInterval, MutableInterval

public class SimpleBoundedInterval
extends ClosedInterval
implements MutableBoundedInterval

Default data model for bounded interval.


Constructor Summary
SimpleBoundedInterval(double start, double minimum, double maximum)
           
SimpleBoundedInterval(double start, double extent, double minimum, double maximum)
           
 
Method Summary
 double getMaximum()
           
 double getMaximumExtent()
           
 double getMinimum()
           
 double getMinimumExtent()
           
 void setMaximum(double maximum)
           
 void setMaximumExtent(double maximumExtent)
           
 void setMinimum(double minimum)
           
 void setMinimumExtent(double minimumExtent)
           
 void setMinMax(double min, double max)
           
 void setMinMax(double min, double max, double minExtent, double maxExtent)
           
 
Methods inherited from class com.jidesoft.interval.ClosedInterval
contains, getEnd, getExtent, getStart, isDegenerate, overlaps, setEnd, setExtent, setStart, setValue, toString
 
Methods inherited from class com.jidesoft.interval.AbstractMutableInterval
addIntervalListener, addWeakIntervalListener, notifyIntervalChanged, removeIntervalListener, removeIntervalListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jidesoft.interval.MutableInterval
setEnd, setExtent, setStart, setValue
 
Methods inherited from interface com.jidesoft.interval.Interval
addIntervalListener, addWeakIntervalListener, contains, getEnd, getExtent, getStart, isDegenerate, overlaps, removeIntervalListener, removeIntervalListeners
 

Constructor Detail

SimpleBoundedInterval

public SimpleBoundedInterval(double start,
                             double extent,
                             double minimum,
                             double maximum)

SimpleBoundedInterval

public SimpleBoundedInterval(double start,
                             double minimum,
                             double maximum)
Method Detail

setMinimum

public void setMinimum(double minimum)
Specified by:
setMinimum in interface MutableBoundedInterval

setMaximum

public void setMaximum(double maximum)
Specified by:
setMaximum in interface MutableBoundedInterval

getMinimum

public double getMinimum()
Specified by:
getMinimum in interface BoundedInterval

getMaximum

public double getMaximum()
Specified by:
getMaximum in interface BoundedInterval

setMinMax

public void setMinMax(double min,
                      double max)
Specified by:
setMinMax in interface MutableBoundedInterval

setMinimumExtent

public void setMinimumExtent(double minimumExtent)
Specified by:
setMinimumExtent in interface MutableBoundedInterval

setMaximumExtent

public void setMaximumExtent(double maximumExtent)
Specified by:
setMaximumExtent in interface MutableBoundedInterval

setMinMax

public void setMinMax(double min,
                      double max,
                      double minExtent,
                      double maxExtent)
Specified by:
setMinMax in interface MutableBoundedInterval

getMinimumExtent

public double getMinimumExtent()
Specified by:
getMinimumExtent in interface BoundedInterval

getMaximumExtent

public double getMaximumExtent()
Specified by:
getMaximumExtent in interface BoundedInterval

JIDE 3.5.15