Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.uicli.binding
Class JUControlBinding

java.lang.Object
  extended byjava.util.AbstractMap
      extended byoracle.jbo.common.JboAbstractMap
          extended byoracle.adf.model.binding.DCControlBinding
              extended byoracle.jbo.uicli.binding.JUControlBinding
All Implemented Interfaces:
java.util.Map
Direct Known Subclasses:
JUCtrlActionBinding, JUCtrlScrollBinding, JUCtrlValueBinding

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).


Nested Class Summary
 
Nested classes inherited from class java.util.Map
java.util.Map.Entry
 
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, mInternalGet_KeyResolved, 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.
 
Method Summary
abstract  void addControlToPanel(java.lang.Object panel, java.lang.Object layoutObject, java.lang.Object layoutCons)
          *** For internal framework use only ***
 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, executeQuery, executeQueryIfNeeded, get, getAllRowsInRange, getApplicationModule, getBindingContainer, getControl, getControlModel, getCurrentRow, getDCIteratorBinding, getDef, getDefFullName, getDefName, getError, getErrors, getFullName, getLayoutObject, getName, getRowAtRangeIndex, getRowIterator, getTransaction, getViewObject, hashCode, internalGet, internalSetName, isControlQueriable, needsEstimatedRowCount, processInputException, refreshControl, release, removeFromDCExceptions, reportException, resetAttributeExceptionInRow, resetInputState, 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, put, 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 ***

Specified by:
addControlToPanel in class DCControlBinding

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.


reportException

public void reportException(java.lang.Exception ex,
                            boolean grabFocus)

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

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