tornadofx / tornadofx / TaskStatus

TaskStatus

open class TaskStatus : ItemViewModel<FXTask<*>>

Constructors

<init> TaskStatus()

Properties

completed val completed: ReadOnlyBooleanProperty
message val message: ReadOnlyStringProperty
progress val progress: ReadOnlyDoubleProperty
running val running: ReadOnlyBooleanProperty
title val title: ReadOnlyStringProperty

Inherited Properties

empty val empty: BooleanBinding
isEmpty val isEmpty: Boolean
isNotEmpty val isNotEmpty: Boolean
item var item: T
itemProperty val itemProperty: ObjectProperty<T>

Inherited Functions

bind fun <N : Any, PropertyType : Property<N>, ReturnType : PropertyType> bind(property: KFunction<PropertyType>, autocommit: Boolean = false, forceObjectProperty: Boolean = false, defaultValue: N? = null): ReturnType
fun <N : Any, ReturnType : Property<N>> bind(property: KFunction<N>, autocommit: Boolean = false, forceObjectProperty: Boolean = false, defaultValue: N? = null): ReturnType

Extension Functions

getProperty fun <T> Any.getProperty(prop: KMutableProperty1<*, T>): ObjectProperty<T>
observable fun <T : Any> Any.observable(propName: String): ObjectProperty<T>
property fun <T> ViewModel.property(value: T? = null): PropertyDelegate<T>