styledToggleSwitch

fun styledToggleSwitch(text: String? = null, vararg styleClass: String, id: String? = null): ToggleSwitch

Create a styled ToggleSwitch.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun NodeManager.styledToggleSwitch(text: String? = null, vararg styleClass: String, id: String? = null): ToggleSwitch

Add a styled ToggleSwitch to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun styledToggleSwitch(text: String? = null, vararg styleClass: String, id: String? = null, configuration: ToggleSwitch.() -> Unit): ToggleSwitch

Create a styled ToggleSwitch with configuration block.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.


inline fun NodeManager.styledToggleSwitch(text: String? = null, vararg styleClass: String, id: String? = null, configuration: ToggleSwitch.() -> Unit): ToggleSwitch

Add a styled ToggleSwitch with configuration block to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.

configuration

the configuration block.