|
||||||||||
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.RemoveFacetComponentChange
public class RemoveFacetComponentChange
Change specialization for removal of a facet. While applying this Change, if there were to be a facet with the specified name, it will be removed.
Constructor Summary | |
---|---|
RemoveFacetComponentChange(String facetName)
Constructs a RemoveFacetChange with the specified name of the facet. |
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 |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoveFacetComponentChange(String facetName)
facetName
- The name of facet that needs to be removed.
IllegalArgumentException
- if specified facetName is
null
.Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |