protected class ModelManipulatorGUI.ButtonGroup extends Object
Modifier | Constructor and Description |
---|---|
protected |
ButtonGroup() |
Modifier and Type | Method and Description |
---|---|
void |
add(AbstractButton b)
Add a button
|
AbstractButton |
getSelected()
Returns the selected button in the group.
|
void |
remove(AbstractButton b)
Remove the given button from the group.
|
void |
selectNone()
Sets all buttons in the group to unselected.
|
void |
setSelected(AbstractButton b)
Set the selected button to the given one.
|
protected ButtonGroup()
public void add(AbstractButton b)
b
- public void remove(AbstractButton b)
b
- The button to removepublic AbstractButton getSelected()
public void selectNone()
public void setSelected(AbstractButton b)
b
- The button to select