ToggleButtonContainer

interface ToggleButtonContainer : Container<ToggleButton>

Container of ToggleButton, used for SegmentedButton.kt.

Functions

Link copied to clipboard
abstract fun <T : ToggleButton> addChild(child: T): T

Allows child to be added dynamically with Kotlin DSL in the context of this manager.

Link copied to clipboard
inline fun ToggleButtonContainer.radioButton(text: String? = null): RadioButton

Add a RadioButton to this container.

inline fun ToggleButtonContainer.radioButton(text: String? = null, configuration: RadioButton.() -> Unit): RadioButton

Add a RadioButton with configuration block to this container.

Link copied to clipboard
inline fun ToggleButtonContainer.styledRadioButton(text: String? = null, vararg styleClass: String, id: String? = null): RadioButton

Add a styled RadioButton to this container.

inline fun ToggleButtonContainer.styledRadioButton(text: String? = null, vararg styleClass: String, id: String? = null, configuration: RadioButton.() -> Unit): RadioButton

Add a styled RadioButton with configuration block to this container.

Link copied to clipboard
inline fun ToggleButtonContainer.styledToggleButton(text: String? = null, graphic: Node? = null, vararg styleClass: String, id: String? = null): ToggleButton

Add a styled ToggleButton to this container.

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.

Link copied to clipboard
inline fun ToggleButtonContainer.toggleButton(text: String? = null, graphic: Node? = null): ToggleButton

Add a ToggleButton to this container.

inline fun ToggleButtonContainer.toggleButton(text: String? = null, graphic: Node? = null, configuration: ToggleButton.() -> Unit): ToggleButton

Add a ToggleButton with configuration block to this container.