tornadofx / tornadofx / CustomTextFilter

CustomTextFilter

class CustomTextFilter : UnaryOperator<Change>

Custom text filter used to supress input values, for example to only allow numbers in a textfield. Used via the filterInput {} builder

Constructors

<init> CustomTextFilter(discriminator: (Change) -> Boolean)

Custom text filter used to supress input values, for example to only allow numbers in a textfield. Used via the filterInput {} builder

Functions

apply fun apply(c: Change): Change

Extension Functions

getProperty fun <T> Any.getProperty(prop: KMutableProperty1<*, T>): ObjectProperty<T>
observable fun <T : Any> Any.observable(propName: String): ObjectProperty<T>