|
||||||||||
| 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.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(java.lang.String childId)
Constructs a RemoveChildChange with the specified identifier of the child. |
|
RemoveChildComponentChange(java.lang.String childId,
java.lang.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(org.w3c.dom.Node componentNode)
Apply this change to the specied root DOM Node of the component |
java.lang.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 |
java.lang.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(java.lang.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.
java.lang.IllegalArgumentException - if specified childId were to be null.
public RemoveChildComponentChange(java.lang.String childId,
java.lang.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.
java.lang.IllegalArgumentException - if specified childId were to be null.| Method Detail |
|---|
public java.lang.String getChildId()
public final java.lang.String getIdentifier()
public void changeComponent(javax.faces.component.UIComponent uiComponent)
changeComponent in class ComponentChangeuiComponent - the UIComponent to apply the change topublic void changeDocument(org.w3c.dom.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 | |||||||||