StringConverter

scalafx.util.StringConverter
See theStringConverter companion object
abstract class StringConverter[T]

Wraps a JavaFX `StringConverter`.

Type parameters

T

Type to be converted from/to String.

Attributes

Constructor

Creates a new ScalaFX StringConverter from a JavaFX StringConverter.

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

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 parameters

string

String to be converted to a T instance.

Attributes

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 parameters

t

A T instance to be its String version.

Attributes

Returns

String version of argument.