|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.data.validator.AbstractValidator<java.lang.String>
com.vaadin.data.validator.AbstractStringValidator
com.vaadin.data.validator.DoubleValidator
@Deprecated public class DoubleValidator
String validator for a double precision floating point number. See
AbstractStringValidator
for more
information.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.vaadin.data.Validator |
---|
Validator.EmptyValueException, Validator.InvalidValueException |
Constructor Summary | |
---|---|
DoubleValidator(java.lang.String errorMessage)
Deprecated. in Vaadin 7.0. Use a Double converter on the field instead and/or use a DoubleRangeValidator for validating that
the value is inside a given range. |
Method Summary | |
---|---|
protected boolean |
isValidValue(java.lang.String value)
Deprecated. Internally check the validity of a value. |
void |
validate(java.lang.Object value)
Deprecated. Checks the given value against this validator. |
Methods inherited from class com.vaadin.data.validator.AbstractStringValidator |
---|
getType |
Methods inherited from class com.vaadin.data.validator.AbstractValidator |
---|
getErrorMessage, isValid, isValidType, setErrorMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public DoubleValidator(java.lang.String errorMessage)
DoubleRangeValidator
for validating that
the value is inside a given range.
errorMessage
- the message to display in case the value does not validate.Method Detail |
---|
protected boolean isValidValue(java.lang.String value)
AbstractValidator
AbstractValidator.validate(Object)
and the return value of this method is ignored.
This method should not be called from outside the validator class itself.
isValidValue
in class AbstractValidator<java.lang.String>
public void validate(java.lang.Object value) throws Validator.InvalidValueException
Validator
Validator.InvalidValueException
is thrown.
validate
in interface Validator
validate
in class AbstractValidator<java.lang.String>
value
- the value to check
Validator.InvalidValueException
- if the value is invalid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |