interface XRadioButton in module com::sun::star::awt::

(Global Index)

Syntax

interface XRadioButton : com::sun::star::uno::XInterface ;

Description

gives access to the state of a radio button and makes it possible to register item event listener.

Method Summary

addItemListener registers an item event listener.

removeItemListener unregisters an item event listener.

getState

setState sets the checked state of the radio button.

setLabel sets the label of the radio button.

Known Services Which Export this Interface

com::sun::star::awt::UnoControlRadioButton

Method Details



addItemListener

Syntax

oneway void addItemListener (
com::sun::star::awt::XItemListener l );

Description

registers an item event listener.


removeItemListener

Syntax

oneway void removeItemListener (
com::sun::star::awt::XItemListener l );

Description

unregisters an item event listener.


getState

Syntax

boolean getState ();

Returns

true if the button is checked, false otherwise.

setState

Syntax

oneway void setState (
boolean b );

Description

sets the checked state of the radio button.


setLabel

Syntax

oneway void setLabel (
string Label );

Description

sets the label of the radio button.

Top of Page