mvc
Class RealRange

java.lang.Object
  extended by mvc.RealRange

public class RealRange
extends java.lang.Object

A RealRange is a model type for double values, specifying lower and upper bounds on values.


Nested Class Summary
static class RealRange.Controller
          DOCME.
static class RealRange.Model
          DOCME.
 
Constructor Summary
RealRange(java.lang.Double lo, java.lang.Double hi)
          new RealRange(lo, hi) returns a new RealRange with values from lo to hi.
RealRange(java.lang.Double lo, java.lang.Double hi, java.lang.Double st)
          new RealRange(lo, hi, st) returns a new RealRange with values from lo to hi.
 
Method Summary
 RealRange.Model createModel(java.lang.String nm)
          mc.createModel() returns a new editable model whose possible values are the choices of mc.
 double getHigh()
          r.getHigh() returns the upper bound on values of type r.
 double getLow()
          r.getLow() returns the lower bound on values of type r.
 double getStart()
          mc.getStart() returns the starting value for values of type mc.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealRange

public RealRange(java.lang.Double lo,
                 java.lang.Double hi)
new RealRange(lo, hi) returns a new RealRange with values from lo to hi. The start value for the range is lo.

Parameters:
lo -
hi -

RealRange

public RealRange(java.lang.Double lo,
                 java.lang.Double hi,
                 java.lang.Double st)
new RealRange(lo, hi, st) returns a new RealRange with values from lo to hi. The start value for the range is st.

Parameters:
lo -
hi -
st -
Method Detail

getStart

public double getStart()
mc.getStart() returns the starting value for values of type mc.

Returns:

getLow

public double getLow()
r.getLow() returns the lower bound on values of type r.

Returns:

getHigh

public double getHigh()
r.getHigh() returns the upper bound on values of type r.

Returns:

createModel

public RealRange.Model createModel(java.lang.String nm)
mc.createModel() returns a new editable model whose possible values are the choices of mc.

Parameters:
nm -
Returns: