|
UIX 2.2.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This DataProxy sits between an HGrid renderer and its data. It is used to produce dynamic views of the static tree that is rendered by HGrid. A DataProxy object must be created for each view of the data.
Method Summary | |
DataObjectList |
getBreadCrumbs(RenderingContext context, DataObject root) |
java.lang.String |
getCollapseAllDestination(RenderingContext context, DataObject focusRoot) Gets the destination of the collapse-all link in an HGrid. |
java.lang.String |
getEventDestination(RenderingContext context, java.lang.String event, DataObject node, int index) Gets the destination of the link for the given event in an HGrid row. |
java.lang.String |
getExpandAllDestination(RenderingContext context, DataObject focusRoot) Gets the destination of the expand-all link in an HGrid. |
java.lang.String |
getFocusDestination(RenderingContext context, DataObject node, int index) Gets the destination of the focus link in an HGrid row. |
DataObject |
getFocusRoot(RenderingContext context, DataObject root) Gets the tree node that has the focus. |
int |
getViewNumber(RenderingContext context, int index) For large record sets it's expensive to display every row. |
boolean |
isExpandAllEnabled(RenderingContext context, DataObject focusRoot) checks to see if the expand/collapse-all links on this HGrid are enabled. |
Methods inherited from interface oracle.cabo.ui.data.tree.TreeDataProxy |
doPostRender, getChildren, getCollapseDestination, getExpandable, getExpandDestination, isSelected, selectionEnabled, setFormName |
Method Detail |
public DataObject getFocusRoot(RenderingContext context, DataObject root)
root
- the root of the tree.public DataObjectList getBreadCrumbs(RenderingContext context, DataObject root)
DataObject
, UIConstants.TEXT_KEY
, UIConstants.DESTINATION_KEY
public boolean isExpandAllEnabled(RenderingContext context, DataObject focusRoot)
focusRoot
- the tree node that has the focus.public java.lang.String getExpandAllDestination(RenderingContext context, DataObject focusRoot)
focusRoot
- the tree node that has the focus.isExpandAllEnabled(RenderingContext, DataObject)
public java.lang.String getCollapseAllDestination(RenderingContext context, DataObject focusRoot)
focusRoot
- the tree node that has the focus.isExpandAllEnabled(RenderingContext, DataObject)
public java.lang.String getFocusDestination(RenderingContext context, DataObject node, int index)
node
- the tree nodeindex
- the corresponding row index of the tree node. this is zero based.TreeDataProxy.getExpandDestination(RenderingContext, DataObject, int)
public java.lang.String getEventDestination(RenderingContext context, java.lang.String event, DataObject node, int index)
event
- the name of the event for which a destination is desired Currently supported values are: Exapnd, Collapse, Previous, and Next.node
- the tree nodeindex
- the corresponding row index of the tree node. this is zero based.TreeDataProxy.getExpandDestination(RenderingContext, DataObject, int)
public int getViewNumber(RenderingContext context, int index)
node
- the tree nodeindex
- the corresponding row index of the tree node. this is zero based.
|
UIX 2.2.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |