|
||||||||||
| 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.AddComponentChange
org.apache.myfaces.trinidad.change.AddChildComponentChange
public class AddChildComponentChange
Change specialization for adding a child component. While applying this Change, the child component is re-created and added to the list of children.
| Constructor Summary | |
|---|---|
AddChildComponentChange(java.lang.String insertBeforeId,
javax.faces.component.UIComponent childComponent)
Constructs an AddChildChange with the specified child component and the the identifier of the neighbour. |
|
AddChildComponentChange(javax.faces.component.UIComponent childComponent)
Constructs an AddChildChange that appends the specified child component. |
|
| Method Summary | |
|---|---|
void |
changeComponent(javax.faces.component.UIComponent uiComponent)
Apply this change to the specied component |
java.lang.String |
getInsertBeforeId()
Returns the identifier of the sibling before which this new child needs to be inserted. |
| Methods inherited from class org.apache.myfaces.trinidad.change.AddComponentChange |
|---|
getComponent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddChildComponentChange(javax.faces.component.UIComponent childComponent)
childComponent - The child component that is to be appended.
java.lang.IllegalArgumentException - if specified childComponent is null.
public AddChildComponentChange(java.lang.String insertBeforeId,
javax.faces.component.UIComponent childComponent)
null< the child is
appended to the end of the list of children.
- Parameters:
insertBeforeId - The identifier of the sibling before which this new
child is to be inserted.childComponent - The child component that is to be added.
- Throws:
java.lang.IllegalArgumentException - if specified childComponent is null
| Method Detail |
|---|
public java.lang.String getInsertBeforeId()
public void changeComponent(javax.faces.component.UIComponent uiComponent)
changeComponent in class ComponentChangeuiComponent - the UIComponent to apply the change to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||