KeybindModel

class KeybindModel : ItemViewModel<Keybind>

The ItemViewModel of a Keybind.

Constructors

Link copied to clipboard
fun KeybindModel()

Functions

Link copied to clipboard
inline fun <T> addValidator(    node: Node,     property: ObservableValue<T>,     trigger: ValidationTrigger,     noinline validator: ValidationContext.(T?) -> ValidationMessage?)
Link copied to clipboard
fun assignValue(    facade: Property<*>,     prop: Property<*>?,     defaultValue: Any?)
Link copied to clipboard
fun asyncItem(func: () -> Keybind?): Task<Keybind?>
Link copied to clipboard
fun <T> background(func: FXTask<*>.() -> T): Task<T>
Link copied to clipboard
fun <T> backingValue(property: Property<T>): Any?
Link copied to clipboard
inline fun <N : Any, PropertyType : Property<N>, ReturnType : PropertyType> bind(    property: KMutableProperty1<Keybind, PropertyType>,     autocommit: Boolean,     forceObjectProperty: Boolean): ReturnType
inline fun <N : Any, PropertyType : Property<N>, ReturnType : PropertyType> bind(    property: KFunction<PropertyType>,     autocommit: Boolean,     forceObjectProperty: Boolean,     defaultValue: N?): ReturnType
inline fun <N : Any, ReturnType : Property<N>> bind(    property: KFunction<N>,     autocommit: Boolean,     forceObjectProperty: Boolean,     defaultValue: N?): ReturnType
inline fun <N : Any, ReturnType : Property<N>> bind(    property: KMutableProperty1<Keybind, N?>,     autocommit: Boolean,     forceObjectProperty: Boolean,     defaultValue: N?): ReturnType
inline fun <N : Any, ReturnType : Property<N>> bind(    property: KMutableProperty1<Keybind, N>,     autocommit: Boolean,     forceObjectProperty: Boolean,     defaultValue: N?): ReturnType
inline fun <N : Any, PropertyType : Property<N>, ReturnType : PropertyType> bind(    property: KProperty1<Keybind, PropertyType>,     autocommit: Boolean,     forceObjectProperty: Boolean,     defaultValue: N?): ReturnType
inline fun <N : Any, ReturnType : Property<N>> bind(    property: KProperty1<Keybind, N?>,     autocommit: Boolean,     forceObjectProperty: Boolean,     defaultValue: N?): ReturnType
inline fun <PropertyType : Property<T>, T : Any, ResultType : PropertyType> bind(    autocommit: Boolean,     forceObjectProperty: Boolean,     defaultValue: T?,     noinline propertyProducer: () -> PropertyType?): ResultType
Link copied to clipboard
fun clearDecorators(): Boolean
Link copied to clipboard
fun commit(vararg fields: ObservableValue<*>, successFn: () -> Unit): Boolean
fun commit(    force: Boolean,     focusFirstError: Boolean,     vararg fields: ObservableValue<*>,     successFn: () -> Unit): Boolean
Link copied to clipboard
inline fun <T : Any> di(name: String?): ReadOnlyProperty<Component, T>
Link copied to clipboard
fun dirtyStateProperty(): BooleanBinding
Link copied to clipboard
inline fun <T : Component> find(vararg params: Pair<*, Any?>, noinline op: T.() -> Unit): T
inline fun <T : Component> find(params: Map<*, Any?>?, noinline op: T.() -> Unit): T
fun <T : Component> find(    componentType: Class<T>,     params: Map<*, Any?>?,     scope: Scope): T
fun <T : Component> find(    type: KClass<T>,     vararg params: Pair<*, Any?>,     op: T.() -> Unit): T
fun <T : Component> find(    type: KClass<T>,     params: Map<*, Any?>?,     op: T.() -> Unit): T
Link copied to clipboard
fun <T : FXEvent> fire(event: T)
Link copied to clipboard
inline fun <T : Fragment> fragment(overrideScope: Scope, vararg params: Pair<String, Any?>): ReadOnlyProperty<Component, T>
inline fun <T : Fragment> fragment(overrideScope: Scope, params: Map<String, Any?>): ReadOnlyProperty<Component, T>
Link copied to clipboard
inline fun <InjectableType : Component, ScopedInstance, T> get(prop: KProperty1<InjectableType, T>): T
Link copied to clipboard
inline fun <T : Component, ScopedInstance> inject(overrideScope: Scope, vararg params: Pair<String, Any?>): ReadOnlyProperty<Component, T>
inline fun <T : Component, ScopedInstance> inject(overrideScope: Scope, params: Map<String, Any?>?): ReadOnlyProperty<Component, T>
Link copied to clipboard
fun <T> isDirty(property: Property<T>): Boolean
Link copied to clipboard
fun <T> isNotDirty(property: Property<T>): Boolean
Link copied to clipboard
fun <T : Any> k(javaClass: Class<T>): KClass<T>
Link copied to clipboard
open fun loadConfig(): ConfigProperties
Link copied to clipboard
fun markDirty(property: ObservableValue<*>)
Link copied to clipboard
inline fun <T> nullableParam(defaultValue: T?): ReadOnlyProperty<Component, T>
Link copied to clipboard
open fun onCommit()
open fun onCommit(commits: List<Commit>)
Link copied to clipboard
inline fun <T> param(defaultValue: T?): ReadOnlyProperty<Component, T>
Link copied to clipboard
fun preferences(nodename: String?, op: Preferences.() -> Unit)
Link copied to clipboard
inline fun <T : Any> property(    autocommit: Boolean,     forceObjectProperty: Boolean,     defaultValue: T?,     noinline op: () -> Property<T>): PropertyDelegate<T>
Link copied to clipboard
fun rollback(vararg fields: Property<*>)
Link copied to clipboard
inline fun <T : Component, ScopedInstance, R> KClass<T>.runAsync(noinline op: T.() -> R): Task<R>
inline fun <InjectableType : Component, ScopedInstance, ReturnType> (InjectableType) -> ReturnType.runAsync(noinline doOnUi: (ReturnType) -> Unit): Task<ReturnType>
fun <T> runAsync(status: TaskStatus?, func: FXTask<*>.() -> T): Task<T>
inline fun <InjectableType : Component, ScopedInstance, P1, ReturnType> (InjectableType, P1) -> ReturnType.runAsync(p1: P1, noinline doOnUi: (ReturnType) -> Unit): Task<ReturnType>
fun <T> runAsync(    daemon: Boolean,     status: TaskStatus?,     func: FXTask<*>.() -> T): Task<T>
inline fun <InjectableType : Component, ScopedInstance, P1, P2, ReturnType> (InjectableType, P1, P2) -> ReturnType.runAsync(    p1: P1,     p2: P2,     noinline doOnUi: (ReturnType) -> Unit): Task<ReturnType>
inline fun <InjectableType : Component, ScopedInstance, P1, P2, P3, ReturnType> (InjectableType, P1, P2, P3) -> ReturnType.runAsync(    p1: P1,     p2: P2,     p3: P3,     noinline doOnUi: (ReturnType) -> Unit): Task<ReturnType>
inline fun <InjectableType : Component, ScopedInstance, P1, P2, P3, P4, ReturnType> (InjectableType, P1, P2, P3, P4) -> ReturnType.runAsync(    p1: P1,     p2: P2,     p3: P3,     p4: P4,     noinline doOnUi: (ReturnType) -> Unit): Task<ReturnType>
Link copied to clipboard
fun <N> select(nested: (Keybind) -> ObservableValue<N>): Property<N>
Link copied to clipboard
inline fun <InjectableType : Component, ScopedInstance, T> set(prop: KMutableProperty1<InjectableType, T>, value: T)
Link copied to clipboard
fun setDecorationProvider(decorationProvider: (ValidationMessage) -> Decorator?)
Link copied to clipboard
fun <T : ScopedInstance> setInScope(value: T, scope: Scope): ScopedInstance?
Link copied to clipboard
inline fun <T : FXEvent> subscribe(times: Number?, noinline action: EventContext.(T) -> Unit): EventRegistration
Link copied to clipboard
infix fun <T> Task<T>.ui(func: (T) -> Unit): Task<T>
Link copied to clipboard
inline fun <T : FXEvent> unsubscribe(noinline action: EventContext.(T) -> Unit)
Link copied to clipboard
fun valid(vararg fields: Property<*>): BooleanExpression
Link copied to clipboard
fun validate(    focusFirstError: Boolean,     decorateErrors: Boolean,     failFast: Boolean,     vararg fields: ObservableValue<*>): Boolean

