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
Type Hierarchy
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. Protected

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. val delegate: javafx.scene.control.TextFormatter[V]

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

    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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String

    returns

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

    Definition Classes
    SFXDelegate → AnyRef → Any
  18. 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.

  19. def valueConverter: StringConverter[V]

    The converter between the values and text.

  20. def value_=(v: V): Unit
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

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

Inherited from AnyRef

Inherited from Any

Ungrouped