public class JUCtrlHierBinding extends JUCtrlRangeBinding
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_CHILDREN |
static java.lang.String |
ATTR_ROOTNODE |
protected JUCtrlHierNodeBinding |
mRootBinding |
protected JUCtrlHierTypeBinding[] |
mTypeBindings |
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, EMPTY_STRING, GET_ALLOWS, mAttrs, mHasInputVal, mInputVal, SEP_LIST_DISPLAY
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
MAP_NULL_VALUE
Modifier | Constructor and Description |
---|---|
protected |
JUCtrlHierBinding() |
|
JUCtrlHierBinding(java.lang.Object control,
JUIteratorBinding iterBinding,
java.lang.String[] attrNames,
JUCtrlHierTypeBinding[] typeBindings) |
Modifier and Type | Method and Description |
---|---|
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() |
protected void |
reinitializeForAllNodes() |
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.
|
addControlToPanel, createValueBindingRef, findOrCreateSelectionAttributeDef, getCurrentRowIndex, getDeferredEstimatedRowCount, getEstimatedRowCount, getInputErrorsForRowKey, getInputValueInRow, getRangeSet, getRangeSize, getRangeStart, getValueAt, isSelectionEnabled, needsEstimatedRowCount, refreshControl, setCurrentRowAtIndex, setInputValueInRow, setRangeStart, setValueAt, updateNavigated, updateRangeScrolled, useRowSpecificHints
addBindingContainerChangeListenerForCtxEvent, addDataChangeListener, clearEventsCache, compareAndSetAttribute, createAndNotifyDCE, createEventProducer, displayInShortForm, ensureVariableManager, eventForMyRow, fetchAttrDefs, findAttributeDef, generateDCE, getAttribute, getAttribute, getAttribute, getAttributeCount, getAttributeDef, getAttributeDef, getAttributeDefs, getAttributeDefsForRow, getAttributeFromRow, getAttributeFromRow, getAttributeFromRow, getAttributeFromRow, getAttributeFromRow, getAttributeIndexOf, getAttributeNames, getAttributes, getAttributes, getAttributeUIHelper, getAttributeValidators, getAttributeValidators, getAttributeValue, getAttributeValue, getAttributeValueFromRow, getAttributeValues, getAttributeValues, getAttrViewExpressions, getBindingHint, getCachedEvents, getCategory, getChangeEventPolicy, getColumnNameForQuery, getControlType, getDataChangeEventPolicy, getDataChangeListener, getDisplayHeight, getDisplayHint, getDisplayWidth, getError, getErrors, getEventProducer, getFieldOrder, getFormat, getFormattedAttributeValue, getHint, getHint, getInputValue, getInputValue, getInputValueHandler, getInputValueOnError, getIteratorBindingForDCE, getIteratorRenderHint, getLabel, getLabel, getLabelSet, getLastEventId, getLocaleContext, getMasterKeyPathForDCE, getMergedAttributeValues, getNullValueString, getPath, getPermissionDef, getPermissionHolder, getPermissionInfo, getSelectionDef, getState, getTooltip, getTooltip, hasEventProducer, hasFormatInformation, hasServerBindingChanged, hasVariables, initResources, internalGetDataControlReference, internalGetRow, internalHasPermission, internalHasPermission, isArrayIteratorType, isAttributeMandatory, isAttributeUpdateable, isAttributeUpdateable, isAttributeUpdateable, isAttributeUpdateable, isAutoSubmit, isEventsCachingEnabled, isMandatory, isNewInputValue, isNullInsertKeyPathForDCE, isPushDataChangeEvents, isPushOrPollDataChangeEvents, isUpdateable, isViewable, lookupAttributeDef, notifyDataChangeEvent, notifyDataExceptionEvent, notifyDCE, pinDataControl, processInputException, processNewInputValue, put, removeAttrName, removeDataChangeListener, removeFromDCExceptions, resetAttributeDefs, resetInputState, resolvePath, restoreFromState, setArrayIteratorType, setAttribute, setAttribute, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeValue, setAttributeValuesInRow, setAttrViewExpressions, setError, setEventProducer, setEventsCaching, setInputValue, setInputValue, setInputValueHandler, setIteratorBinding, setListener, setNullValueString, startEvents, stopEditing, stopEvents, updateRow, updateRowDeleted, updateRowInserted, validateInputValue
getCurrentRow, getFormBinding, getIteratorBinding, reportException, setFormBinding
addToDCExceptions, evaluateBooleanExpression, executeQuery, executeQueryIfNeeded, get, getAllRowsInRange, getApplicationModule, getAttributeListener, getBindingContainer, getControl, getControlModel, getDCIteratorBinding, getDef, getDefFullName, getDefName, getFullName, getLayoutObject, getName, getPermission, getPermissionTargetName, getRowAtRangeIndex, getRowIterator, getTransaction, getViewableExpr, getViewObject, hasAttributeListener, hashCode, internalGetDataControl, internalSetName, isAssociatedWithDataControl, isControlQueriable, isControlViewable, isReleased, release, reportException, resetAttributeExceptionInRow, setBindingContainer, setControl, setDataControlPinned, setListener, setName, setViewableExpr, toString
entrySet, equals, internalPut, setThrowIfPropertyNotFoundOnGet
clear, clone, containsKey, containsValue, isEmpty, keySet, putAll, remove, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
getLabelSet
setListener
getName, getPath, release, resolvePath, setListener
getDefFullName, getDefName, getFullName, getName
protected JUCtrlHierTypeBinding[] mTypeBindings
protected JUCtrlHierNodeBinding mRootBinding
public static final java.lang.String ATTR_ROOTNODE
public static final java.lang.String ATTR_CHILDREN
protected JUCtrlHierBinding()
public JUCtrlHierBinding(java.lang.Object control, JUIteratorBinding iterBinding, java.lang.String[] attrNames, JUCtrlHierTypeBinding[] typeBindings)
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()
protected void reinitializeForAllNodes()
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 levelpublic 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