Packages

class TextFormatter[V] extends SFXDelegate[javafx.scene.control.TextFormatter[V]]

A Formatter describes a format of a TextInputControl text.

Wraps a JavaFX TextFormatter.

Source
TextFormatter.scala
Linear Supertypes
SFXDelegate[javafx.scene.control.TextFormatter[V]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextFormatter
  2. SFXDelegate
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TextFormatter(valueConverter: StringConverter[V])

    Creates a new Formatter with the provided value converter.

    Creates a new Formatter with the provided value converter. The default value will be null.

    valueConverter

    The value converter to use in this formatter. This must not be null.

  2. new TextFormatter(valueConverter: StringConverter[V], defaultValue: V)

    Creates a new Formatter with the provided value converter and default value.

    Creates a new Formatter with the provided value converter and default value.

    valueConverter

    The value converter to use in this formatter. This must not be null.

    defaultValue

    the default value

  3. new TextFormatter(valueConverter: StringConverter[V], defaultValue: V, filter: (Change) ⇒ Change)

    Creates a new Formatter with the provided filter, value converter and default value.

    Creates a new Formatter with the provided filter, value converter and default value.

    valueConverter

    The value converter to use in this formatter or null.

    defaultValue

    the default value.

    filter

    The filter that can modify the change.

  4. new TextFormatter(valueConverter: StringConverter[V], defaultValue: V, filter: UnaryOperator[Change])

    Creates a new Formatter with the provided filter, value converter and default value.

    Creates a new Formatter with the provided filter, value converter and default value.

    valueConverter

    The value converter to use in this formatter or null.

    defaultValue

    the default value.

    filter

    The filter to use in this formatter or null

  5. new TextFormatter(filter: (Change) ⇒ Change)

    Creates a new Formatter with the provided filter.

    Creates a new Formatter with the provided filter.

    filter

    The filter that can modify the change.

  6. new TextFormatter(filter: UnaryOperator[Change])

    Creates a new Formatter with the provided filter.

    Creates a new Formatter with the provided filter.

    filter

    The filter to use in this formatter or null

  7. new TextFormatter(delegate: javafx.scene.control.TextFormatter[V])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val delegate: javafx.scene.control.TextFormatter[V]
    Definition Classes
    TextFormatterSFXDelegate
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(ref: Any): Boolean

    Verifies if a object is equals to this delegate.

    Verifies if a object is equals to this delegate.

    ref

    Object to be compared.

    returns

    if the other object is equals to this delegate or not.

    Definition Classes
    SFXDelegate → AnyRef → Any
  9. def filter: UnaryOperator[Change]

    Filter allows user to intercept and modify any change done to the text content.

  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String

    returns

    Returns the original delegate's toString() adding a [SFX] prefix.

    Definition Classes
    SFXDelegate → AnyRef → Any
  19. def value: ObjectProperty[V]

    The current value for this formatter.

    The current value for this formatter. When the formatter is set on a TextInputControl and has a valueConverter, the value is set by the control, when the text is committed.

  20. def valueConverter: StringConverter[V]

    The converter between the values and text.

  21. def value_=(v: V): Unit
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SFXDelegate[javafx.scene.control.TextFormatter[V]]

Inherited from AnyRef

Inherited from Any

Ungrouped