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 ButtonGroupDefaultButtonModel.groupThe button group that the button belongs to.Methods in javax.swing that return ButtonGroupModifier and TypeMethodDescriptiondefault ButtonGroupButtonModel.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 TypeMethodDescriptionvoidButtonModel.setGroup(ButtonGroup group) Identifies the group the button belongs to -- needed for radio buttons, which are mutually exclusive within their group.voidDefaultButtonModel.setGroup(ButtonGroup group) Identifies the group the button belongs to -- needed for radio buttons, which are mutually exclusive within their group.