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, 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 setPrecision(int precision)
precision
- the precisionpublic int getPrecision()
public void setRoundToPrecision(int roundToPrecision)
roundToPrecision
- the roundToPrecisionpublic int getRoundToPrecision()