jfxToggleNode

inline fun NodeContainer.jfxToggleNode(graphic: Node? = null): JFXToggleNode
inline fun ToggleButtonContainer.jfxToggleNode(graphic: Node? = null): JFXToggleNode

Add a JFXToggleNode to this container.

Return

the control added.


inline fun jfxToggleNode(graphic: Node? = null, configuration: JFXToggleNode.() -> Unit): JFXToggleNode

Create a JFXToggleNode with configuration block.

Return

the control created.

Parameters

configuration

the configuration block.


inline fun NodeContainer.jfxToggleNode(graphic: Node? = null, configuration: JFXToggleNode.() -> Unit): JFXToggleNode
inline fun ToggleButtonContainer.jfxToggleNode(graphic: Node? = null, configuration: JFXToggleNode.() -> Unit): JFXToggleNode

Add a JFXToggleNode with configuration block to this container.

Return

the control added.

Parameters

configuration

the configuration block.