Package com.dassault_systemes.catjdialog

   
Class CATRadioButtonGroup

 
Class Hierarchy
java.lang.Object
  |
  +-com.dassault_systemes.catjdialog.CATCallbackSource
        |
        +-com.dassault_systemes.catjdialog.CATRadioButtonGroup
Class Location

Framework : CATJDialog

Module : CATJDialog

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).

See Also:
com.dassault_systemes.catjdialog.CATRadioButton
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

    CATRadioButtonGroup()


Method Detail

getName

    public String getName()

Returns the radio button group name.


getSelection

    public CATRadioButton getSelection()

Returns the current selected radio-button.


getSelectionNotification

    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.


setName

    public void setName(String name)

Sets the radio button group name.


setSelection

    public void setSelection(CATRadioButton iSelection)

Changes the current selected radio-button.



Copyright © 2000, Dassault Systèmes. All rights reserved