Uses of Class
javax.swing.ButtonGroup
Packages that use 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
Fields in javax.swing declared as ButtonGroupModifier and TypeFieldDescriptionprotected ButtonGroup
DefaultButtonModel.group
The button group that the button belongs to.Methods in javax.swing that return ButtonGroupModifier and TypeMethodDescriptiondefault ButtonGroup
ButtonModel.getGroup()
Returns the group that the button belongs to.DefaultButtonModel.getGroup()
Returns the group that the button belongs to.Methods in javax.swing with parameters of type ButtonGroupModifier 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.