public class RemoveFacetComponentChange extends ComponentChange implements DocumentChange
Constructor and Description |
---|
RemoveFacetComponentChange(String facetName)
Constructs a RemoveFacetChange with the specified name of the facet.
|
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
|
String |
getFacetName()
Returns the name of facet that needs to be removed.
|
boolean |
getForcesDocumentReload()
Returns true if adding the DocumentChange should force the JSP Document
to reload
|
public RemoveFacetComponentChange(String facetName)
facetName
- The name of facet that needs to be removed.IllegalArgumentException
- if specified facetName is
null
.public String getFacetName()
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-2017 The Apache Software Foundation. All Rights Reserved.