LibreOffice
LibreOffice 24.2 SDK API Reference
|
makes it possible to set the label of a button and to register for action events. More...
import"XButton.idl";
Public Member Functions | |
void | addActionListener ([in] com::sun::star::awt::XActionListener l) |
registers an event handler for button action events. More... | |
void | removeActionListener ([in] com::sun::star::awt::XActionListener l) |
unregisters an event handler for button action events. More... | |
void | setLabel ([in] string Label) |
sets the label of the button. More... | |
void | setActionCommand ([in] string Command) |
sets a command string for pushing the button. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
makes it possible to set the label of a button and to register for action events.
void addActionListener | ( | [in] com::sun::star::awt::XActionListener | l | ) |
registers an event handler for button action events.
void removeActionListener | ( | [in] com::sun::star::awt::XActionListener | l | ) |
unregisters an event handler for button action events.
void setActionCommand | ( | [in] string | Command | ) |
sets a command string for pushing the button.
Command | value can be used to detect which button is pressed. |
void setLabel | ( | [in] string | Label | ) |
sets the label of the button.