Syntax
interface XCheckBox : com::sun::star::uno::XInterface ;
Description
gives access to the state of a check box and makes it possible to register for events.
Known Services Which Export this Interface
|
com::sun::star::awt::UnoControlCheckBox -
Method Details
|
|
Syntax
- oneway void addItemListener
(
- com::sun::star::awt::XItemListener l );
Description
registers a listener for item events.
Syntax
- oneway void removeItemListener
(
- com::sun::star::awt::XItemListener l );
Description
unregisters a listener for item events.
Syntax
- short getState
();
Returns
-
the state of the checkbox.
Syntax
- oneway void setState
(
- short n );
Description
sets the state of the checkbox.
Syntax
- oneway void setLabel
(
- string Label );
Description
sets the label of the checkbox.
Syntax
- oneway void enableTriState
(
- boolean b );
Description
enables or disables the tri state mode.
|
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.