Uses of Class
javax.swing.ButtonGroup
Packages that use ButtonGroup
包
描述
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 ButtonGroup修饰符和类Field描述protected ButtonGroup
DefaultButtonModel.group
The button group that the button belongs to.Methods in javax.swing that return ButtonGroup修饰符和类方法描述default 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 ButtonGroup修饰符和类方法描述void
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.