Overview | Module | Use | Devguide | Index

Included Services | Exported Interfaces | Properties' Summary | Properties' Details

:: com :: sun :: star :: form :: component ::
service RadioButton
Description specifies a component which acts as a radio button as needed in HTMLForm s. Radio buttons are controls which can be grouped together, and in every group, only one of the controls can be check. This means if one of them is checked by a user interaction, all other controls in the same group are automatically unchecked Like in HTML, radio buttons are grouped together if and only if they have the same name (see ::com::sun::star::form::FormComponent::Name ).

Included Services
::com::sun::star::awt::UnoControlRadioButtonModel | specifies the standard model of an ::com::sun::star::awt::UnoControlRadioButton .
::com::sun::star::form::FormControlModel | specifies a control model within a form.

Exported Interfaces
::com::sun::star::form::XReset | Description can be used to reset the control to it's default text. See also RadioButton::DefaultState

Properties' Summary
DefaultState | contains a default value for the control.
RefValue | contains a reference value which is used for submission in a HTML form.

Properties' Details
DefaultState
short DefaultState; Description contains a default value for the control. This value is used when the control is initially displayed, and for resetting it. In a group of radio buttons only one button should be checked by default. See also ::com::sun::star::awt::UnoControlRadioButtonModel::State See also ::com::sun::star::form::XReset
RefValue
string RefValue; Description contains a reference value which is used for submission in a HTML form. If the form the control belongs to is to be submitted (see ::com::sun::star::form::XSubmit ), and the control is checked, this reference value is used for submission.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.