public class JUCtrlHierNodeBinding extends JUCtrlValueBinding
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | ATTR_BINDINGS | 
| static java.lang.String | ATTR_CHILDREN | 
| static java.lang.String | ATTR_HIER_BINDING | 
| static java.lang.String | ATTR_HIER_TYPE | 
| static java.lang.String | ATTR_KEY_PATH | 
| static java.lang.String | ATTR_PARENT | 
| static java.lang.String | ATTR_PROMPT | 
| static java.lang.String | ATTR_REGION_BINDING | 
| static java.lang.String | ATTR_ROW | 
| static java.lang.String | ATTR_ROW_DATA_PROVIDER | 
| static java.lang.String | ATTR_ROW_KEY | 
| static java.lang.String | ATTR_ROW_SELECTED | 
| static java.lang.String | HIER_ACCESSOR_LABEL | 
| protected JUIteratorBinding | mChildIterBinding*** For internal framework use only *** | 
| protected java.util.ArrayList | mChildren*** For internal framework use only *** | 
| protected boolean | mExpandable*** For internal framework use only *** | 
| protected JUCtrlHierBinding | mHierBinding*** For internal framework use only *** | 
| protected java.lang.Object | mNodeValue*** For internal framework use only *** | 
| protected JUCtrlHierNodeBinding | mParentNode*** For internal framework use only *** | 
| protected Key | mRowKey*** For internal framework use only *** | 
| protected JUCtrlHierTypeBinding | mTypeBinding*** For internal framework use only *** | 
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_DISPLAYATTR_CURRENTROW, ATTR_DEF, ATTR_ERROR, ATTR_ERRORS, ATTR_FULLNAME, ATTR_ITER, ATTR_NAME, DC_BINDING_ERROR, mAttributeListener, mInternalGet_KeyResolved, mPermission, mPermissionInfo, ROW_KEY_STRMAP_NULL_VALUE| Constructor and Description | 
|---|
| JUCtrlHierNodeBinding(JUCtrlHierBinding hierBinding,
                     JUCtrlHierNodeBinding parent,
                     JUIteratorBinding iterBinding,
                     JUCtrlHierTypeBinding typeBinding,
                     Row row,
                     boolean expandable) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addChild(JUCtrlHierNodeBinding child) | 
| void | addControlToPanel(java.lang.Object panel,
                 java.lang.Object layoutObject,
                 java.lang.Object layoutCons)*** For internal framework use only *** | 
| protected void | convertRowsToNodes(Row[] rows) | 
| protected void | createAndNotifyDCE(DataChangeEntry.DataChangeType type,
                  java.lang.Object[] idvals,
                  java.lang.String[] names) | 
| protected void | createAndNotifyKeyChangedDCE(UpdateEvent ue) | 
| protected void | createEventProducer()createEventProducer creates new instance of JUCtrlValueEventProducer is not exists | 
| void | ensureRegionBindingStartsWith(java.lang.String name)Deprecated. 
 Applications should not use this method. | 
| protected boolean | eventForMyRow(UpdateEvent event) | 
| void | executeQueryIfNeeded()Execute the query for the RowIterator that this row is associated with if it is not already executed. | 
| protected AttributeDef[] | fetchAttrDefs(DCIteratorBinding iter) | 
| protected JUCtrlHierNodeBinding | findChildNode(Key key) | 
| protected JUCtrlHierNodeBinding | findMatchingNode(Key key) | 
| JUCtrlHierTypeBinding[] | getAccessorTypeBindings() | 
| protected java.lang.Object | getBindingHint(java.lang.String key,
              LocaleContext lCtx)Subclasses to override to provide custom impl. | 
| RegionBinding | getBindings()Return the nested bindingContainer regionBinding for this node. | 
| protected DataControl.DataChangeEventPolicy | getChangeEventPolicy() | 
| DCIteratorBinding | getChildIteratorBinding() | 
| java.util.ArrayList | getChildren() | 
| java.util.ArrayList | getChildren(java.lang.String accName)*** For internal framework use only ***
 Return a list of children nodes from an accessor child with 
 the matching accessor name (accName)
 when this node expands into a multiple accessor nodes. | 
