gov.nih.nci.cagrid.data.ui
Class NotifyingButtonGroup

java.lang.Object
  extended by javax.swing.ButtonGroup
      extended by gov.nih.nci.cagrid.data.ui.NotifyingButtonGroup
All Implemented Interfaces:
java.io.Serializable

public class NotifyingButtonGroup
extends javax.swing.ButtonGroup

NotifyingButtonGroup Button Group that can inform listeners that a button selection has changed

Version:
$Id: NotifyingButtonGroup.java,v 1.2 2007/12/18 19:11:40 dervin Exp $
Author:
David W. Ervin *
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.ButtonGroup
buttons
 
Constructor Summary
NotifyingButtonGroup()
           
 
Method Summary
 void addGroupSelectionListener(GroupSelectionListener listener)
           
protected  void fireGroupSelectionChanged()
           
 GroupSelectionListener[] getGroupSelectionListeners()
           
 boolean removeGroupSelectionListener(GroupSelectionListener listener)
           
 void setSelected(javax.swing.ButtonModel m, boolean b)
           
 
Methods inherited from class javax.swing.ButtonGroup
add, getButtonCount, getElements, getSelection, isSelected, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotifyingButtonGroup

public NotifyingButtonGroup()
Method Detail

addGroupSelectionListener

public void addGroupSelectionListener(GroupSelectionListener listener)

getGroupSelectionListeners

public GroupSelectionListener[] getGroupSelectionListeners()

removeGroupSelectionListener

public boolean removeGroupSelectionListener(GroupSelectionListener listener)

fireGroupSelectionChanged

protected void fireGroupSelectionChanged()

setSelected

public void setSelected(javax.swing.ButtonModel m,
                        boolean b)
Overrides:
setSelected in class javax.swing.ButtonGroup