public class PropertyPathDecorator extends java.lang.Object implements ComponentDecorator
Constructor and Description |
---|
PropertyPathDecorator(java.lang.String propertyPath) |
PropertyPathDecorator(java.lang.String propertyPath,
java.lang.Object value) |
PropertyPathDecorator(java.lang.String propertyPath,
java.lang.Object value,
java.lang.String state) |
Modifier and Type | Method and Description |
---|---|
void |
decorate(java.lang.Object component,
java.util.Set<java.lang.String> state) |
java.lang.Object |
getProperty(java.lang.Object object,
java.lang.String property) |
void |
setState(java.lang.String state) |
public PropertyPathDecorator(java.lang.String propertyPath)
public PropertyPathDecorator(java.lang.String propertyPath, java.lang.Object value)
public PropertyPathDecorator(java.lang.String propertyPath, java.lang.Object value, java.lang.String state)
public void setState(java.lang.String state)
public void decorate(java.lang.Object component, java.util.Set<java.lang.String> state)
decorate
in interface ComponentDecorator
public java.lang.Object getProperty(java.lang.Object object, java.lang.String property)