|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The TreeDataProxy allows users at render time to override
particular parts of the data which are distributed across the nodes in
the tree. The TreeRender, instead of directly asking the node data for
these parts, uses the corresponding methods on the TreeProxy, which, given
the rendering context, the node itself, and the rendered index of the node,
may use whatever strategy it chooses to respond. doPostRender
\
will be called immediately after all the nodes are rendered.
TreeBean
Method Summary | |
void |
doPostRender(RenderingContext context,
UINode node)
Render necessary elements to make proxy work (called after the tree has been rendered. |
DataObjectList |
getChildren(RenderingContext context,
DataObject node)
Get the children of this node. |
java.lang.String |
getCollapseDestination(RenderingContext context,
DataObject node,
int index)
Get the value of the UIConstants.COLLAPSE_DESTINATION_KEY
property. |
java.lang.String |
getExpandable(RenderingContext context,
DataObject node,
int index)
Is this node expanded? |
java.lang.String |
getExpandDestination(RenderingContext context,
DataObject node,
int index)
Get the value of the UIConstants.EXPAND_DESTINATION_KEY property. |
boolean |
isSelected(RenderingContext context,
DataObject node,
java.lang.String nodeID)
Is this node selected? |
boolean |
selectionEnabled(RenderingContext context)
Is selection enabled? |
void |
setFormName(RenderingContext context,
java.lang.String formName)
Use a URL or form submission for destinations? |
Method Detail |
public DataObjectList getChildren(RenderingContext context, DataObject node)
public boolean selectionEnabled(RenderingContext context)
public boolean isSelected(RenderingContext context, DataObject node, java.lang.String nodeID)
public java.lang.String getExpandable(RenderingContext context, DataObject node, int index)
node
- the tree node being examined.index
- the position of this node in the order in which the nodes of
the tree are rendered.UIConstants.EXPANDABLE_NO
,
UIConstants.EXPANDABLE_EXPANDED
or
UIConstants.EXPANDABLE_COLLAPSED
public java.lang.String getExpandDestination(RenderingContext context, DataObject node, int index)
UIConstants.EXPAND_DESTINATION_KEY
property.public java.lang.String getCollapseDestination(RenderingContext context, DataObject node, int index)
UIConstants.COLLAPSE_DESTINATION_KEY
property.public void setFormName(RenderingContext context, java.lang.String formName)
public void doPostRender(RenderingContext context, UINode node) throws java.io.IOException
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |