Class IntegerStringConverter
A
StringConverter implementation for Integer (and int) values. Formatting is done by Integer.toString() for
non-null values, and parsing with Integer.valueOf(String) for non-null non-empty strings.- Since:
- JavaFX 2.1
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IntegerStringConverter
public IntegerStringConverter()Creates a defaultIntegerStringConverter.
-
-
Method Details
-
fromString
-
toString
Converts an object to a string form. The format of the returned string is defined by the specific converter.nullis converted to an empty string, otherwise the type'stoStringis used.- Parameters:
value- the object of typeTto convert- Returns:
- a string representation of the object passed in
-