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