Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XCheckBox
Description
gives access to the state of a check box and makes it possible to register for events.

Methods' Summary
addItemListener registers a listener for item events.  
removeItemListener unregisters a listener for item events.  
getState returns the state of the check box.  
setState sets the state of the check box.  
setLabel sets the label of the check box.  
enableTriState enables or disables the tri state mode.  
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
short
getState();

Description
returns the state of the check box.
setState
[oneway] void
setState( [in] short  n );

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

Description
sets the label of the check box.
enableTriState
[oneway] void
enableTriState( [in] boolean  b );

Description
enables or disables the tri state mode.
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.