public class FloatPrecisionValidator extends Validator
factoryCreated, factoryProperties| Constructor and Description |
|---|
FloatPrecisionValidator() |
| Modifier and Type | Method and Description |
|---|---|
int | getPrecision() Return the precision. |
int | getRoundToPrecision() Return the roundToPrecision. |
void | setPrecision(int precision) Set the precision. |
void | setRoundToPrecision(int roundToPrecision) Set the roundToPrecision. |
addValidatorDefinition, create, getApplyWhen, getClientOnly, getCondition, getDependentFields, getOrCreateRef, getStopIfFalse, getStopOnError, getType, getTypeAsString, getValidateOnChange, setApplyWhen, setClientOnly, setCondition, setDependentFields, setErrorMessage, setStopIfFalse, setStopOnError, setType, setType, setValidateOnChangeapplyFactoryProperties, 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, setFactoryCreatedpublic void setPrecision(int precision)
precision - the precisionpublic int getPrecision()
public void setRoundToPrecision(int roundToPrecision)
roundToPrecision - the roundToPrecisionpublic int getRoundToPrecision()