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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureRegistry
public FeatureRegistry(Object bean)
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)