|
||||||||||
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.ReorderChildrenComponentChange
public class ReorderChildrenComponentChange
Change specialization for re-ordering of children. While applying this Change, the specified order of children is restored.
Constructor Summary | |
---|---|
ReorderChildrenComponentChange(java.util.List<java.lang.String> childIds)
Constructs a ReorderChange with the given List of identifiers for children. |
Method Summary | |
---|---|
void |
changeComponent(javax.faces.component.UIComponent uiComponent)
Apply this change to the specied component In case children were to be removed between the time when this Change was added, and the time when it was applied, maybe due to application of a RemoveChildrenChange, such children are not re-instated. |
void |
changeDocument(org.w3c.dom.Node componentNode)
Apply this change to the specied root DOM Node of the component In case children were to be removed between the time when this Change was added, and the time when it was applied, maybe due to application of a RemoveChildrenChange, such children are not re-instated. |
java.util.List<java.lang.String> |
getChildIds()
Returns an unmodifiable List of the identifiers for the children. |
boolean |
getForcesDocumentReload()
Returns true if adding the DocumentChange should force the JSP Document to reload |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReorderChildrenComponentChange(java.util.List<java.lang.String> childIds)
childIds
- An in-order collection (List) of Ids (as java.lang.String)
of child components.
This List implementation should be of type java.io.Serializable in
order to be persisted.
java.lang.IllegalArgumentException
- if supplied childIds were to be null.Method Detail |
---|
public java.util.List<java.lang.String> getChildIds()
public void changeComponent(javax.faces.component.UIComponent uiComponent)
changeComponent
in class ComponentChange
uiComponent
- the UIComponent to apply the change topublic void changeDocument(org.w3c.dom.Node componentNode)
changeDocument
in interface DocumentChange
componentNode
- DOM node of the component to apply the change topublic boolean getForcesDocumentReload()
getForcesDocumentReload
in interface DocumentChange
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |