|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcage.utility.AbstractButtonGroup
cage.utility.SyncButtonGroup
public class SyncButtonGroup
An implementation of GenericButtonGroup
that represents a
group where all the buttons have the same selection state. This state is
determined by the last button that was added to this group or the last
button for which the selection state changed, whichever of these two has
happened last.
Field Summary |
---|
Fields inherited from class cage.utility.AbstractButtonGroup |
---|
buttons |
Constructor Summary | |
---|---|
SyncButtonGroup()
|
Method Summary | |
---|---|
void |
add(javax.swing.AbstractButton button)
Add button to this group and this as listener to that button. |
void |
itemStateChanged(java.awt.event.ItemEvent e)
|
Methods inherited from class cage.utility.AbstractButtonGroup |
---|
getElements, getSelection, remove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyncButtonGroup()
Method Detail |
---|
public void add(javax.swing.AbstractButton button)
AbstractButtonGroup
add
in interface GenericButtonGroup
add
in class AbstractButtonGroup
button
- The AbstractButton
to add to this group.public void itemStateChanged(java.awt.event.ItemEvent e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |