com.partnersoft.v3x.gadgets
Class SingleActionSpecificationListener

java.lang.Object
  extended by com.partnersoft.v3x.gadgets.SingleActionSpecificationListener
All Implemented Interfaces:
SpecificationListener, java.util.EventListener

public class SingleActionSpecificationListener
extends java.lang.Object
implements SpecificationListener

This takes care of some of the problems with specification event multicasting. Essentially, it is a dispatch mechanism that allows you to specify a single pluggable action to take for the next specification event that occurs.


Constructor Summary
SingleActionSpecificationListener()
           
 
Method Summary
 SpecificationListener getCurrentActor()
           
 void itemSpecified(SpecificationEvent event)
           
 void setCurrentActor(SpecificationListener actor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleActionSpecificationListener

public SingleActionSpecificationListener()
Method Detail

itemSpecified

public void itemSpecified(SpecificationEvent event)
Specified by:
itemSpecified in interface SpecificationListener

setCurrentActor

public void setCurrentActor(SpecificationListener actor)

getCurrentActor

public SpecificationListener getCurrentActor()