Uses of Class
org.apache.pivot.wtk.ButtonGroup
-
Packages that use ButtonGroup Package Description org.apache.pivot.wtk Contains classes that define the structure and behavior of WTK user interface components.org.apache.pivot.wtk.skin Contains common skins and abstract base classes for theme-specific skins. -
-
Uses of ButtonGroup in org.apache.pivot.wtk
Subclasses of ButtonGroup in org.apache.pivot.wtk Modifier and Type Class Description class
RadioButtonGroup
Extension ofButtonGroup
providing keyboard navigation within the group and modified focus navigation that treats the group as a single focusable entity.
UP
andLEFT
Select the previous button
DOWN
andRIGHT
Select the next button
HOME
Select the first button
END
Select the last button
(Note that onlyfocusable
buttons are considered when searching for a Button to select)
When a button within the group is focused and key is typed, an attempt is made to find the next button (default) or previous button (when the SHIFT modifier is pressed) whose renderer text starts with the typed character.Methods in org.apache.pivot.wtk that return ButtonGroup Modifier and Type Method Description ButtonGroup
Button. getButtonGroup()
Returns the button's button group.Methods in org.apache.pivot.wtk with parameters of type ButtonGroup Modifier and Type Method Description void
ButtonGroupListener.Adapter. buttonAdded(ButtonGroup buttonGroup, Button button)
Deprecated.default void
ButtonGroupListener. buttonAdded(ButtonGroup buttonGroup, Button button)
Called when a button has been added to a button group.void
ButtonGroupListener.Listeners. buttonAdded(ButtonGroup buttonGroup, Button button)
void
ButtonListener.Adapter. buttonGroupChanged(Button button, ButtonGroup previousButtonGroup)
Deprecated.default void
ButtonListener. buttonGroupChanged(Button button, ButtonGroup previousButtonGroup)
Called when a button's button group has changed.void
ButtonListener.Listeners. buttonGroupChanged(Button button, ButtonGroup previousButtonGroup)
void
ButtonGroupListener.Adapter. buttonRemoved(ButtonGroup buttonGroup, Button button)
Deprecated.default void
ButtonGroupListener. buttonRemoved(ButtonGroup buttonGroup, Button button)
Called when a button has been removed from a button group.void
ButtonGroupListener.Listeners. buttonRemoved(ButtonGroup buttonGroup, Button button)
void
ButtonGroupListener.Adapter. selectionChanged(ButtonGroup buttonGroup, Button previousSelection)
Deprecated.void
ButtonGroupListener.Listeners. selectionChanged(ButtonGroup buttonGroup, Button previousSelection)
default void
ButtonGroupListener. selectionChanged(ButtonGroup buttonGroup, Button previousSelection)
Called when a button group's selection has changed.void
Button. setButtonGroup(ButtonGroup buttonGroup)
Sets the button's button group.void
Checkbox. setButtonGroup(ButtonGroup buttonGroup)
This operation is not supported for checkboxes.Constructors in org.apache.pivot.wtk with parameters of type ButtonGroup Constructor Description RadioButton(ButtonGroup buttonGroup)
RadioButton(ButtonGroup buttonGroup, java.lang.Object buttonData)
-
Uses of ButtonGroup in org.apache.pivot.wtk.skin
Methods in org.apache.pivot.wtk.skin with parameters of type ButtonGroup Modifier and Type Method Description void
ButtonSkin. buttonGroupChanged(Button button, ButtonGroup previousButtonGroup)
-