| protected int | getChildrenCount(boolean deferred)For use by subclasses to get count of direct children nodes under this node. | 
| java.lang.String | getCurrencyString() | 
| protected DataChangeListener | getDataChangeListener() | 
| JUCtrlHierBinding | getHierBinding() | 
| JUCtrlHierTypeBinding | getHierTypeBinding()Returns the type binding that governs the display of this node. | 
| protected JUIteratorBinding | getIteratorBindingForDCE() | 
| java.util.ArrayList | getKeyPath() | 
| protected java.lang.Object | getNodeValue() | 
| JUCtrlHierNodeBinding | getParent() | 
| RowSetIterator | getParentRowSetIterator()Returns the RowSetIterator that this node's row is part of. | 
| protected DCPermissionDef | getPermissionDef(java.lang.String name) | 
| RegionBinding | getRegionBinding()Get the current nested - bindingContainer associated with this node | 
| Row | getRow() | 
| Key | getRowKey()Returns the Key object that identifies the row that this node is displaying. | 
| boolean | hasChildren()*** For internal framework use only ***
 For subclass usages to find out if this node has been executed and has children. | 
| protected java.lang.Object | internalGet(java.lang.String key)Subclasses should override this to handle a specific key. | 
| protected Row | internalGetRow()Internal: Applications should not use this method. | 
| protected boolean | internalHasPermission(java.lang.String actions) | 
| protected boolean | internalHasPermission(java.lang.String name,
                     java.lang.String actions) | 
| boolean | isAccessorFolderNode()*** For internal framework use only ***
 true if this node represents a folder node for an accessor in case of a 
 master node with mulitple accessors. | 
| protected boolean | isAutoSyncEnabled() | 
| protected boolean | isPushOrPollDataChangeEvents() | 
| boolean | isRowSelected() | 
| 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. | 
| protected void | processInputException(ValidationException vex) | 
| void | refreshControl()*** For internal framework use only *** | 
| protected void | refreshNode(Row row) | 
| void | release(int flags) | 
| boolean | removeChild(JUCtrlHierNodeBinding child) | 
| void | setAttributeNames(java.lang.String[] attrNames) | 
| void | setAttributes(AttributeDef[] attrs) | 
| void | setAutoSyncEnabled(boolean flag)Advanced method: Applications should not use this method unless
 in batchmode and control the sync() calls to middletier. | 
| protected void | setRowAsCurrentOnTargetIterator()Deprecated. 
 since 11.1.1.2.0 use syncCurrentRow() | 
| void | setRowSelected(boolean flag) | 
| protected void | setupAccessors(Row row) | 
| void | setValueAt(java.lang.Object value,
          int rowIndex,
          int attrIndex) | 
| protected void | syncCurrentRow()Sync this node and it's parents are current row throughout the node hierarchy. | 
| java.lang.String | toString()Renders the attribute value that this node is supposed to show. | 
| 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 | updateRangeScrolled(ScrollEvent event)Update the control display based on whether the rows of data has scrolled. | 
| void | updateRowDeleted(DeleteEvent event)Removes a child node that displays the deleted row from amongst this node's children. | 
| void | updateRowInserted(InsertEvent event)Update the display by adding a node to render the inserted row as this node's child. | 
| void | updateValuesFromRow(Row row)Finds the child node that displays this row and updates its display. | 
| void | updateValuesFromRows(Row[] rows,
                    boolean clear)Given a set of rows, update the control with new attribute values from the rows based on
 the attributes with which this binding is associated. | 
