public class IntegerRangeValidator extends Validator
factoryCreated, factoryProperties
Constructor and Description |
---|
IntegerRangeValidator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getExclusive()
Return the exclusive setting.
|
int |
getMax()
Return the max.
|
int |
getMin()
Return the min.
|
void |
setExclusive(java.lang.Boolean exclusive)
Set the exclusive flag - when true, causes values that equal the min or max values to
fail validation.
|
void |
setMax(int max)
Set the max.
|
void |
setMin(int min)
Set the min.
|
addValidatorDefinition, create, getApplyWhen, getCheckComponentData, getClientOnly, getCondition, getDependentFields, getOrCreateRef, getStopIfFalse, getStopOnError, getType, getTypeAsString, getValidateOnChange, setApplyWhen, setCheckComponentData, setClientOnly, setCondition, setDependentFields, setErrorMessage, setStopIfFalse, setStopOnError, setType, setType, setValidateOnChange
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public void setMin(int min)
min
- the minpublic int getMin()
public void setMax(int max)
max
- the maxpublic int getMax()
public void setExclusive(java.lang.Boolean exclusive)
exclusive
- whether the valid range is exclusive of the min and maxpublic java.lang.Boolean getExclusive()