|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap oracle.jbo.common.JboAbstractMap oracle.adf.model.binding.DCControlBinding oracle.jbo.uicli.binding.JUControlBinding oracle.jbo.uicli.binding.JUCtrlValueBinding oracle.jbo.uicli.binding.JUCtrlHierNodeBinding oracle.jbo.uicli.jui.JUTreeNodeBinding
This class implements rules that govern display of each node in a JTree that is bound to a JUTreeBinding. It also governs what to display when the associated node is expanded. The framework creates instances of this class for each node in the tree.
Row
,
RowIterator
,
JUTreeBinding
,
JTree
Nested Class Summary |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Field Summary |
Fields inherited from class oracle.jbo.uicli.binding.JUCtrlHierNodeBinding |
ATTR_CHILDREN, ATTR_HIER_BINDING, ATTR_HIER_TYPE, ATTR_PARENT, ATTR_PROMPT, ATTR_RANGE_SET, ATTR_ROW_KEY, mChildIterBinding, mChildren, mExpandable, mHierBinding, mNodeValue, mParentNode, mRowKey, mTypeBinding |
Fields inherited from class oracle.jbo.uicli.binding.JUCtrlValueBinding |
ATTR_ATTRIBUTE, ATTR_ATTRIBUTE_DEF, ATTR_ATTRIBUTE_DEFS, ATTR_ATTRIBUTE_VALUE, ATTR_ATTRIBUTE_VALUES, ATTR_ATTRIBUTES, ATTR_DISPLAY_HINT, ATTR_INPUT_VALUE, ATTR_LABEL, ATTR_LABELS, ATTR_LABELSET, ATTR_MANDATORY, ATTR_PATH, ATTR_TOOLTIP, ATTR_UPDATEABLE, mHasInputVal, mInputVal, SEP_LIST_DISPLAY |
Fields inherited from class oracle.adf.model.binding.DCControlBinding |
ATTR_CURRENTROW, ATTR_DEF, ATTR_ERROR, ATTR_ERRORS, ATTR_FULLNAME, ATTR_ITER, ATTR_NAME, mInternalGet_KeyResolved, ROW_KEY_STR |
Constructor Summary | |
protected |
JUTreeNodeBinding(javax.swing.JTree tr,
JUTreeBinding treeBinding,
JUTreeNodeBinding parent,
JUIteratorBinding iterBinding,
JUCtrlHierTypeBinding typeBinding,
Row row,
boolean expandable)
|
protected |
JUTreeNodeBinding(javax.swing.JTree tr,
JUTreeBinding treeBinding,
JUTreeNodeBinding parent,
JUIteratorBinding iterBinding,
java.lang.String attrName,
java.lang.Object nodeVal,
boolean expandable)
*** For internal framework use only *** |
protected |
JUTreeNodeBinding(JUCtrlHierBinding treeBinding,
JUCtrlHierNodeBinding parent,
JUIteratorBinding iterBinding,
JUCtrlHierTypeBinding typeBinding,
Row row,
boolean expandable)
*** For internal framework use only *** |
Method Summary | |
void |
addControlToPanel(java.lang.Object panel,
java.lang.Object layoutObject,
java.lang.Object layoutCons)
*** For internal framework use only *** |
void |
collapse()
Collapses the detail nodes of this node and closes this node. |
void |
expand()
Expands this node if this node has child-rows to display. |
protected JUCtrlHierNodeBinding |
findChildNode(Key key)
|
javax.swing.tree.DefaultMutableTreeNode |
getTreeNode()
Returns the Swing TreeNode object to which this node is associated. |
javax.swing.tree.TreePath |
getTreePath()
Returns the TreePath that represents this node in the containing JTree hierarchy. |
java.lang.Object |
getValueAt(int rowIndex,
int attrIndex)
Returns the value that this node displays. |
void |
myUpdateValuesFromRows(Row[] rows,
boolean clear)
Updates the child nodes that this node contains after optionally clearing out all the currently displayed children based on the clear flag. |
void |
nodeSelected()
Finds the row that this node represents in the associated iterator by asking this node's parent node for the iterator and then sets that row as current row in the RowIterator. |
boolean |
removeChild(JUCtrlHierNodeBinding child)
|
void |
setValueAt(java.lang.Object value,
int rowIndex,
int attrIndex)
Sets the value that this node is displaying. |
void |
updateNavigated(NavigationEvent event)
Update the current row display as the currency has navigated in the iterator with which this control binding is working. |
void |
updateRowDeleted(DeleteEvent event)
Removes a child node that displays the deleted row from amongst this node's children. |
void |
updateValuesFromRow(Row row)
Finds the child node that displays this row and updates its display. |
Methods inherited from class oracle.jbo.uicli.binding.JUCtrlHierNodeBinding |
addChild, executeQueryIfNeeded, findMatchingNode, getChildIteratorBinding, getChildren, getHierBinding, getHierTypeBinding, getKeyPath, getParent, getParentRowSetIterator, getRowKey, internalGet, internalGetRow, isAutoSyncEnabled, refreshControl, setAutoSyncEnabled, toString, updateRangeScrolled, updateRowInserted, updateValuesFromRows |
Methods inherited from class oracle.jbo.uicli.binding.JUControlBinding |
getFormBinding, getIteratorBinding, reportException, setFormBinding |
Methods inherited from class oracle.adf.model.binding.DCControlBinding |
addToDCExceptions, executeQuery, get, getAllRowsInRange, getApplicationModule, getBindingContainer, getControl, getControlModel, getCurrentRow, getDCIteratorBinding, getDef, getDefFullName, getDefName, getFullName, getLayoutObject, getName, getRowAtRangeIndex, getRowIterator, getTransaction, getViewObject, hashCode, internalSetName, isControlQueriable, needsEstimatedRowCount, removeFromDCExceptions, reportException, resetAttributeExceptionInRow, setBindingContainer, setControl, setName |
Methods inherited from class oracle.jbo.common.JboAbstractMap |
entrySet, equals |
Methods inherited from class java.util.AbstractMap |
clear, clone, containsKey, containsValue, isEmpty, keySet, putAll, remove, size, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.jbo.StructureDef |
getDefFullName, getDefName, getFullName, getName |
Constructor Detail |
protected JUTreeNodeBinding(javax.swing.JTree tr, JUTreeBinding treeBinding, JUTreeNodeBinding parent, JUIteratorBinding iterBinding, java.lang.String attrName, java.lang.Object nodeVal, boolean expandable)
protected JUTreeNodeBinding(javax.swing.JTree tr, JUTreeBinding treeBinding, JUTreeNodeBinding parent, JUIteratorBinding iterBinding, JUCtrlHierTypeBinding typeBinding, Row row, boolean expandable)
protected JUTreeNodeBinding(JUCtrlHierBinding treeBinding, JUCtrlHierNodeBinding parent, JUIteratorBinding iterBinding, JUCtrlHierTypeBinding typeBinding, Row row, boolean expandable)
Method Detail |
public void nodeSelected()
public void addControlToPanel(java.lang.Object panel, java.lang.Object layoutObject, java.lang.Object layoutCons)
addControlToPanel
in class JUCtrlHierNodeBinding
public boolean removeChild(JUCtrlHierNodeBinding child)
removeChild
in class JUCtrlHierNodeBinding
public void collapse()
public void expand()
protected JUCtrlHierNodeBinding findChildNode(Key key)
findChildNode
in class JUCtrlHierNodeBinding
public java.lang.Object getValueAt(int rowIndex, int attrIndex)
public void setValueAt(java.lang.Object value, int rowIndex, int attrIndex)
setValueAt
in class JUCtrlHierNodeBinding
public javax.swing.tree.DefaultMutableTreeNode getTreeNode()
public javax.swing.tree.TreePath getTreePath()
public void updateNavigated(NavigationEvent event)
JUCtrlValueBinding
updateNavigated
in class JUCtrlHierNodeBinding
public void updateRowDeleted(DeleteEvent event)
updateRowDeleted
in class JUCtrlHierNodeBinding
public void updateValuesFromRow(Row row)
updateValuesFromRow
in class JUCtrlHierNodeBinding
public void myUpdateValuesFromRows(Row[] rows, boolean clear)
JUCtrlHierNodeBinding
This method determines the rules to associate with each row in the given array of rows.
myUpdateValuesFromRows
in class JUCtrlHierNodeBinding
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.