StringConverter

abstract class StringConverter[T]

Wraps a JavaFX `StringConverter`.

Wraps a JavaFX `StringConverter`.

Type Params
T

Type to be converted from/to String.

Constructor

Creates a new ScalaFX StringConverter from a JavaFX StringConverter.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def fromString(string: String): T

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

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

Value Params
string

String to be converted to a T instance.

Returns

A new T instance generated from argument.

def toString(t: T): String

Converts the object provided into its string form.

Converts the object provided into its string form.

Value Params
t

A T instance to be its String version.

Returns

String version of argument.