| |
|
| java.lang.Object javax.swing.ButtonGroup com.salmonllc.swing.SButtonGroup
SButtonGroup | public class SButtonGroup extends ButtonGroup implements SComponent,ModelChangedListener(Code) | | SOFIA implementation of a Radio Button Group. It lets you bind the group to a datastore column. The button group is a non visual component. You must create the SComponent buttons individually and use this to group them and bind them to a datastore column.
|
SButtonGroup | public SButtonGroup(DataStoreBuffer ds, String col)(Code) | | Creates a new button group bound to a datastore columm
Parameters: ds - The DataStore to bind to Parameters: col - The column to bind to |
add | public void add(JPanel c)(Code) | | Adds all the buttons in the panel to the group
|
addValueChangedListener | public void addValueChangedListener(ValueChangedListener l)(Code) | | This method adds a listener the will be notified when the value in this component changes.
Parameters: l - The listener to add. |
generateValueChangedEvent | public ValueChangedEvent generateValueChangedEvent()(Code) | | This method is used by the framework and should not be called directly
|
getText | public String getText()(Code) | | Returns the value of the selected radio button as a string
|
modelChanged | public void modelChanged(ModelChangedEvent evt)(Code) | | Part of the model changed listener implementation. Do not call directly
|
removeValueChangedListener | public void removeValueChangedListener(ValueChangedListener l)(Code) | | This method removes a listener from the list that will be notified if the text in the component changes.
Parameters: l - The listener to remove. |
setText | public void setText(String text)(Code) | | Sets the text value for the group and selects the appropriate button
|
|
|
|