public class ReorderChildrenComponentChange extends ComponentChange implements DocumentChange
Constructor and Description |
---|
ReorderChildrenComponentChange(List<String> childIds)
Constructs a ReorderChange with the given List of identifiers for children.
|
ReorderChildrenComponentChange(List<String> childIds,
String identifier)
Constructs a ReorderChange with the given List of identifiers for children.
|
Modifier and Type | Method and Description |
---|---|
void |
changeComponent(javax.faces.component.UIComponent uiComponent)
Apply this change to the specied component
|
void |
changeDocument(Node componentNode)
Apply this change to the specied root DOM Node of the component
|
List<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
|
String |
getIdentifier()
Returns the identifier type.
|
public ReorderChildrenComponentChange(List<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.
If no identifier was passed, it would be assumed that the list
consists of the Ids.IllegalArgumentException
- if supplied childIds were to be null.public ReorderChildrenComponentChange(List<String> childIds, String identifier)
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.identifier
- Determines the type of identifiers which the List consists of.IllegalArgumentException
- if supplied childIds were to be null or supplied
identifier was to be null or emtpy string.public List<String> getChildIds()
public final String getIdentifier()
public void changeComponent(javax.faces.component.UIComponent uiComponent)
changeComponent
in class ComponentChange
uiComponent
- the UIComponent to apply the change topublic void changeDocument(Node componentNode)
changeDocument
in interface DocumentChange
componentNode
- DOM node of the component to apply the change topublic boolean getForcesDocumentReload()
getForcesDocumentReload
in interface DocumentChange
Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.