/** * Constructs a feature that can be used with all components * * @param name * The unique name of the feature */ public Feature(String name) { super(ComponentTypes.Feature); setName(name); }
/** * Constructs a feature that can be used with all components * * @param name * The unique name of the feature */ public Feature(String name) { super(ComponentTypes.Feature); setName(name); }
/** * Constructs a feature that can be used with all components * * @param name * The unique name of the feature */ public Feature(String name) { super(ComponentTypes.Feature); setName(name); }
/** * Constructs a feature that can be used with all components * * @param name * The unique name and component for the feature * @param component * The given component */ public Feature(String name, ComponentHierarchyBase component) { super(ComponentTypes.Feature); setName(name); super.setComponent(component); if (component != null) { component.addFeature(this); } }
/** * Constructs a feature that can be used with all components * * @param name * The unique name and component for the feature * @param component * The given component */ public Feature(String name, ComponentHierarchyBase component) { super(ComponentTypes.Feature); setName(name); super.setComponent(component); if (component != null) { component.addFeature(this); } }
/** * Constructs a feature that can be used with all components * * @param name * The unique name and component for the feature * @param component * The given component */ public Feature(String name, ComponentHierarchyBase component) { super(ComponentTypes.Feature); setName(name); super.setComponent(component); if (component != null) { component.addFeature(this); } }