|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
org.apache.myfaces.trinidad.change.ComponentChange
org.apache.myfaces.trinidad.change.RemoveChildComponentChange
public class RemoveChildComponentChange
Change specialization for removal of a child. While applying this Change, if there were to be a child with the specified identifier, it will be removed.
| Constructor Summary | |
|---|---|
RemoveChildComponentChange(String childId)Constructs a RemoveChildChange with the specified identifier of the child. |
|
RemoveChildComponentChange(String childId, String identifier)Constructs a RemoveChildChange with the specified identifier of the child. |
|
| Method Summary | |
|---|---|
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 |
String |
getChildId()Returns the identifier of child component that needs to be removed. |
boolean |
getForcesDocumentReload()Returns true if adding the DocumentChange should force the JSP Document to reload |
String |
getIdentifier()Returns the identifier type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoveChildComponentChange(String childId)
childId - The identifier of the child component that needs to be removed. If no identifier is specified, the type will be treated as of 'id' type.IllegalArgumentException - if specified childId were to be null.
public RemoveChildComponentChange(String childId,
String identifier)
childId - The identifier of the child component that needs to be removed.identifier - Determines the type of identifier which is passed as the first argument.IllegalArgumentException - if specified childId were to be null.| Method Detail |
|---|
public String getChildId()
public final String getIdentifier()
public void changeComponent(javax.faces.component.UIComponent uiComponent)
changeComponent in class ComponentChangeuiComponent - the UIComponent to apply the change topublic void changeDocument(Node componentNode)
changeDocument in interface DocumentChangecomponentNode - 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 | |||||||||
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.