|
||||||||||
| 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(java.lang.String attributeName,
java.lang.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 |
java.lang.String |
getAttributeName()
Returns the name of the attribute that represents this Change. |
java.lang.Object |
getAttributeValue()
Returns the value of the attribute corresponding to this AttributeChange. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeComponentChange(java.lang.String attributeName,
java.lang.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.
java.lang.IllegalArgumentException - if specified attributeName were to be null.| Method Detail |
|---|
public java.lang.String getAttributeName()
public java.lang.Object getAttributeValue()
public void changeComponent(javax.faces.component.UIComponent uiComponent)
changeComponent in class ComponentChangeuiComponent - the UIComponent to apply the change to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||