public class FloatRangeValidator extends Validator
factoryCreated, factoryProperties
Constructor and Description |
---|
FloatRangeValidator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getExclusive()
Return the exclusive setting.
|
float |
getMax()
Return the max.
|
float |
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(float max)
Set the max.
|
void |
setMin(float min)
Set the min.
|
addValidatorDefinition, create, getApplyWhen, getClientOnly, getCondition, getDependentFields, getOrCreateRef, getStopIfFalse, getStopOnError, getType, getTypeAsString, getValidateOnChange, setApplyWhen, 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(float min)
min
- the minpublic float getMin()
public void setMax(float max)
max
- the maxpublic float getMax()
public void setExclusive(java.lang.Boolean exclusive)
exclusive
- whether the valid range is exclusive of the min and maxpublic java.lang.Boolean getExclusive()