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

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

interface XCheckBox

Base Interface
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 specifies a check-box control.

Methods' Summary

addItemListener registers a listener for item events.
removeItemListener unregisters a listener for item events.
getState
setState sets the state of the checkbox.
setLabel sets the label of the checkbox.
enableTriState enables or disables the tri state mode.

Methods' Details

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

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

Description
unregisters a listener for item events.
getState
 
short
getState();
Returns
the state of the checkbox.
setState
 
[ oneway ] void
setState(
[ in ] short n );

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

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

Description
enables or disables the tri state mode.

Top of Page