addBindingContainerChangeListenerForCtxEvent, addDataChangeListener, clearAttrDefs, clearEventsCache, compareAndSetAttribute, displayInShortForm, ensureVariableManager, 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, getCachedEvents, getCategory, getColumnNameForQuery, getControlType, getDataChangeEventPolicy, getDisplayHeight, getDisplayHint, getDisplayWidth, getError, getErrors, getEventProducer, getFieldOrder, getFormat, getFormats, getFormattedAttributeValue, getHint, getHint, getHints, getInputErrorsForRowKey, getInputValue, getInputValue, getInputValueHandler, getInputValueInRow, getInputValueOnError, getIteratorRenderHint, getLabel, getLabel, getLabels, getLabelSet, getLastEventId, getLocaleContext, getMasterKeyPathForDCE, getMergedAttributeValues, getNullValueString, getPath, getPermissionHolder, getPermissionInfo, getSelectionDef, getState, getTooltip, getTooltip, hasEventProducer, hasFormatInformation, hasServerBindingChanged, hasVariables, initResources, internalGetDataControlReference, isArrayIteratorType, isAttributeMandatory, isAttributeUpdateable, isAttributeUpdateable, isAttributeUpdateable, isAttributeUpdateable, isAutoSubmit, isEventsCachingEnabled, isMandatory, isNewInputValue, isNullInsertKeyPathForDCE, isPushDataChangeEvents, isUpdateable, isViewable, lookupAttributeDef, notifyDataChangeEvent, notifyDataExceptionEvent, notifyDCE, pinDataControl, processNewInputValue, put, removeAttrName, removeDataChangeListener, removeFromDCExceptions, resetAttributeDefs, resetInputState, resolvePath, restoreFromState, setArrayIteratorType, setAttribute, setAttribute, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeInRow, setAttributeValue, setAttributeValuesInRow, setAttrViewExpressions, setDef, setError, setEventProducer, setEventsCaching, setInputValue, setInputValue, setInputValueHandler, setInputValueInRow, setIteratorBinding, setListener, setNullValueString, startEvents, stopEditing, stopEvents, updateRow, useRowSpecificHints, validateInputValuegetCurrentRow, getFormBinding, getIteratorBinding, reportException, setFormBindingaddToDCExceptions, evaluateBooleanExpression, executeQuery, 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, needsEstimatedRowCount, release, reportException, resetAttributeExceptionInRow, setBindingContainer, setControl, setDataControlPinned, setListener, setName, setViewableExprentrySet, equals, internalPut, setThrowIfPropertyNotFoundOnGetclear, clone, containsKey, containsValue, isEmpty, keySet, putAll, remove, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitgetDefFullName, getDefName, getFullName, getNameprotected JUCtrlHierTypeBinding mTypeBinding
protected JUCtrlHierBinding mHierBinding
protected JUCtrlHierNodeBinding mParentNode
protected JUIteratorBinding mChildIterBinding
protected java.lang.Object mNodeValue
protected Key mRowKey
protected boolean mExpandable
protected java.util.ArrayList mChildren
public static final java.lang.String HIER_ACCESSOR_LABEL
public static final java.lang.String ATTR_HIER_TYPE
public static final java.lang.String ATTR_CHILDREN
public static final java.lang.String ATTR_PARENT
public static final java.lang.String ATTR_ROW_KEY
public static final java.lang.String ATTR_PROMPT
public static final java.lang.String ATTR_HIER_BINDING
public static final java.lang.String ATTR_ROW
public static final java.lang.String ATTR_ROW_DATA_PROVIDER
public static final java.lang.String ATTR_ROW_SELECTED
public static final java.lang.String ATTR_BINDINGS
public static final java.lang.String ATTR_REGION_BINDING
public static final java.lang.String ATTR_KEY_PATH
public JUCtrlHierNodeBinding(JUCtrlHierBinding hierBinding, JUCtrlHierNodeBinding parent, JUIteratorBinding iterBinding, JUCtrlHierTypeBinding typeBinding, Row row, boolean expandable)
public void release(int flags)
release in class JUCtrlValueBindingpublic void ensureRegionBindingStartsWith(java.lang.String name)
public JUCtrlHierBinding getHierBinding()
public JUCtrlHierNodeBinding getParent()
public Key getRowKey()
public DCIteratorBinding getChildIteratorBinding()
protected boolean isAutoSyncEnabled()
public void setAutoSyncEnabled(boolean flag)
Reset this flag if the tree node should not force a DataControl.sync() call to force fetching of data for this node. This method should be used in batch mode when the Tree is viewed in a thin-client and the application wants to control when to perform sync.
public void executeQueryIfNeeded()
executeQueryIfNeeded in class DCControlBindingprotected void syncCurrentRow()
protected void setRowAsCurrentOnTargetIterator()
public boolean hasChildren()
protected int getChildrenCount(boolean deferred)
public final boolean isAccessorFolderNode()
public java.util.ArrayList getChildren(java.lang.String accName)
public java.util.ArrayList getChildren()
public void addChild(JUCtrlHierNodeBinding child)
public boolean removeChild(JUCtrlHierNodeBinding child)
protected JUCtrlHierNodeBinding findChildNode(Key key)
protected JUCtrlHierNodeBinding findMatchingNode(Key key)
protected boolean eventForMyRow(UpdateEvent event)
eventForMyRow in class JUCtrlValueBindingpublic void updateRowInserted(InsertEvent event)
updateRowInserted in class JUCtrlValueBindingpublic void updateRowDeleted(DeleteEvent event)
updateRowDeleted in class JUCtrlValueBindingprotected void refreshNode(Row row)
protected final java.lang.Object getNodeValue()
public void updateValuesFromRow(Row row)
updateValuesFromRow in class JUCtrlValueBindingpublic void updateValuesFromRows(Row[] rows, boolean clear)
JUCtrlValueBindingupdateValuesFromRows in class JUCtrlValueBindingpublic void myUpdateValuesFromRows(Row[] rows, boolean clear)
This method determines the rules to associate with each row in the given array of rows.
protected void convertRowsToNodes(Row[] rows)
protected void setupAccessors(Row row)
public java.lang.String toString()
toString in class DCControlBindingpublic RowSetIterator getParentRowSetIterator()
public final JUCtrlHierTypeBinding getHierTypeBinding()
public JUCtrlHierTypeBinding[] getAccessorTypeBindings()
public final boolean isRowSelected()
public void setRowSelected(boolean flag)
protected java.lang.Object internalGet(java.lang.String key)
Properties returned vis getter on this control bindings are:
prompt - returns get the value that this node displays()children - returns getChildren()rowKey - returns getRowKey()hierType - returns getHierTypeBinding()hierBinding - returns getHierBinding()row - returns getRow()parent - returns getParent()bindings - returns getBindings()regionBinding - returns getRegionBinding()internalGet in class JUCtrlValueBindingpublic java.lang.String getCurrencyString()
public RegionBinding getBindings()
public RegionBinding getRegionBinding()
protected java.lang.Object getBindingHint(java.lang.String key,
                              LocaleContext lCtx)
