|
UIX 2.2.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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(oracle.cabo.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(RenderingContext 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(RenderingContext context) Returns the number of elements in the UINodeList given the specified RenderingContext. |
Method Detail |
public int size(RenderingContext context)
public UINode getUINode(RenderingContext context, int index)
public UINode setUINode(int index, UINode node)
public void addUINode(int index, UINode node)
public void addUINode(UINode node)
public UINode removeUINode(int index)
public void clearUINodes()
public java.lang.Object clone()
clone
in class java.lang.Object
|
UIX 2.2.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |