jcontrol.ui.wombat.event
Interface ActionProducer

All Known Implementing Classes:
AbstractFocusComponent, AbstractScrolledComponent, Button, CheckBox, ComboBox, KeyPad, ListBox, Menu, MultiImageMenu, NumberChooser, RadioButton, RockerSwitch, Slider, TextInputField, TextViewer, ToggleSwitch, TypeWriter

public interface ActionProducer

This interface is implemented by all components that can fire ActionEvents.

(C) DOMOLOGIC Home Automation GmbH 2005 - 2007

See Also:
ActionEvent, ActionListener

Method Summary
 ActionListener getActionListener()
          Returns the ActionListener that has been set by setActionListener.
 void setActionListener(ActionListener listener)
          Sets an ActionListener to the ActionProducer.
 

Method Detail

setActionListener

void setActionListener(ActionListener listener)
Sets an ActionListener to the ActionProducer.

Parameters:
listener - The new ActionListener.

getActionListener

ActionListener getActionListener()
Returns the ActionListener that has been set by setActionListener.

Returns:
the ActionListener for this class