|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-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.JUCtrlHierNodeBinding
Nested Class Summary |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Field Summary | |
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_PARENT
|
static java.lang.String |
ATTR_PROMPT
|
static java.lang.String |
ATTR_RANGE_SET
|
static java.lang.String |
ATTR_ROW_KEY
|
protected DCIteratorBinding |
mChildIterBinding
|
protected java.util.ArrayList |
mChildren
|
protected boolean |
mExpandable
|
protected JUCtrlHierBinding |
mHierBinding
|
protected java.lang.Object |
mNodeValue
|
protected JUCtrlHierNodeBinding |
mParentNode
|
protected Key |
mRowKey
|
protected JUCtrlHierTypeBinding |
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_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 | |
JUCtrlHierNodeBinding(JUCtrlHierBinding hierBinding,
JUCtrlHierNodeBinding parent,
JUIteratorBinding iterBinding,
JUCtrlHierTypeBinding typeBinding,
Row row,
boolean expandable)
|
Method Summary | |
void |
addChild(JUCtrlHierNodeBinding child)
|
void |
addControlToPanel(java.lang.Object panel,
java.lang.Object layoutObject,
java.lang.Object layoutCons)
*** For internal framework use only *** |
void |
executeQueryIfNeeded()
Execute the query for the RowIterator that this row is associated with if it is not already executed. |
protected JUCtrlHierNodeBinding |
findChildNode(Key key)
|
protected JUCtrlHierNodeBinding |
findMatchingNode(Key key)
|
DCIteratorBinding |
getChildIteratorBinding()
|
java.util.ArrayList |
getChildren()
|
JUCtrlHierBinding |
getHierBinding()
|
JUCtrlHierTypeBinding |
getHierTypeBinding()
Returns the type binding that governs the display of this node. |
java.util.ArrayList |
getKeyPath()
|
JUCtrlHierNodeBinding |
getParent()
|
RowSetIterator |
getParentRowSetIterator()
Returns the RowSetIterator that this node's row is part of. |
Key |
getRowKey()
Returns the Key object that identifies the row that this node is displaying. |
protected java.lang.Object |
internalGet(java.lang.String key)
Subclasses should override this to handle a specific key. |
protected Row |
internalGetRow()
|
protected boolean |
isAutoSyncEnabled()
|
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 |
refreshControl()
*** For internal framework use only *** |
boolean |
removeChild(JUCtrlHierNodeBinding child)
|
void |
setAutoSyncEnabled(boolean flag)
Advanced method: Applications should not use this method unless in batchmode and control the sync() calls to middletier. |
void |
setValueAt(java.lang.Object value,
int rowIndex,
int attrIndex)
|
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. |
Methods inherited from class oracle.jbo.uicli.binding.JUControlBinding |
getFormBinding, getIteratorBinding, reportException, setFormBinding |
Methods inherited from class oracle.adf.model.binding.DCControlBinding |
addToDCExceptions, executeQuery, get, getAllRowsInRange, getApplicationModule, getBindingContainer, getControl, getControlModel, getCurrentRow, getDCIteratorBinding, getDef, getDefFullName, getDefName, getFullName, getLayoutObject, getName, getRowAtRangeIndex, getRowIterator, getTransaction, getViewObject, hashCode, internalSetName, isControlQueriable, needsEstimatedRowCount, removeFromDCExceptions, reportException, resetAttributeExceptionInRow, setBindingContainer, setControl, setName |
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 |
protected JUCtrlHierTypeBinding mTypeBinding
protected JUCtrlHierBinding mHierBinding
protected JUCtrlHierNodeBinding mParentNode
protected DCIteratorBinding mChildIterBinding
protected java.lang.Object mNodeValue
protected Key mRowKey
protected boolean mExpandable
protected java.util.ArrayList mChildren
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_RANGE_SET
public static final java.lang.String ATTR_HIER_BINDING
Constructor Detail |
public JUCtrlHierNodeBinding(JUCtrlHierBinding hierBinding, JUCtrlHierNodeBinding parent, JUIteratorBinding iterBinding, JUCtrlHierTypeBinding typeBinding, Row row, boolean expandable)
Method Detail |
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 DCControlBinding
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)
public void updateRowInserted(InsertEvent event)
updateRowInserted
in class JUCtrlValueBinding
public void updateRowDeleted(DeleteEvent event)
updateRowDeleted
in class JUCtrlValueBinding
public void updateValuesFromRow(Row row)
updateValuesFromRow
in class JUCtrlValueBinding
public void updateValuesFromRows(Row[] rows, boolean clear)
JUCtrlValueBinding
updateValuesFromRows
in class JUCtrlValueBinding
public void myUpdateValuesFromRows(Row[] rows, boolean clear)
This method determines the rules to associate with each row in the given array of rows.
public java.lang.String toString()
toString
in class DCControlBinding
public RowSetIterator getParentRowSetIterator()
public final JUCtrlHierTypeBinding getHierTypeBinding()
protected java.lang.Object internalGet(java.lang.String key)
Properties returned vis getter on this control bindings are:
children
- returns getChildren()rowKey
- returns getRowKey()hierType
- returns getHierTypeBinding()parent
- returns getParent()
internalGet
in class JUCtrlValueBinding
protected Row internalGetRow()
internalGetRow
in class JUCtrlValueBinding
public 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 DCControlBinding
public void updateNavigated(NavigationEvent event)
JUCtrlValueBinding
updateNavigated
in class JUCtrlValueBinding
public void updateRangeScrolled(ScrollEvent event)
JUCtrlValueBinding
updateRangeScrolled
in class JUCtrlValueBinding
ScrollEvent
public void addControlToPanel(java.lang.Object panel, java.lang.Object layoutObject, java.lang.Object layoutCons)
JUControlBinding
addControlToPanel
in class JUControlBinding
public void setValueAt(java.lang.Object value, int rowIndex, int attrIndex)
public java.util.ArrayList getKeyPath()
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.