DESY ACOP Beans Home

com.cosylab.gui.components.range2
Class IntegerValuePolicy

java.lang.Object
  extended by com.cosylab.gui.components.range2.RangedValuePolicy
      extended by com.cosylab.gui.components.range2.IntegerValuePolicy

public class IntegerValuePolicy
extends RangedValuePolicy

Author:
ikriznar

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

IntegerValuePolicy

public IntegerValuePolicy()
Method Detail

validate

public RangedValue validate(RangedValue params)
Description copied from class: RangedValuePolicy
Passes the value triplet 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).

Specified by:
validate in class RangedValuePolicy
Parameters:
params - Triplet of values to validate.
Returns:
if the validation require the change of value or bounds of the RangedValue a new RangedValue with appropriate values should be returned


Copyright © 2010. All Rights Reserved.