planetj.gui
Class CMButtonGroupJ

java.lang.Object
  |
  +--javax.swing.ButtonGroup
        |
        +--planetj.gui.CMButtonGroupJ
All Implemented Interfaces:
Serializable

public class CMButtonGroupJ
extends ButtonGroup

Funtionality includes getting the selected business object from this button group and setting a specific business object to be selected. Provides additional functionality to set a specific button to be selected.

See Also:
Serialized Form

Constructor Summary
CMButtonGroupJ()
          CMButtonGroupJ constructor comment.
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          The addPropertyChangeListener method was generated to support the propertyChange field.
 void firePropertyChange(String propertyName, Object oldValue, Object newValue)
          The firePropertyChange method was generated to support the propertyChange field.
 Object getSelectedBusinessObject()
          getSelectedBusinessObject returns the selected business object for the selected group item
 void removePropertyChangeListener(PropertyChangeListener listener)
          The removePropertyChangeListener method was generated to support the propertyChange field.
 void setSelected(ButtonModel m, boolean b)
          Sets the selected value for the button.
 void setSelectedBusinessObject(Object obj)
          setSelectedBusinessObject sets the business object for the type
 
Methods inherited from class javax.swing.ButtonGroup
add, getButtonCount, getElements, getSelection, isSelected, remove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMButtonGroupJ

public CMButtonGroupJ()
CMButtonGroupJ constructor comment.

Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
The addPropertyChangeListener method was generated to support the propertyChange field.


firePropertyChange

public void firePropertyChange(String propertyName,
                               Object oldValue,
                               Object newValue)
The firePropertyChange method was generated to support the propertyChange field.


getSelectedBusinessObject

public Object getSelectedBusinessObject()
getSelectedBusinessObject returns the selected business object for the selected group item

Returns:
java.lang.Object

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
The removePropertyChangeListener method was generated to support the propertyChange field.


setSelected

public void setSelected(ButtonModel m,
                        boolean b)
Sets the selected value for the button.

Overrides:
setSelected in class ButtonGroup

setSelectedBusinessObject

public void setSelectedBusinessObject(Object obj)
setSelectedBusinessObject sets the business object for the type

Parameters:
obj - java.lang.Object