java.lang.Object | +----com.sun.java.swing.ButtonGroup
This class is used to create a multiple-exclusion scope for a set of buttons. i.e. creating a set of buttons with the same ButtonGroup object means that only one of those buttons will be allowed to be "on" at a time.
Warning: serialized objects of this class will not be compatible with future swing releases. The current serialization support is appropriate for short term storage or RMI between Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.
protected Vector buttons
public ButtonGroup()
public void add(AbstractButton b)
public void remove(AbstractButton b)
public Enumeration getElements()
public ButtonModel getSelection()
public void setSelected(ButtonModel m, boolean b)
public boolean isSelected(ButtonModel m)