Skip navigation links
oracle.jbo.uicli.binding
Class JUControlBinding
java.lang.Object
java.util.AbstractMap
oracle.jbo.common.JboAbstractMap
oracle.adf.model.binding.DCControlBinding
oracle.jbo.uicli.binding.JUControlBinding
- All Implemented Interfaces:
- java.util.Map
- Direct Known Subclasses:
- JUCtrlActionBinding, JUCtrlScrollBinding, JUCtrlValueBinding, JUEventBinding
-
public abstract class JUControlBinding
- extends DCControlBinding
The base class for all binding objects in the JClient framework that bind a Swing control/model to a BC4J attribute(s). This class manages:
- The references to the Swing control
- The IteratorBinding with which the binding object is in association
- The form binding that this binding belongs to
- The internal-state for findMode
This class also implements helper methods to access BC4J objects like the Transaction, the current Application Module, the ViewObject that this control binding is working with, the current RowIterator, the current Row in the iterator that this control binding is associated with. It also provides methods to execute the ViewObject behind this again (optionally).
- javabean.class
- name=JUControlBinding
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Fields inherited from class oracle.adf.model.binding.DCControlBinding |
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 |
Constructor Summary |
protected |
JUControlBinding()
|
|
JUControlBinding(java.lang.Object control, DCIteratorBinding iterBinding)
Constructor used in the framework to pass in the Swing control and the Iterator Binding with which this binding object works to get it's data. |
Methods inherited from class oracle.adf.model.binding.DCControlBinding |
addToDCExceptions, clearAttrDefs, evaluateBooleanExpression, executeQuery, executeQueryIfNeeded, get, getAllRowsInRange, getApplicationModule, getAttributeListener, getBindingContainer, getControl, getControlModel, getDCIteratorBinding, getDef, getDefFullName, getDefName, getError, getErrors, getFullName, getLayoutObject, getName, getPermission, getPermissionInfo, getPermissionTargetName, getRowAtRangeIndex, getRowIterator, getState, getTransaction, getViewableExpr, getViewObject, hashCode, initResources, internalGet, internalHasPermission, internalHasPermission, internalSetName, isControlQueriable, isControlViewable, isReleased, needsEstimatedRowCount, processInputException, refreshControl, release, release, removeFromDCExceptions, reportException, resetAttributeExceptionInRow, resetInputState, restoreFromState, setBindingContainer, setControl, setDataControlPinned, setDef, setIteratorBinding, setListener, setListener, setName, setViewableExpr, toString |
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 |
JUControlBinding
protected JUControlBinding()
JUControlBinding
public JUControlBinding(java.lang.Object control,
DCIteratorBinding iterBinding)
- Constructor used in the framework to pass in the Swing control and the Iterator Binding with which this binding object works to get it's data.
addControlToPanel
public abstract void addControlToPanel(java.lang.Object panel,
java.lang.Object layoutObject,
java.lang.Object layoutCons)
- *** For internal framework use only ***
getFormBinding
public final JUFormBinding getFormBinding()
- Returns the form binding object that this control binding is part of.
setFormBinding
public void setFormBinding(JUFormBinding formBnd)
- *** For internal framework use only ***
getIteratorBinding
public final JUIteratorBinding getIteratorBinding()
- Returns the iterator binding with which this control binding is associated to get it's data.
-
- javabean.property
getCurrentRow
public Row getCurrentRow()
- Returns the current row for which this control is displaying data. In find mode, this will return an instance of ViewCriteriaRow, whereas in data mode it returns a Row object. This method should be used to get the current Row to which this control is bound in order to perform any validations on the control-value or data stored in the row.
-
- Overrides:
getCurrentRow
in class DCControlBinding
-
- javabean.property
reportException
public void reportException(java.lang.Exception ex,
boolean grabFocus)
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.