- java.lang.Object
- 
- javafx.util.StringConverter<Float>
- 
- javafx.util.converter.FloatStringConverter
 
 
- 
 public class FloatStringConverter extends StringConverter<Float> StringConverterimplementation forFloat(and float primitive) values.- Since:
- JavaFX 2.1
 
- 
- 
Constructor SummaryConstructors Constructor Description FloatStringConverter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatfromString(String value)Converts the string provided into an object defined by the specific converter.StringtoString(Float value)Converts the object provided into its string form.
 
- 
- 
- 
Method Detail- 
fromStringpublic Float fromString(String value) Converts the string provided into an object defined by the specific converter. Format of the string and type of the resulting object is defined by the specific converter.- Specified by:
- fromStringin class- StringConverter<Float>
- Parameters:
- value- the- Stringto convert
- Returns:
- an object representation of the string passed in.
 
 - 
toStringpublic String toString(Float value) Converts the object provided into its string form. Format of the returned string is defined by the specific converter.- Specified by:
- toStringin class- StringConverter<Float>
- Parameters:
- value- the object of type- Tto convert
- Returns:
- a string representation of the object passed in.
 
 
- 
 
-