|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidad.change.ComponentChange
org.apache.myfaces.trinidad.change.AttributeComponentChange
public class AttributeComponentChange
Change specialization for change in attributes. While applying this Change, the specified attribute state is restored.
| Constructor Summary | |
|---|---|
AttributeComponentChange(String attributeName,
Object attributeValue)
Constructs an AttributeChange with the given attributeName and attributeValue. |
|
| Method Summary | |
|---|---|
void |
changeComponent(javax.faces.component.UIComponent uiComponent)
Apply this change to the specied component |
boolean |
equals(Object o)
|
String |
getAttributeName()
Returns the name of the attribute that represents this Change. |
Object |
getAttributeValue()
Returns the value of the attribute corresponding to this AttributeChange. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeComponentChange(String attributeName,
Object attributeValue)
attributeName - The name of the attribute for which the value needs
to be restored.attributeValue - The value of the attribute that needs to be restored.
This value should be of type java.io.Serializable in order to be
persisted. If the value is of type ValueExpression or ValueBinding,
the component's ValueBinding or ValueExpression for the attribute
will be updated and the current attribute value, if any, removed so
that the new ValueExpression or ValueBinding can take precedence.
IllegalArgumentException - if specified attributeName were to be null or
the specified attributeValue isn't serializable| Method Detail |
|---|
public String getAttributeName()
public Object getAttributeValue()
public void changeComponent(javax.faces.component.UIComponent uiComponent)
changeComponent in class ComponentChangeuiComponent - the UIComponent to apply the change topublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||