|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UINodeList
Interface for lists of UINodes. This class is implemented by MutableUINode subclasses that wish to change how the list of indexed children in a MutableUINode are stored.
Because the RenderingContext is passed to both the size
and
getUINode
methods, the contents of the UINodeList can
be proxied through the RenderingContext. In fact this is how
some instances of DataObjectListNodeList work, building a UINodeList
from a DataObjectList retrieved from a BoundValue. However, the amount of
proxying that may be accomplished is limited by the fact that the
mutating methods do not take a RenderingContext, thus, it is impossible
to create a mutable UINodeList that acts as the concatenation of two
other UINodeLists.
BaseMutableUINode.setIndexedNodeList(org.apache.myfaces.trinidadinternal.ui.collection.UINodeList)
,
DataObjectListNodeList
Method Summary | |
---|---|
void |
addUINode(int index,
UINode node)
Inserts the spacified UINode into the UINodeList at the specified index |
void |
addUINode(UINode node)
Appends the specified UINode to the end of the UINodeList. |
void |
clearUINodes()
Removes all of the UINodes from the UINodeList. |
java.lang.Object |
clone()
Clones the UINodeList |
UINode |
getUINode(UIXRenderingContext context,
int index)
Returns the UINode at the specifed index in the UINodeList, given the specified RenderingContext. |
UINode |
removeUINode(int index)
Removes and returns UINode at the specifed index. |
UINode |
setUINode(int index,
UINode node)
Replaces the UINode at the specified index with the new UINode value, returning the old value. |
int |
size(UIXRenderingContext context)
Returns the number of elements in the UINodeList given the specified RenderingContext. |
Method Detail |
---|
int size(UIXRenderingContext context)
UINode getUINode(UIXRenderingContext context, int index)
UINode setUINode(int index, UINode node)
void addUINode(int index, UINode node)
void addUINode(UINode node)
UINode removeUINode(int index)
void clearUINodes()
java.lang.Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |