Top Description Constructors Methods
javafx.util.converter

public Class DefaultStringConverter

extends StringConverter<String>
Class Inheritance
Imports
javafx.util.StringConverter

StringConverter implementation for String values.

Since
JavaFX 2.1

Constructor Summary

AccessConstructor and Description
public
DefaultStringConverter()

Creates a default DefaultStringConverter.

Method Summary

Modifier and TypeMethod and Description
public String
fromString(String
the String to convert
value
)

Implements abstract javafx.util.StringConverter.fromString.

Converts the string provided into an object defined by the specific converter.

public String
toString(String
the object of type T to convert
value
)

Implements abstract javafx.util.StringConverter.toString.

Converts the object provided into its string form.

Constructor Detail

DefaultStringConverterback to summary
public DefaultStringConverter()

Creates a default DefaultStringConverter.

Method Detail

fromStringback to summary
public String fromString(String value)

Implements abstract javafx.util.StringConverter.fromString.

Doc from javafx.util.StringConverter.fromString.

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.

Parameters
value:String

the String to convert

Returns:String

an object representation of the string passed in.

Annotations
@Override
toStringback to summary
public String toString(String value)

Implements abstract javafx.util.StringConverter.toString.

Doc from javafx.util.StringConverter.toString.

Converts the object provided into its string form. Format of the returned string is defined by the specific converter.

Parameters
value:String

the object of type T to convert

Returns:String

a string representation of the object passed in

Annotations
@Override