|
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.JUCtrlRangeBinding
A JUControlBinding class responsible for binding controls/models that are bound to a range of Row objects in the BC4J layer. This class:
Nested Class Summary |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Field Summary |
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 | |
JUCtrlRangeBinding(java.lang.Object control,
DCIteratorBinding iterBinding,
java.lang.String[] attrNames)
This constructor passes on the control, iterator, and attribute binding information to its super. |
Method Summary | |
void |
addControlToPanel(java.lang.Object panel,
java.lang.Object layoutObject,
java.lang.Object layoutCons)
*** For internal framework use only *** |
protected JUCtrlValueBindingRef |
createValueBindingRef(JUCtrlRangeBinding rangeBinding,
int index,
Row row)
|
long |
getEstimatedRowCount()
Returns the number of rows in the collection defined by the associated ViewObject's query (if this control is in data display mode). |
java.util.List |
getRangeSet()
Returns a list of Map elements over the range of rows from the associated iterator binding. |
int |
getRangeSize()
|
int |
getRangeStart()
|
java.lang.Object |
getValueAt(int rowIndex,
int attrIndex)
Returns the value as stored in the control at a given row and column index. |
protected java.lang.Object |
internalGet(java.lang.String key)
Subclasses should override this to handle a specific key. |
protected boolean |
needsEstimatedRowCount()
|
void |
refreshControl()
*** For internal framework use only *** |
protected void |
release(int flags)
|
protected void |
resetInputState()
Empty method to support DCControlBinding contract. |
void |
setValueAt(java.lang.Object value,
int rowIndex,
int attrIndex)
|
void |
updateNavigated(NavigationEvent event)
Method to handle Navigation event from the BC4J iterator. |
void |
updateRangeScrolled(ScrollEvent event)
Method to handle scroll events from the BC4J iterator. |
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)
This method is invoked in the framework to update values displayed in the associated control. |
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 |
Constructor Detail |
public JUCtrlRangeBinding(java.lang.Object control, DCIteratorBinding iterBinding, java.lang.String[] attrNames)
Method Detail |
public java.lang.Object getValueAt(int rowIndex, int attrIndex)
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 int getRangeStart()
public int getRangeSize()
public long getEstimatedRowCount()
public void updateValuesFromRow(Row row)
updateValuesFromRow
in class JUCtrlValueBinding
public java.util.List getRangeSet()
index
- returns Range Index of the rowkey
- returns Key of the rowkeyStr
- returns String format of the key of the row at this index()currencyString
- if this row is the current row, returns * else returns a space " ".attributeValues
- returns array of attribute
values for attributes that are bound in this rangeBinding from
the row
protected JUCtrlValueBindingRef createValueBindingRef(JUCtrlRangeBinding rangeBinding, int index, Row row)
public void updateValuesFromRows(Row[] rows, boolean clear)
updateValuesFromRows
in class JUCtrlValueBinding
public void updateRangeScrolled(ScrollEvent event)
updateRangeScrolled
in class JUCtrlValueBinding
ScrollEvent
public void updateNavigated(NavigationEvent event)
updateNavigated
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
protected void resetInputState()
resetInputState
in class JUCtrlValueBinding
protected java.lang.Object internalGet(java.lang.String key)
Properties returned vis getter on this control bindings are:
rangeSet
- returns getRangeSet()estimatedRowCount
- returns getEstimatedRowCount()
internalGet
in class JUCtrlValueBinding
protected void release(int flags)
release
in class JUCtrlValueBinding
protected boolean needsEstimatedRowCount()
needsEstimatedRowCount
in class DCControlBinding
|
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.