Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

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

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] XActionListener  l );

Description
registers an event handler for button action events.
removeActionListener
[oneway] void
removeActionListener( [in] 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

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.