Properties

Link copied to clipboard
val actionProperty: Property<ActionFromKey>

The property of the action.

Link copied to clipboard
val app: App
Link copied to clipboard
val autocommitProperties: ObservableList<ObservableValue<out Any>>
Link copied to clipboard
val clipboard: Clipboard
Link copied to clipboard
open override val config: ConfigProperties
Link copied to clipboard
open override val configCharset: Charset
Link copied to clipboard
open override val configPath: Path
Link copied to clipboard
open val dirty: BooleanBinding
Link copied to clipboard
val dirtyListener: ChangeListener<Any>
Link copied to clipboard
val dirtyListListener: ListChangeListener<Any>
Link copied to clipboard
val dirtyProperties: ObservableList<ObservableValue<*>>
Link copied to clipboard
val empty: BooleanBinding
Link copied to clipboard
val externalChangeListeners: ObservableMap<Property<*>, ChangeListener<Any>>
Link copied to clipboard
val hostServices: HostServices
Link copied to clipboard
val ignoreDirtyStateProperties: ObservableList<ObservableValue<out Any>>
Link copied to clipboard
val isDirty: Boolean
Link copied to clipboard
val isEmpty: Boolean
Link copied to clipboard
val isNotDirty: Boolean
Link copied to clipboard
val isNotEmpty: Boolean
Link copied to clipboard
val isValid: Boolean
Link copied to clipboard
var item: Keybind
Link copied to clipboard
val itemProperty: ObjectProperty<Keybind>
Link copied to clipboard
val keyProperty: Property<KeyCode>

The property of the key.

Link copied to clipboard
val log: Logger
Link copied to clipboard
var messages: ResourceBundle
Link copied to clipboard
val params: Map<String, Any?>
Link copied to clipboard
val paramsProperty: SimpleObjectProperty<Map<String, Any?>>
Link copied to clipboard
val primaryStage: Stage
Link copied to clipboard
val properties: ObservableMap<Any, Any>
Link copied to clipboard
val propertyCache: ObservableMap<Property<*>, Property<*>>
Link copied to clipboard
val propertyMap: ObservableMap<Property<*>, () -> Property<*>?>
Link copied to clipboard
val resources: ResourceLookup
Link copied to clipboard
open val scope: Scope
Link copied to clipboard
val subscribedEvents: ConcurrentHashMap<KClass<out FXEvent>, List<FXEventRegistration>>
Link copied to clipboard
val valid: ReadOnlyBooleanProperty
Link copied to clipboard
val validationContext: ValidationContext
Link copied to clipboard
val workspace: Workspace