Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

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

Methods' Summary
addItemListener registers a listener for item events.  
removeItemListener unregisters a listener for item events.  
getState returns true if the button is checked, false otherwise.  
setState sets the state of the radio button.  
setLabel sets the label of the radio button.  
Methods' Details
addItemListener
[oneway] void
addItemListener( [in] XItemListener  l );

Description
registers a listener for item events.
removeItemListener
[oneway] void
removeItemListener( [in] XItemListener  l );

Description
unregisters a listener for item events.
getState
boolean
getState();

Description
returns true if the button is checked, false otherwise.
setState
[oneway] void
setState( [in] boolean  b );

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

Description
sets the label of the radio button.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.