Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: awt ::
interface XButton
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-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

Copyright © 2003 Sun Microsystems, Inc.