org.escot
Class FeatureRegistry

java.lang.Object
  |
  +--org.escot.FeatureRegistry
Direct Known Subclasses:
ReplicatingFeatureRegistry

public class FeatureRegistry
extends Object

Maintains an observable list of features (publications and subscribers) for a component. Used in place of ListModel, so developers don't need to compile against Swing.


Constructor Summary
FeatureRegistry(Object bean)
           
 
Method Summary
 void addFeature(Object feat)
           
 void addFeatureListener(FeatureListener listener)
           
 int featureCount()
           
 Enumeration features()
           
protected  void notifyFeatureAdded(FeatureEvent evt)
           
protected  void notifyFeatureRemoved(FeatureEvent evt)
           
 void removeAllFeatures()
           
 void removeFeature(Object feat)
           
 void removeFeatureListener(FeatureListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureRegistry

public FeatureRegistry(Object bean)
Method Detail

addFeature

public void addFeature(Object feat)

removeFeature

public void removeFeature(Object feat)

removeAllFeatures

public void removeAllFeatures()

featureCount

public int featureCount()

features

public Enumeration features()

addFeatureListener

public void addFeatureListener(FeatureListener listener)

removeFeatureListener

public void removeFeatureListener(FeatureListener listener)

notifyFeatureAdded

protected void notifyFeatureAdded(FeatureEvent evt)

notifyFeatureRemoved

protected void notifyFeatureRemoved(FeatureEvent evt)