JUCtrlValueBindinggetBindingHint in class JUCtrlValueBindingprotected void processInputException(ValidationException vex)
processInputException in class JUCtrlValueBindingpublic Row getRow()
protected Row internalGetRow()
JUCtrlValueBindinginternalGetRow in class JUCtrlValueBindingpublic void refreshControl()
Updates the values in a control that is bound using an Iterator already in use. (a valid row iterator) If you do not call this method, your control won't update unless you refresh the Iterator.
refreshControl in class DCControlBindingprotected boolean isPushOrPollDataChangeEvents()
isPushOrPollDataChangeEvents in class JUCtrlValueBindingpublic void updateNavigated(NavigationEvent event)
JUCtrlValueBindingupdateNavigated in class JUCtrlValueBindingpublic void updateRangeScrolled(ScrollEvent event)
JUCtrlValueBindingupdateRangeScrolled in class JUCtrlValueBindingScrollEventpublic void addControlToPanel(java.lang.Object panel,
                     java.lang.Object layoutObject,
                     java.lang.Object layoutCons)
JUControlBindingaddControlToPanel in class JUControlBindingpublic void setValueAt(java.lang.Object value,
              int rowIndex,
              int attrIndex)
public java.util.ArrayList getKeyPath()
protected boolean internalHasPermission(java.lang.String actions)
internalHasPermission in class JUCtrlValueBindingprotected boolean internalHasPermission(java.lang.String name,
                            java.lang.String actions)
internalHasPermission in class JUCtrlValueBindingprotected DCPermissionDef getPermissionDef(java.lang.String name)
getPermissionDef in class JUCtrlValueBindingpublic void setAttributeNames(java.lang.String[] attrNames)
setAttributeNames in class JUCtrlValueBindingpublic void setAttributes(AttributeDef[] attrs)
setAttributes in class JUCtrlValueBindingprotected DataChangeListener getDataChangeListener()
getDataChangeListener in class JUCtrlValueBindingprotected void createAndNotifyDCE(DataChangeEntry.DataChangeType type, java.lang.Object[] idvals, java.lang.String[] names)
createAndNotifyDCE in class JUCtrlValueBindingprotected void createAndNotifyKeyChangedDCE(UpdateEvent ue)
protected JUIteratorBinding getIteratorBindingForDCE()
getIteratorBindingForDCE in class JUCtrlValueBindingprotected DataControl.DataChangeEventPolicy getChangeEventPolicy()
getChangeEventPolicy in class JUCtrlValueBindingprotected AttributeDef[] fetchAttrDefs(DCIteratorBinding iter)
fetchAttrDefs in class JUCtrlValueBindingprotected void createEventProducer()
createEventProducer in class JUCtrlValueBinding