|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.ButtonGroup | +--swing.addon.ButtonGroup
This class is used to create a multiple-exclusion scope for a set of buttons. Creating a set of buttons with the same ButtonGroup object means that turning "on" one of those buttons turns off all other buttons in the group.
Fields inherited from class javax.swing.ButtonGroup |
buttons |
Constructor Summary | |
ButtonGroup()
|
Method Summary | |
static ButtonGroup |
makeGroup(javax.swing.AbstractButton b1,
javax.swing.AbstractButton b2)
Creates a ButtonGroup which contains the two buttons given as arguments. |
Methods inherited from class javax.swing.ButtonGroup |
add,
getElements,
getSelection,
isSelected,
remove,
setSelected |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ButtonGroup()
Method Detail |
public static ButtonGroup makeGroup(javax.swing.AbstractButton b1, javax.swing.AbstractButton b2)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |