kotcity4 / kotcity.ui / WorkIndicatorDialog

WorkIndicatorDialog

class WorkIndicatorDialog<in P>

Public domain. Use as you like. No warranties. P = Input parameter type. Given to the closure as parameter. Return type is always Integer. (cc) @imifos

Constructors

<init>

WorkIndicatorDialog(owner: Window, label: String)

Public domain. Use as you like. No warranties. P = Input parameter type. Given to the closure as parameter. Return type is always Integer. (cc) @imifos

Properties

resultNotificationList

var resultNotificationList: ObservableList<Int>

Placing a listener on this list allows to get notified BY the result when the task has finished.

resultValue

var resultValue: Int?

For those that like beans :)

Functions

addTaskEndNotification

fun addTaskEndNotification(c: Consumer<Int?>): Unit

exec

fun exec(parameter: P, func: ToIntFunction<*>): Unit