|
|
|||||
| Package com.dassault_systemes.catjdialog |
Class CATRadioButtonGroup
|
| Class Hierarchy |
java.lang.Object
|
+-com.dassault_systemes.catjdialog.CATCallbackSource
|
+-com.dassault_systemes.catjdialog.CATRadioButtonGroup
| Class Location |
| Class Description |
public class CATRadioButtonGroup
A radio button group.
The CATRadioButtonGroup class is used to group together a set of radio-buttons.
Exactly one radio-button in a group can be in the "on" state at any given time.
Checking any radio-button sets its state to "on" and forces any other button that is in the "on" state into the "off" state.
The application can be notified when the group state changes (that is: any of
the radio-buttons state changes).
| Field Summary |
| Constructor Summary |
| CATRadioButtonGroup()
|
| Method Summary |
| public String | getName()
Returns the radio button group name. |
| public CATRadioButton | getSelection()
Returns the current selected radio-button. |
| public CATNotification | getSelectionNotification()
Returns the radio button group selection changed notification. |
| public void | setName(String name)
Sets the radio button group name. |
| public void | setSelection(CATRadioButton iSelection)
Changes the current selected radio-button. |
| Field Detail |
| Constructor Detail |
CATRadioButtonGroup()
| Method Detail |
public String getName()
Returns the radio button group name.
public CATRadioButton getSelection()
Returns the current selected radio-button.
public CATNotification getSelectionNotification()
Returns the radio button group selection changed notification.
This notification is sent when the current selected radio-button in this group changes.
public void setName(String name)
Sets the radio button group name.
public void setSelection(CATRadioButton iSelection)
Changes the current selected radio-button.