:: 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