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

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

interface XButton

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

Description
makes it possible to set the label of a button and to register for action events.


Known Services which Export this Interface

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

Methods' Summary

addActionListener registers an event handler for button action events.
removeActionListener unregisters an event handler for button action events.
setLabel sets the label of the button.
setActionCommand sets a command string for pushing the button.

Methods' Details

addActionListener
 
[ oneway ] void
addActionListener(
[ in ] com::sun::star::awt::XActionListener l );

Description
registers an event handler for button action events.
removeActionListener
 
[ oneway ] void
removeActionListener(
[ in ] com::sun::star::awt::XActionListener l );

Description
unregisters an event handler for button action events.
setLabel
 
[ oneway ] void
setLabel(
[ in ] string Label );

Description
sets the label of the button.
setActionCommand
 
[ oneway ] void
setActionCommand(
[ in ] string Command );

Description
sets a command string for pushing the button.

Top of Page