scalafx.scene.control

TextFormatter

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 Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TextFormatter
  2. SFXDelegate
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. val delegate: javafx.scene.control.TextFormatter[V]

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

    Definition Classes
    TextFormatterSFXDelegate
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. 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
  11. def filter: UnaryOperator[Change]

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

  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  19. def toString(): String

    returns

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

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

  21. def valueConverter: StringConverter[V]

    The converter between the values and text.

  22. def value_=(v: V): Unit

  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( ... )
  25. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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

Inherited from AnyRef

Inherited from Any

Ungrouped