|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--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:
Constructor Summary | |
JUCtrlRangeBinding(java.lang.Object control, JUIteratorBinding iterBinding, java.lang.String[] attrNames) This constructor passes on the control, iterator, and attribute binding information to its super. |
Method Summary | |
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). |
abstract java.lang.Object |
getValueAt(int rowIndex, int attrIndex) Returns the value as stored in the control at a given row and column index. |
void |
refreshControl() *** For internal framework use only *** |
abstract void |
setValueAt(java.lang.Object value, int rowIndex, int attrIndex) Sets the given value from a BC4J row into the control at the given row/column. |
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 |
addControlToPanel, executeQuery, executeQueryIfNeeded, getAllRowsInRange, getApplicationModule, getControl, getCurrentRow, getDef, getFormBinding, getIteratorBinding, getLayoutObject, getName, getRowAtRangeIndex, getRowIterator, getTransaction, getViewObject, isControlQueriable, reportException, reportException, setFormBinding, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JUCtrlRangeBinding(java.lang.Object control, JUIteratorBinding iterBinding, java.lang.String[] attrNames)
Method Detail |
public abstract java.lang.Object getValueAt(int rowIndex, int attrIndex)
public abstract void setValueAt(java.lang.Object value, int rowIndex, int attrIndex)
public long getEstimatedRowCount()
public void updateValuesFromRow(Row row)
updateValuesFromRow
in class JUCtrlValueBinding
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 JUControlBinding
|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.