Companion Object for scalafx.util.StringConverter.
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StringConverter.type
Members list
Value members
Concrete methods
Generates a StringConverter from a Pair of Conversions Functions
Generates a StringConverter from a Pair of Conversions Functions
Type parameters
- T
-
Type to convert
Value parameters
- fromStringFunction
-
Function that converts a String to a new T instance
- toStringFunction
-
Function that converts a T instance to a new String
Attributes
Convenience method that will create a StringConverter implementation that just makes conversion from String to object. scalafx.util.StringConverter#toString method will throw a java.lang.UnsupportedOperationException
.
Convenience method that will create a StringConverter implementation that just makes conversion from String to object. scalafx.util.StringConverter#toString method will throw a java.lang.UnsupportedOperationException
.
Type parameters
- T
-
Type to convert
Value parameters
- fromStringFunction
-
Function that converts a String to a new T instance
Attributes
Convenience method that will create a StringConverter implementation that just makes conversion from object to String. scalafx.util.StringConverter#fromString method will throw a java.lang.UnsupportedOperationException
.
Convenience method that will create a StringConverter implementation that just makes conversion from object to String. scalafx.util.StringConverter#fromString method will throw a java.lang.UnsupportedOperationException
.
Type parameters
- T
-
Type to convert
Value parameters
- toStringFunction
-
Function that converts a T instance to a new String
Attributes
Implicits
Implicits
Converts a ScalaFX StringConverter to a JavaFX StringConverter
Converts a ScalaFX StringConverter to a JavaFX StringConverter
Value parameters
- s
-
ScalaFX StringConverter