|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-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.JUCtrlRangeBinding oracle.jbo.uicli.binding.JUCtrlHierBinding
public class JUCtrlHierBinding
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 | |
---|---|
static java.lang.String |
ATTR_CHILDREN
|
static 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_AUTOSUBMIT, ATTR_CATEGORY, ATTR_DISPLAY_HEIGHT, ATTR_DISPLAY_HINT, ATTR_DISPLAY_WIDTH, ATTR_FIELD_ORDER, 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 |
JUCtrlHierBinding()
|
|
JUCtrlHierBinding(java.lang.Object control,
JUIteratorBinding iterBinding,
java.lang.String[] attrNames,
JUCtrlHierTypeBinding[] typeBindings)
|
Method Summary | |
---|---|
protected JUCtrlHierNodeBinding |
bringNodeToRangeKeyPath(java.util.List<Key> keyPath,
int rangeIndex)
Find a node by KeyPath. |
protected void |
clearAttrDefs()
|
protected void |
clearRootBinding()
|
protected JUCtrlHierNodeBinding |
createNodeBinding(JUCtrlHierNodeBinding parent,
JUIteratorBinding iterBinding,
JUCtrlHierTypeBinding typeBinding,
Row row,
boolean expandable)
|
protected void |
createRootBinding()
|
protected JUCtrlHierNodeBinding |
findNodeByDCEPath(java.lang.Object[] vals)
only for use by DataChangeEvents generated from nonADFbc DCs. |
JUCtrlHierNodeBinding |
findNodeByKeyPath(java.util.List al)
|
java.util.List |
getChildren()
*** For internal framework use only *** Returns children of the root node for easy el-access. |
java.util.Map |
getFormats()
|
protected java.util.Map |
getHintMap(java.lang.String hintType)
|
java.util.Map |
getHints()
Returns a map that can resolve the custom properties on the attributeDef or attributeDef on an accessor that this tree exposes. |
java.util.Map |
getLabels()
|
JUCtrlHierNodeBinding |
getMasterNodeForDCE(DataChangeEntry en)
*** For internal framework use only *** Returns the master node for this event entry. |
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 |
internalGetRootNodeBinding()
|
void |
release(int flags)
|
protected JUCtrlHierNodeBinding |
restoreTreeAndExpand(java.util.ArrayList al)
Advanced method: Applications should not use this method |
void |
setAttributeNames(java.lang.String[] attrNames)
|
void |
setAttributes(AttributeDef[] attrs)
|
protected void |
setDef(DCControlBindingDef controlDef)
|
protected void |
setTypeBindings(JUCtrlHierTypeBinding[] typeBindings)
|
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.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.adf.model.RangeBinding |
---|
getLabelSet |
Methods inherited from interface oracle.adf.model.ControlBinding |
---|
setListener |
Methods inherited from interface oracle.binding.ControlBinding |
---|
getName, getPath, release, resolvePath, setListener |
Methods inherited from interface oracle.jbo.StructureDef |
---|
getDefFullName, getDefName, getFullName, getName |
Field Detail |
---|
protected JUCtrlHierTypeBinding[] mTypeBindings
protected JUCtrlHierNodeBinding mRootBinding
public static final java.lang.String ATTR_ROOTNODE
public static final java.lang.String ATTR_CHILDREN
Constructor Detail |
---|
protected JUCtrlHierBinding()
public JUCtrlHierBinding(java.lang.Object control, JUIteratorBinding iterBinding, java.lang.String[] attrNames, JUCtrlHierTypeBinding[] typeBindings)
Method Detail |
---|
protected void setDef(DCControlBindingDef controlDef)
setDef
in class JUCtrlValueBinding
protected void setTypeBindings(JUCtrlHierTypeBinding[] typeBindings)
public JUCtrlHierNodeBinding getRootNodeBinding()
public JUCtrlHierTypeBinding[] getTypeBindings()
public void updateValuesFromRow(Row row)
updateValuesFromRow
in class JUCtrlRangeBinding
protected JUCtrlHierNodeBinding restoreTreeAndExpand(java.util.ArrayList al)
public void updateValuesFromRows(Row[] rows, boolean clear)
updateValuesFromRows
in class JUCtrlRangeBinding
protected java.util.Map getHintMap(java.lang.String hintType)
public java.util.Map getFormats()
getFormats
in class JUCtrlValueBinding
public java.util.Map getLabels()
getLabels
in class JUCtrlValueBinding
protected void clearRootBinding()
protected void clearAttrDefs()
clearAttrDefs
in class JUCtrlValueBinding
protected void createRootBinding()
protected JUCtrlHierNodeBinding createNodeBinding(JUCtrlHierNodeBinding parent, JUIteratorBinding iterBinding, JUCtrlHierTypeBinding typeBinding, Row row, boolean expandable)
protected java.lang.Object internalGet(java.lang.String key)
Properties returned vis getter on this control bindings are:
rootNodeBinding
- returns getRootNodeBinding()children
- returns getRootNodeBinding().getChildren()()
internalGet
in class JUCtrlRangeBinding
public java.util.Map getHints()
getHints
in class JUCtrlValueBinding
public java.util.List getChildren()
public void release(int flags)
release
in class JUCtrlRangeBinding
public final JUCtrlHierNodeBinding getMasterNodeForDCE(DataChangeEntry en)
protected JUCtrlHierNodeBinding findNodeByDCEPath(java.lang.Object[] vals)
protected JUCtrlHierNodeBinding bringNodeToRangeKeyPath(java.util.List<Key> keyPath, int rangeIndex)
keyPath
- A Java List containing keys from the root level down to a given noderangeIndex
- The range index to put the node at each level
public JUCtrlHierNodeBinding findNodeByKeyPath(java.util.List al)
protected JUCtrlHierNodeBinding internalGetRootNodeBinding()
public void setAttributes(AttributeDef[] attrs)
setAttributes
in class JUCtrlValueBinding
public void setAttributeNames(java.lang.String[] attrNames)
setAttributeNames
in class JUCtrlValueBinding
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |