styledJFXToggleNode

fun styledJFXToggleNode(graphic: Node? = null, vararg styleClass: String, id: String? = null): JFXToggleNode

Create a styled JFXToggleNode.

Return

the styled control created.

Parameters

styleClass

the CSS style class.

id

the CSS id.


fun NodeManager.styledJFXToggleNode(graphic: Node? = null, vararg styleClass: String, id: String? = null): JFXToggleNode
fun ToggleButtonManager.styledJFXToggleNode(graphic: Node? = null, vararg styleClass: String, id: String? = null): JFXToggleNode

Add a styled JFXToggleNode to this manager.

Return

the styled control added.

Parameters

styleClass

the CSS style class.

id

the CSS id.


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

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

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