|
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 |
java.lang.Object | +--oracle.cabo.ui.data.tree.BaseTreeDataProxy
A default implementation of the TreeDataProxy interface. It simply defers to the node's value for each property.
Constructor Summary | |
BaseTreeDataProxy()
|
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? |
static TreeDataProxy |
sharedInstance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseTreeDataProxy()
Method Detail |
public static TreeDataProxy sharedInstance()
public DataObjectList getChildren(RenderingContext context, DataObject node)
TreeDataProxy
getChildren
in interface TreeDataProxy
public java.lang.String getExpandable(RenderingContext context, DataObject node, int index)
TreeDataProxy
getExpandable
in interface TreeDataProxy
oracle.cabo.ui.data.tree.TreeDataProxy
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)
TreeDataProxy
UIConstants.EXPAND_DESTINATION_KEY
property.getExpandDestination
in interface TreeDataProxy
public java.lang.String getCollapseDestination(RenderingContext context, DataObject node, int index)
TreeDataProxy
UIConstants.COLLAPSE_DESTINATION_KEY
property.getCollapseDestination
in interface TreeDataProxy
public boolean selectionEnabled(RenderingContext context)
TreeDataProxy
selectionEnabled
in interface TreeDataProxy
public boolean isSelected(RenderingContext context, DataObject node, java.lang.String nodeID)
TreeDataProxy
isSelected
in interface TreeDataProxy
public void setFormName(RenderingContext context, java.lang.String formName)
TreeDataProxy
setFormName
in interface TreeDataProxy
public void doPostRender(RenderingContext context, UINode node) throws java.io.IOException
TreeDataProxy
doPostRender
in interface TreeDataProxy
|
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 |