styledToggleButton
inline 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.
inline fun NodeContainer.styledToggleButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): ToggleButton
inline fun ToggleButtonContainer.styledToggleButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): ToggleButton
Add a styled ToggleButton to this container.
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 NodeContainer.styledToggleButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null, configuration: ToggleButton.() -> Unit): ToggleButton
inline fun ToggleButtonContainer.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 container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.