Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


oracle.jbo.uicli.binding
Class JUCtrlHierBinding

java.lang.Object
  extended byjava.util.AbstractMap
      extended byoracle.jbo.common.JboAbstractMap
          extended byoracle.adf.model.binding.DCControlBinding
              extended byoracle.jbo.uicli.binding.JUControlBinding
                  extended byoracle.jbo.uicli.binding.JUCtrlValueBinding
                      extended byoracle.jbo.uicli.binding.JUCtrlRangeBinding
                          extended byoracle.jbo.uicli.binding.JUCtrlHierBinding

All Implemented Interfaces:
JUCtrlInputValueHandler, java.util.Map, StructureDef
Direct Known Subclasses:
JUTreeBinding

public class JUCtrlHierBinding
extends JUCtrlRangeBinding

Nested Class Summary

Nested classes inherited from class java.util.Map
java.util.Map.Entry

Field Summary
java.lang.String ATTR_ROOTNODE
protected JUCtrlHierNodeBinding mRootBinding
protected JUCtrlHierTypeBinding[] mTypeBindings

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
JUCtrlHierBinding(java.lang.Object control, JUIteratorBinding iterBinding, java.lang.String[] attrNames, JUCtrlHierTypeBinding[] typeBindings)

Method Summary
protected JUCtrlHierNodeBinding createNodeBinding(JUCtrlHierNodeBinding parent, JUIteratorBinding iterBinding, JUCtrlHierTypeBinding typeBinding, Row row, boolean expandable)
protected void createRootBinding()
JUCtrlHierNodeBinding findNodeByKeyPath(java.util.List al)
JUCtrlHierNodeBinding getRootNodeBinding()
Returns the root node binding that contains the iterator that the root node is displaying.
JUCtrlHierTypeBinding[] getTypeBindings()
protected java.lang.Object internalGet(java.lang.String key)
Subclasses should override this to handle a specific key.
protected JUCtrlHierNodeBinding restoreTreeAndExpand(java.util.ArrayList al)
Advanced method: Applications should not use this method
void updateValuesFromRow(Row row)
This method is called in the framework when values of a single row need to be updated in a control (typically on a navigation event).
void updateValuesFromRows(Row[] rows, boolean clear)
Updates the nodes in the tree based on the given set of rows.

Methods inherited from class oracle.jbo.uicli.binding.JUCtrlRangeBinding
addControlToPanel, createValueBindingRef, getEstimatedRowCount, getRangeSet, getRangeSize, getRangeStart, getValueAt, needsEstimatedRowCount, refreshControl, release, resetInputState, setValueAt, updateNavigated, updateRangeScrolled

Methods inherited from class oracle.jbo.uicli.binding.JUCtrlValueBinding
compareAndSetAttribute, displayInShortForm, findAttributeDef, getAttribute, getAttribute, getAttribute, getAttributeCount, getAttributeDef, getAttributeDef, getAttributeDefs, getAttributeFromRow, getAttributeFromRow, getAttributeFromRow, getAttributeFromRow, getAttributeFromRow, getAttributeIndexOf, getAttributeNames, getAttributes, getAttributes, getAttributeUIHelper, getAttributeValidators, getAttributeValidators, getAttributeValue, getAttributeValue, getAttributeValueFromRow, getAttributeValues, getAttributeValues, getControlType, getDisplayHeight, getDisplayHint, getDisplayWidth, getError, getErrors, getHint, getHint, getInputValue, getLabel, getLabel, getLabels, getLabelSet, getLocaleContext, getMergedAttributeValues, getPath, getTooltip, getTooltip, hasFormatInformation, internalGetRow, isArrayIteratorType, isAttributeMandatory, isAttributeUpdateable, isMandatory, isNewInputValue, isUpdateable, lookupAttributeDef, processInputException, processNewInputValue, put, setArrayIteratorType, setAttribute, setAttribute, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeValue, setError, setInputValue, setInputValue, setInputValueHandler, stopEditing, updateRowDeleted, updateRowInserted

Methods inherited from class oracle.jbo.uicli.binding.JUControlBinding
getFormBinding, getIteratorBinding, reportException, setFormBinding

Methods inherited from class oracle.adf.model.binding.DCControlBinding
addToDCExceptions, executeQuery, executeQueryIfNeeded, get, getAllRowsInRange, getApplicationModule, getBindingContainer, getControl, getControlModel, getCurrentRow, getDCIteratorBinding, getDef, getDefFullName, getDefName, getFullName, getLayoutObject, getName, getRowAtRangeIndex, getRowIterator, getTransaction, getViewObject, hashCode, internalSetName, isControlQueriable, removeFromDCExceptions, reportException, resetAttributeExceptionInRow, setBindingContainer, setControl, setName, toString

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

Field Detail

mTypeBindings

protected JUCtrlHierTypeBinding[] mTypeBindings

mRootBinding

protected JUCtrlHierNodeBinding mRootBinding

ATTR_ROOTNODE

public final java.lang.String ATTR_ROOTNODE
See Also:
Constant Field Values

Constructor Detail

JUCtrlHierBinding

public JUCtrlHierBinding(java.lang.Object control,
                         JUIteratorBinding iterBinding,
                         java.lang.String[] attrNames,
                         JUCtrlHierTypeBinding[] typeBindings)

Method Detail

getRootNodeBinding

public JUCtrlHierNodeBinding getRootNodeBinding()
Returns the root node binding that contains the iterator that the root node is displaying.

getTypeBindings

public JUCtrlHierTypeBinding[] getTypeBindings()

updateValuesFromRow

public void updateValuesFromRow(Row row)
This method is called in the framework when values of a single row need to be updated in a control (typically on a navigation event).
Overrides:
updateValuesFromRow in class JUCtrlRangeBinding

restoreTreeAndExpand

protected JUCtrlHierNodeBinding restoreTreeAndExpand(java.util.ArrayList al)
Advanced method: Applications should not use this method

updateValuesFromRows

public void updateValuesFromRows(Row[] rows,
                                 boolean clear)
Updates the nodes in the tree based on the given set of rows. Clears the existing display if clear flag is true.
Overrides:
updateValuesFromRows in class JUCtrlRangeBinding

createRootBinding

protected void createRootBinding()

createNodeBinding

protected JUCtrlHierNodeBinding createNodeBinding(JUCtrlHierNodeBinding parent,
                                                  JUIteratorBinding iterBinding,
                                                  JUCtrlHierTypeBinding typeBinding,
                                                  Row row,
                                                  boolean expandable)

internalGet

protected java.lang.Object internalGet(java.lang.String key)
Subclasses should override this to handle a specific key. If they do find the key valid, they should also set the mInternalGet_KeyResolved to 'true' so that bean-introspection is not done for valid null-value returns from the internalGet() call.

Properties returned vis getter on this control bindings are: