Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

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 and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.