Class BooleanStringConverter
A
StringConverter implementation for Boolean (and boolean) values. Formatting is done by Boolean.toString()
for non-null values, and parsing with Boolean.valueOf(String) for non-null non-empty strings.- Since:
- JavaFX 2.1
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BooleanStringConverter
public BooleanStringConverter()Creates a defaultBooleanStringConverter.
-
-
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
-