com.plumtree.portalpages.common.helpers
Class IntegerPropertyWithRange

java.lang.Object
  extended by com.plumtree.portalpages.common.helpers.PropertyValidator
      extended by com.plumtree.portalpages.common.helpers.IntegerProperty
          extended by com.plumtree.portalpages.common.helpers.IntegerPropertyWithRange

public class IntegerPropertyWithRange
extends IntegerProperty

Author:
OlegS

Field Summary
protected  int m_max
           
protected  int m_min
           
 
Fields inherited from class com.plumtree.portalpages.common.helpers.PropertyValidator
INVALID, m_asOwner, m_owner, VALID, VALIDSOFAR
 
Constructor Summary
IntegerPropertyWithRange(PropertyValidatorOwner owner, int min, int max)
          Creates a new IntegerPropertyWithRange object.
 
Method Summary
 int validate(PropertyValue val)
           
 
Methods inherited from class com.plumtree.portalpages.common.helpers.PropertyValidator
SetInvalid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_max

protected int m_max

m_min

protected int m_min
Constructor Detail

IntegerPropertyWithRange

public IntegerPropertyWithRange(PropertyValidatorOwner owner,
                                int min,
                                int max)
Creates a new IntegerPropertyWithRange object.

Parameters:
owner -
min -
max -
Method Detail

validate

public int validate(PropertyValue val)
Overrides:
validate in class IntegerProperty
Parameters:
val -
Returns:



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.