public class SetFacetChildComponentChange extends AddComponentChange
Constructor and Description |
---|
SetFacetChildComponentChange(String facetName,
javax.faces.component.UIComponent facetComponent)
Constructs an AddFacetChange with the specified facet name and the
corresponding component.
|
Modifier and Type | Method and Description |
---|---|
void |
changeComponent(javax.faces.component.UIComponent uiComponent)
Apply this change to the specied component
|
String |
getFacetName()
Returns the name by which the facet is to be added while applying this
Change.
|
getComponent
public SetFacetChildComponentChange(String facetName, javax.faces.component.UIComponent facetComponent)
facetName
- The name by which the component is to be added as a facet.facetComponent
- The component that is to be added as a facet.IllegalArgumentException
- if specified facetName or the
facetComponent were to be null.public String getFacetName()
public void changeComponent(javax.faces.component.UIComponent uiComponent)
changeComponent
in class ComponentChange
uiComponent
- the UIComponent to apply the change toCopyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.