public class BlankButtonGroup
extends javax.swing.ButtonGroup
Title: DECLARE
Description: Extends the ButtonGroup in such a way, that it is possible to have none of the buttons in the group selected.
Copyright: Copyright (c) 2006
Company: TU/e
Constructor and Description |
---|
BlankButtonGroup() |
Modifier and Type | Method and Description |
---|---|
void |
setSelected(javax.swing.ButtonModel m,
boolean b)
Sets the selected value for the
ButtonModel . |
public void setSelected(javax.swing.ButtonModel m, boolean b)
ButtonModel
. Only one button
in the group may be selected at a time. If a button is unselected, then
the hidden button 'blank' becomes selected.setSelected
in class javax.swing.ButtonGroup
m
- the ButtonModel
b
- true
if this button is to be selected, otherwise
false