A Formatter describes a format of a TextInputControl
text.
A Formatter describes a format of a TextInputControl
text.
Wraps a JavaFX TextFormatter.
- Companion
- object
Value members
Constructors
Creates a new Formatter with the provided filter.
Creates a new Formatter with the provided filter.
- Value Params
- filter
The filter to use in this formatter or null
Creates a new Formatter with the provided filter.
Creates a new Formatter with the provided filter.
- Value Params
- filter
The filter that can modify the 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.
- Value Params
- defaultValue
the default value.
- filter
The filter to use in this formatter or null
- valueConverter
The value converter to use in this formatter or null.
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.
- Value Params
- defaultValue
the default value.
- filter
The filter that can modify the change.
- valueConverter
The value converter to use in this formatter or null.
Creates a new Formatter with the provided value converter and default value.
Creates a new Formatter with the provided value converter and default value.
- Value Params
- defaultValue
the default value
- valueConverter
The value converter to use in this formatter. This must not be null.
Concrete methods
Filter allows user to intercept and modify any change done to the text content.
Filter allows user to intercept and modify any change done to the text content.
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.
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.
Inherited methods
Verifies if a object is equals to this delegate.
Verifies if a object is equals to this delegate.
- Value Params
- ref
Object to be compared.
- Returns
if the other object is equals to this delegate or not.
- Definition Classes
- SFXDelegate -> Any
- Inherited from
- SFXDelegate
- Returns
Returns the original delegate's
toString()
adding a[SFX]
prefix.- Definition Classes
- SFXDelegate -> Any
- Inherited from
- SFXDelegate