public final class MoveChildComponentChange extends ComponentChange implements DocumentChange
| Constructor and Description |
|---|
MoveChildComponentChange(javax.faces.component.UIComponent movableChild,
javax.faces.component.UIComponent destinationContainer)
Constructs a MoveChildComponentChange.
|
MoveChildComponentChange(javax.faces.component.UIComponent movableChild,
javax.faces.component.UIComponent destinationContainer,
javax.faces.component.UIComponent insertBeforeComponent)
Constructs a MoveChildComponentChange.
|
| Modifier and Type | Method and Description |
|---|---|
javax.faces.component.UIComponent |
add(javax.faces.context.FacesContext facesContext,
ChangeManager changeManager)
Convenience method to add this MoveChildComponentChange to the supplied
ChangeManager.
|
void |
changeComponent(javax.faces.component.UIComponent changeTargetComponent)
Apply this change to the specified component.
|
void |
changeDocument(Node changeTargetNode)
Given the DOM Node representing a Component, apply any necessary
DOM changes.
|
boolean |
equals(Object o) |
String |
getDestinationLogicalScopedId()
Returns the absolute logical scopedId of the source component at its destination
|
String |
getDestinationScopedId()
Returns the absolute scopedId of the source component at its destination
|
boolean |
getForcesDocumentReload()
Returns true if adding the DocumentChange should force the JSP Document
to reload
|
String |
getSourceLogicalScopedId()
Returns the absolute logical scopedId of the source component
|
String |
getSourceScopedId()
Returns the absolute scopedId of the source component
|
int |
hashCode() |
String |
toString() |
public MoveChildComponentChange(javax.faces.component.UIComponent movableChild,
javax.faces.component.UIComponent destinationContainer)
movableChild - The child component to be moved.destinationContainer - The destination component into which the child
component is to be moved.IllegalArgumentException - If movableChild or destinationContainer
is nullpublic MoveChildComponentChange(javax.faces.component.UIComponent movableChild,
javax.faces.component.UIComponent destinationContainer,
javax.faces.component.UIComponent insertBeforeComponent)
movableChild - The child component to be moved.destinationContainer - The destination component into which the child
component is to be moved.insertBeforeComponent - The component before which the moved child is
to be inserted. This can be null, in which case the movableChild is
appended.IllegalArgumentException - If movableChild or destinationContainer
is null, or if a parent component common to movableChild and
destinationContainer could not be found.public javax.faces.component.UIComponent add(javax.faces.context.FacesContext facesContext,
ChangeManager changeManager)
facesContext - The FacesContext instance for the current requestchangeManager - The ChangeManager instance on which this
MoveChildComponentChange is to be added.public void changeComponent(javax.faces.component.UIComponent changeTargetComponent)
changeComponent in class ComponentChangechangeTargetComponent - The component that is a common parent to the
movable child and the destination container.IllegalArgumentException - If the supplied changeTargetComponent
is null.public void changeDocument(Node changeTargetNode)
changeDocument in interface DocumentChangechangeTargetNode - DOM Node that is a common parent for the movable
child and the destination container.IllegalArgumentException - If changeTargeNode were to be null.public boolean getForcesDocumentReload()
getForcesDocumentReload in interface DocumentChangepublic String getSourceScopedId()
public String getDestinationScopedId()
public String getSourceLogicalScopedId()
public String getDestinationLogicalScopedId()
Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.