Class/Object

scalafx.scene.control

TextFormatter

Related Docs: object TextFormatter | package control

Permalink

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. All

Instance Constructors

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

    Permalink

    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)

    Permalink

    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)

    Permalink

    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])

    Permalink

    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)

    Permalink

    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])

    Permalink

    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])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

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

    Permalink
    Definition Classes
    AnyRef
  8. def equals(ref: Any): Boolean

    Permalink

    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]

    Permalink

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

  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink

    returns

    The delegate hashcode

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

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

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink

    returns

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

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

    Permalink

    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]

    Permalink

    The converter between the values and text.

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

    Permalink
  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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

Inherited from AnyRef

Inherited from Any

Ungrouped