com.partnersoft.v3x.gadgets
Class SpecifierCombiner

java.lang.Object
  extended by com.partnersoft.v3x.gadgets.SpecifierGadget
      extended by com.partnersoft.v3x.gadgets.SpecifierCombiner
All Implemented Interfaces:
Specifier

public class SpecifierCombiner
extends SpecifierGadget

Combines the output from a list of Specifiers, creating a single Specifier. It works as follows: The last specified item by time is the one chosen, unless it is null - null is only specified if all specifiers have specified null. This gets around some simultaniety problems with e.g. graphical selection from a map.


Constructor Summary
SpecifierCombiner()
           
 
Method Summary
 void addSpecifier(Specifier spec)
           
 void removeSpecifier(Specifier spec)
           
 
Methods inherited from class com.partnersoft.v3x.gadgets.SpecifierGadget
addSpecificationListener, getSpecified, getSpecifiedClass, removeSpecificationListener, setSpecified, setSpecifiedClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecifierCombiner

public SpecifierCombiner()
Method Detail

addSpecifier

public void addSpecifier(Specifier spec)

removeSpecifier

public void removeSpecifier(Specifier spec)