Uses of Class
javax.swing.ButtonGroup
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
-
Uses of ButtonGroup in javax.swing
Modifier and TypeFieldDescriptionprotected ButtonGroup
DefaultButtonModel.group
The button group that the button belongs to.Modifier and TypeMethodDescriptiondefault ButtonGroup
ButtonModel.getGroup()
Returns the group that the button belongs to.DefaultButtonModel.getGroup()
Returns the group that the button belongs to.Modifier and TypeMethodDescriptionvoid
ButtonModel.setGroup
(ButtonGroup group) Identifies the group the button belongs to -- needed for radio buttons, which are mutually exclusive within their group.void
DefaultButtonModel.setGroup
(ButtonGroup group) Identifies the group the button belongs to -- needed for radio buttons, which are mutually exclusive within their group.