styledToggleButton

fun styledToggleButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): ToggleButton

Create a styled ToggleButton.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun NodeManager.styledToggleButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): ToggleButton
fun ToggleButtonManager.styledToggleButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): ToggleButton

Add a styled ToggleButton to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


inline fun styledToggleButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: ToggleButton.() -> Unit): ToggleButton

Create a styled ToggleButton 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.styledToggleButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: ToggleButton.() -> Unit): ToggleButton
inline fun ToggleButtonManager.styledToggleButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: ToggleButton.() -> Unit): ToggleButton

Add a styled ToggleButton 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.