XMLComponentManager
Modifier and Type | Method and Description |
---|---|
public Boolean | getFeatureDefault(String
The feature identifier. featureId)Returns the default state for a feature, or null if this component does not want to report a default value for this feature. |
public Object | getPropertyDefault(String
The property identifier. propertyId)Returns the default state for a property, or null if this component does not want to report a default value for this property. |
public String[] | |
public String[] | getRecognizedProperties()
Returns a list of property identifiers that are recognized by this component. |
public void | |
public void | setFeature(String
The feature identifier. featureId, boolean The state of the feature. state)Sets the state of a feature. |
public void | setProperty(String
The property identifier. propertyId, Object The value of the property. value)Sets the value of a property. |
getFeatureDefault | back to summary |
---|---|
public Boolean getFeatureDefault(String featureId) Returns the default state for a feature, or null if this component does not want to report a default value for this feature.
|
getPropertyDefault | back to summary |
---|---|
public Object getPropertyDefault(String propertyId) Returns the default state for a property, or null if this component does not want to report a default value for this property.
|
getRecognizedFeatures | back to summary |
---|---|
public String[] getRecognizedFeatures() Returns a list of feature identifiers that are recognized by this component. This method may return null if no features are recognized by this component. |
getRecognizedProperties | back to summary |
---|---|
public String[] getRecognizedProperties() Returns a list of property identifiers that are recognized by this component. This method may return null if no properties are recognized by this component. |
reset | back to summary |
---|---|
public void reset(XMLComponentManager componentManager) throws XMLConfigurationException Resets the component. The component can query the component manager about any features and properties that affect the operation of the component.
|
setFeature | back to summary |
---|---|
public void setFeature(String featureId, boolean state) throws XMLConfigurationException Sets the state of a feature. This method is called by the component manager any time after reset when a feature changes state. Note Components should silently ignore features that do not affect the operation of the component.
|
setProperty | back to summary |
---|---|
public void setProperty(String propertyId, Object value) throws XMLConfigurationException Sets the value of a property. This method is called by the component manager any time after reset when a property changes value. Note Components should silently ignore properties that do not affect the operation of the component.
|