|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
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
public class 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/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class oracle.jbo.uicli.binding.JUCtrlHierNodeBinding |
---|
ATTR_BINDINGS, ATTR_CHILDREN, ATTR_HIER_BINDING, ATTR_HIER_TYPE, ATTR_KEY_PATH, ATTR_PARENT, ATTR_PROMPT, ATTR_REGION_BINDING, ATTR_ROW, ATTR_ROW_DATA_PROVIDER, ATTR_ROW_KEY, ATTR_ROW_SELECTED, HIER_ACCESSOR_LABEL, 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_AUTOSUBMIT, ATTR_DISPLAY_HEIGHT, ATTR_DISPLAY_HINT, ATTR_DISPLAY_WIDTH, ATTR_FORMAT, ATTR_FORMATS, ATTR_HINTS, ATTR_INPUT_VALUE, ATTR_LABEL, ATTR_LABELS, ATTR_LABELSET, ATTR_MANDATORY, ATTR_PATH, ATTR_TOOLTIP, ATTR_UPDATEABLE, ATTR_VIEWABLE, DATACHANGE_EVENT_POLICY, GET_ALLOWS, mAttrs, 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, DC_BINDING_ERROR, mAttributeListener, mInternalGet_KeyResolved, mPermission, mPermissionInfo, ROW_KEY_STR |
Fields inherited from class oracle.jbo.common.JboAbstractMap |
---|
MAP_NULL_VALUE |
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)
|
protected void |
setupAccessors(Row row)
|
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.JUControlBinding |
---|
getCurrentRow, getFormBinding, getIteratorBinding, reportException, setFormBinding |
Methods inherited from class oracle.jbo.common.JboAbstractMap |
---|
entrySet, equals, internalPut, setThrowIfPropertyNotFoundOnGet |
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 |
---|
protected void setupAccessors(Row row)
setupAccessors
in class JUCtrlHierNodeBinding
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 Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |