RadioButtonMenuGroupScope

sealed interface RadioButtonMenuGroupScope

Declarative choices of a RadioButtonMenuGroup. Each option call appends one radio button menu item, in call order; its position is the index reported to RadioButtonMenuGroup's onSelectionChange and matched against selectedIndex.

See also

Functions

Link copied to clipboard
abstract fun option(text: @Nls String, modifier: SwingModifier = SwingModifier, accelerator: KeyStroke? = null)

Declares one choice.