|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cosylab.gui.components.range2.RangedValuePolicy com.cosylab.gui.components.range2.IntegerValuePolicy
public class IntegerValuePolicy
Constructor Summary | |
---|---|
IntegerValuePolicy()
|
Method Summary | |
---|---|
RangedValue |
validate(RangedValue params)
Passes the value triplet params that may be modified by
validate method. |
Methods inherited from class com.cosylab.gui.components.range2.RangedValuePolicy |
---|
addPeerPolicy, getPeerPolicy, insertPeerPolicy, removePeerPolicy, removePeerPolicyByType, validatePeerPolicy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntegerValuePolicy()
Method Detail |
---|
public RangedValue validate(RangedValue params)
RangedValuePolicy
params
that may be modified by
validate method. Regardles of the changes made, all three values will
still be made to comply with the basic definition of
RangedValue
.
Before or after this policy has been executed it must call protected method validatePeerPolicy(RangedValue).
validate
in class RangedValuePolicy
params
- Triplet of values to validate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |