Top Description Constructors Methods
javafx.util.converter

public Class DoubleStringConverter

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

StringConverter implementation for Double (and double primitive) values.

Since
JavaFX 2.1

Constructor Summary

AccessConstructor and Description
public
DoubleStringConverter()

Creates a default DoubleStringConverter.

Method Summary

Modifier and TypeMethod and Description
public Double
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(Double
the object of type T to convert
value
)

Implements abstract javafx.util.StringConverter.toString.

Converts the object provided into its string form.

Constructor Detail

DoubleStringConverterback to summary
public DoubleStringConverter()

Creates a default DoubleStringConverter.

Method Detail

fromStringback to summary
public Double 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:Double

an object representation of the string passed in.

Annotations
@Override
toStringback to summary
public String toString(Double 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:Double

the object of type T to convert

Returns:String

a string representation of the object passed in

Annotations
@Override