Class ActionSourceListener

java.lang.Object
ucar.unidata.ui.event.ActionSourceListener
All Implemented Interfaces:
EventListener, ActionValueListener

public abstract class ActionSourceListener extends Object implements ActionValueListener
ActionSourceListeners are used by objects that are both source and listener for a particular type of ActionValue events. They register themselves with the ActionCoordinator of that type of event. They send events by calling fireActionValueEvent(). They recieve others' events through their actionPerformed() method.
Version:
$Id: ActionSourceListener.java,v 1.8 2005/05/13 18:32:14 jeffmc Exp $
Author:
John Caron
See Also:
  • Field Details

  • Constructor Details

    • ActionSourceListener

      public ActionSourceListener(String eventType)
      _more_
      Parameters:
      eventType -
  • Method Details

    • getEventTypeName

      public String getEventTypeName()
      _more_
      Returns:
      _more_
    • fireActionValueEvent

      public void fireActionValueEvent(String command, Object value)
      _more_
      Parameters:
      command -
      value -
    • addActionValueListener

      public void addActionValueListener(ActionValueListener l)
      _more_
      Parameters:
      l -
    • removeActionValueListener

      public void removeActionValueListener(ActionValueListener l)
      _more_
      Parameters:
      l -
    • actionPerformed

      public abstract void actionPerformed(ActionValueEvent event)
      _more_
      Specified by:
      actionPerformed in interface ActionValueListener
      Parameters:
      event -