java.lang.Object
org.apache.wicket.util.convert.converter.AbstractConverter<N>
org.apache.wicket.util.convert.converter.AbstractNumberConverter<N>
org.apache.wicket.util.convert.converter.AbstractDecimalConverter<Float>
org.apache.wicket.util.convert.converter.FloatConverter
- All Implemented Interfaces:
Serializable,IConverter<Float>,IClusterable
Converts from Object to Float.
- Author:
- Eelco Hillenius, Jonathan Locke
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IConverter<Float>The singleton instance for a float converter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToObject(String value, Locale locale) Converts the givenStringvalueMethods inherited from class org.apache.wicket.util.convert.converter.AbstractDecimalConverter
newNumberFormatMethods inherited from class org.apache.wicket.util.convert.converter.AbstractNumberConverter
convertToString, getNumberFormat, parseMethods inherited from class org.apache.wicket.util.convert.converter.AbstractConverter
newConversionException, parse
-
Field Details
-
INSTANCE
The singleton instance for a float converter
-
-
Constructor Details
-
FloatConverter
public FloatConverter()
-
-
Method Details
-
convertToObject
Description copied from interface:IConverterConverts the givenStringvalue- Parameters:
value- The string value to convertlocale- The locale used to convert the value- Returns:
- The converted value
- See Also:
-
getTargetType
- Specified by:
getTargetTypein classAbstractConverter<Float>- Returns:
- The target type of this type converter
- See Also:
-