tornadofx / tornadofx / CommandWithParameter

CommandWithParameter

class CommandWithParameter : Command<Any?>

Constructors

<init> CommandWithParameter(command: Command<*>, parameter: Any?)

Properties

command val command: Command<*>
parameter val parameter: Any?

Inherited Properties

action val action: (T?) -> Unit
async val async: Boolean
enabled val enabled: BooleanExpression
isEnabled val isEnabled: Boolean
isRunning val isRunning: Boolean
running val running: ReadOnlyBooleanProperty
ui val ui: Boolean

Inherited Functions

execute fun execute(): Unit

Extension Functions

getProperty fun <T> Any.getProperty(prop: KMutableProperty1<*, T>): ObjectProperty<T>
invoke operator fun Command<*>.invoke(parameter: Any?): CommandWithParameter
observable fun <T : Any> Any.observable(propName: String): ObjectProperty<T>
with infix fun Command<*>.with(parameter: Any?): CommandWithParameter