|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmvc.IntegralRange
public class IntegralRange
An IntegralRange is a model type for integer values, specifying lower and upper bounds on values.
Nested Class Summary | |
---|---|
static class |
IntegralRange.Controller
DOCME. |
static class |
IntegralRange.Model
DOCME. |
Constructor Summary | |
---|---|
IntegralRange(java.lang.Integer lo,
java.lang.Integer hi)
new IntegralRange(lo, hi) returns a new IntegralRange with values from lo to hi. |
|
IntegralRange(java.lang.Integer lo,
java.lang.Integer hi,
java.lang.Integer st)
new IntegralRange(lo, hi, st) returns a new IntegralRange with values from lo to hi. |
Method Summary | |
---|---|
IntegralRange.Model |
createModel(java.lang.String nm)
mc.createModel() returns a new editable model whose possible values are the choices of mc. |
int |
getHigh()
r.getHigh() returns the upper bound on values of type r. |
int |
getLow()
r.getLow() returns the lower bound on values of type r. |
int |
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 |
---|
public IntegralRange(java.lang.Integer lo, java.lang.Integer hi)
lo
- hi
- public IntegralRange(java.lang.Integer lo, java.lang.Integer hi, java.lang.Integer st)
lo
- hi
- st
- Method Detail |
---|
public int getStart()
public int getLow()
public int getHigh()
public IntegralRange.Model createModel(java.lang.String nm)
nm
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |