|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFeatureManager
A feature manager specification.
Nested Class Summary | |
---|---|
static class |
IFeatureManager.CoreFeature
An enumeration of the core features. |
Method Summary | |
---|---|
void |
addFeature(Feature feature)
Add a feature. |
void |
addFeatureListener(FeatureListener listener)
Add a feature listener. |
Feature |
addSubFeature(Feature parent,
JThequeAction action,
Feature.FeatureType type,
int position)
Add a sub feature to a parent feature. |
Feature |
addSubFeature(Feature parent,
java.lang.String actionName,
Feature.FeatureType type,
int position)
Add a sub feature to a parent feature. |
Feature |
addSubFeature(Feature parent,
java.lang.String actionName,
Feature.FeatureType type,
int position,
java.lang.String icon)
Add a sub feature to a parent feature. |
Feature |
addSubFeature(Feature parent,
java.lang.String actionName,
Feature.FeatureType type,
int position,
java.lang.String basename,
java.lang.String icon)
Add a sub feature to a parent feature. |
Feature |
createFeature(int position,
Feature.FeatureType type,
java.lang.String key)
Create a feature. |
Feature |
getFeature(IFeatureManager.CoreFeature feature)
Return the core feature. |
java.util.List<Feature> |
getFeatures()
Return all the features of the application. |
void |
removeFeature(Feature feature)
Remove a feature. |
void |
removeFeatureListener(FeatureListener listener)
Remove a feature listener. |
Method Detail |
---|
Feature createFeature(int position, Feature.FeatureType type, java.lang.String key)
position
- The position of the feature.type
- The type of the feature.key
- The internationalization key.
Feature addSubFeature(Feature parent, java.lang.String actionName, Feature.FeatureType type, int position, java.lang.String icon)
parent
- The parent feature.actionName
- The bean name of the action.type
- The type of the subfeature.position
- The position of the subfeature.icon
- The icon of the action. The manager will search using the images basename of the core.
Feature addSubFeature(Feature parent, java.lang.String actionName, Feature.FeatureType type, int position, java.lang.String basename, java.lang.String icon)
parent
- The parent feature.actionName
- The bean name of the action.type
- The type of the subfeature.position
- The position of the subfeature.icon
- The icon of the action.basename
- The images basename.
Feature addSubFeature(Feature parent, java.lang.String actionName, Feature.FeatureType type, int position)
parent
- The parent feature.actionName
- The bean name of the action.type
- The type of the subfeature.position
- The position of the subfeature.
Feature addSubFeature(Feature parent, JThequeAction action, Feature.FeatureType type, int position)
parent
- The parent feature.action
- The action.type
- The type of the subfeature.position
- The position of the subfeature.
void addFeature(Feature feature)
feature
- The feature to add.void removeFeature(Feature feature)
feature
- The feature to remove.java.util.List<Feature> getFeatures()
Feature getFeature(IFeatureManager.CoreFeature feature)
feature
- The feature type.
void addFeatureListener(FeatureListener listener)
listener
- The feature listener to add.void removeFeatureListener(FeatureListener listener)
listener
- The feature listener to remove.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |