|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Configurable
Marks any class that can be configured through the UIF dictionary
Indicates behavior that must be supported by an Class that can be configured through the UIF dictionary, such as property expressions.
Method Summary | |
---|---|
String |
getPropertyExpression(String propertyName)
Returns the expression configured for the property with the given name |
Map<String,String> |
getPropertyExpressions()
Map of expressions that should be evaluated to conditionally set a property on the component |
void |
setPropertyExpressions(Map<String,String> propertyExpressions)
Setter for the Map of property expressions |
Method Detail |
---|
Map<String,String> getPropertyExpressions()
When configuring a component property through XML an expression can be given using the @{} placeholder. During the loading of the XML any such expressions are captured and placed into this Map, with the property they apply to set as the Map key. The expressions are then evaluated during the apply model phase and the result is set as the property value.
Note after the expression is picked up, the property configuration is removed. Thus the property in the component will only have its default object value until the expression is evaluated
void setPropertyExpressions(Map<String,String> propertyExpressions)
propertyExpressions
- String getPropertyExpression(String propertyName)
getPropertyExpressions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |