Class ncsa.horizon.awt.PanelButton.RadioGroup
java.lang.Object
|
+--ncsa.horizon.awt.PanelButton.RadioGroup
- public static class PanelButton.RadioGroup
- extends java.lang.Object
- implements java.awt.event.ActionListener
a manager of a group of Panel buttons that ensures that only one
of them is pressed at a time. This class allows the group to behave
as so-called "radio buttons" and is analogous to the CheckboxGroup
class of the AWT Toolkit
| Methods inherited from class java.lang.Object |
| clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
selected
protected PanelButton selected
PanelButton.RadioGroup
public PanelButton.RadioGroup()
- create a RadioGroup
getSelected
public PanelButton getSelected()
- return the currently selected PanelButton
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ev)
- Description copied from interface:
- Specified by:
- actionPerformed(java.awt.event.ActionEvent) in interface java.awt.event.ActionListener
addActionListener
public void addActionListener(java.awt.event.ActionListener l)
- add an action listener for all the buttons in this group.
The source of the events sent to the listener will be the
originating buttons.
removeActionListener
public void removeActionListener(java.awt.event.ActionListener l)
- remove an action listener