ucar.unidata.ui.event
Class ActionSourceListener

java.lang.Object
  extended by 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:
ActionCoordinator

Field Summary
static String SELECTED
          _more_
 
Constructor Summary
ActionSourceListener(String eventType)
          _more_
 
Method Summary
abstract  void actionPerformed(ActionValueEvent event)
          _more_
 void addActionValueListener(ActionValueListener l)
          _more_
 void fireActionValueEvent(String command, Object value)
          _more_
 String getEventTypeName()
          _more_
 void removeActionValueListener(ActionValueListener l)
          _more_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SELECTED

public static final String SELECTED
_more_

See Also:
Constant Field Values
Constructor Detail

ActionSourceListener

public ActionSourceListener(String eventType)
_more_

Parameters:
eventType -
Method Detail

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 -