input

abstract fun input(key: String, configure: NominationSpec.() -> Unit = {})(source)

Nominate a numeric/string/JSON control by its key ("elementName.propertyName").


open fun input(control: ControlIfc, configure: NominationSpec.() -> Unit = {})(source)

Nominate a numeric/boolean control the element already holds.


open fun input(control: StringControlIfc, configure: NominationSpec.() -> Unit = {})(source)

Nominate a string control the element already holds.


open fun input(control: JsonControlIfc, configure: NominationSpec.() -> Unit = {})(source)

Nominate a JSON control the element already holds.


open fun input(element: ModelElement, propertyName: String, configure: NominationSpec.() -> Unit = {})(source)

Nominate a control by its owning element plus the annotated property's name.


open fun <T : ModelElement> input(element: T, property: KProperty1<T, *>, configure: NominationSpec.() -> Unit = {})(source)

Nominate a control by element plus a property reference, e.g. input(server, Server::numServers).