Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XRadioButton

Base Interface
com::sun::star::uno::XInterface

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


Known Services which Export this Interface

com::sun::star::awt::UnoControlRadioButton specifies a button control.

Methods' 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.

Methods' Details

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

Description
registers an item event listener.
removeItemListener
 
[ oneway ] void
removeItemListener(
[ in ] com::sun::star::awt::XItemListener l );

Description
unregisters an item event listener.
getState
 
boolean
getState();
Returns
true if the button is checked, false otherwise.
setState
 
[ oneway ] void
setState(
[ in ] boolean b );

Description
sets the checked state of the radio button.
setLabel
 
[ oneway ] void
setLabel(
[ in ] string Label );

Description
sets the label of the radio button.

Top of Page