Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


oracle.jbo.uicli.binding
Class JUControlBinding

java.lang.Object
  extended by java.util.AbstractMap
      extended by oracle.jbo.common.JboAbstractMap
          extended by oracle.adf.model.binding.DCControlBinding
              extended by 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:

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 Class Summary

 

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>

 

Field Summary

 

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

 

Fields inherited from class oracle.jbo.common.JboAbstractMap
MAP_NULL_VALUE

 

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.

 

Method Summary
abstract  void addControlToPanel(java.lang.Object panel, java.lang.Object layoutObject, java.lang.Object layoutCons)
          *** For internal framework use only ***
 Row getCurrentRow()
          Returns the current row for which this control is displaying data.
 JUFormBinding getFormBinding()
          Returns the form binding object that this control binding is part of.
 JUIteratorBinding getIteratorBinding()
          Returns the iterator binding with which this control binding is associated to get it's data.
 void reportException(java.lang.Exception ex, boolean grabFocus)
           
 void setFormBinding(JUFormBinding formBnd)
          *** For internal framework use only ***

 

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 oracle.jbo.common.JboAbstractMap
entrySet, equals, internalPut, put, setThrowIfPropertyNotFoundOnGet

 

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

 

Constructor Detail

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.

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


Copyright © 1997, 2009, Oracle. All rights reserved.