|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
FeatureSet is a tree-forming object, it contains children of a parent feature. It maintains itself synchronized with the underlying resources.
Method Summary | |
void |
addFeatureSetListener(FeatureSetListener listener)
Registration for those interested in getting notifications when features are added or removed. |
FeatureConstructor |
getDefaultFeatureConstructor(java.lang.String type)
Returns a feature constructor that can be used by default to create new features of the specified type. |
Feature |
getFeature(java.lang.String type,
java.lang.String signature)
Finds the feature that has the specified type and signature |
FeatureConstructor |
getFeatureConstructor(java.lang.String type,
java.lang.String name)
Returns a constructor for the specified type and constructor name. |
com.sun.java.util.collections.Set |
getFeatureConstructors()
Returns a set of FeatureConstructor objects suitable for the use in the context of this feature set's parent. |
com.sun.java.util.collections.Set |
getFeatureConstructors(java.lang.String type)
Returns a set of FeatureConstructor objects suitable for the use in the context of this feature set's parent. |
com.sun.java.util.collections.Set |
getFeatures()
Returns all features handled by this set. |
com.sun.java.util.collections.Set |
getFeatures(java.lang.String type)
Returns a subset of features which have the specified type. |
Feature |
getParent()
Returns the feature that owns this set of children |
Feature[] |
getSortedFeatures()
Returns features sorted according to their DisplayProperty's preferences. |
boolean |
isEmpty()
This method exists for optimization purposes. |
void |
release()
This method is called when the parent feature is removed from the feature tree. |
void |
removeFeatureSetListener(FeatureSetListener listener)
|
Method Detail |
public Feature getParent()
public com.sun.java.util.collections.Set getFeatures()
public boolean isEmpty()
public com.sun.java.util.collections.Set getFeatures(java.lang.String type)
public Feature getFeature(java.lang.String type, java.lang.String signature)
public Feature[] getSortedFeatures()
DisplayProperties
public com.sun.java.util.collections.Set getFeatureConstructors()
public com.sun.java.util.collections.Set getFeatureConstructors(java.lang.String type)
public FeatureConstructor getFeatureConstructor(java.lang.String type, java.lang.String name)
public FeatureConstructor getDefaultFeatureConstructor(java.lang.String type)
public void release()
public void addFeatureSetListener(FeatureSetListener listener)
public void removeFeatureSetListener(FeatureSetListener listener)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |