Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Business Component Browser
11g Release 1 (11.1.1.5.0)

E10758-06


oracle.jbo.jbotester
Class BindingAdapter

java.lang.Object
  extended by oracle.jbo.jbotester.BindingAdapter

All Implemented Interfaces:
JBOField

public class BindingAdapter
extends java.lang.Object
implements JBOField

This adapter is used to introduce ADF binding features in the BC4JTester. The existing implementation of the BC4JTester has the Model and View combined in a subclass of the View. For example, the RowSetTextField is a JTextField subclass, which implements JBOField. JBOField is the interface used to connect to the model. The binding implementation uses the regular Swing widget in the UI. All methods in this class delegate the implementation to the provided binding class.

Since:
11
Version:
$Header: bc4jrt/modules/bc4j-tester/src/oracle/jbo/jbotester/BindingAdapter.java /main/4 2009/04/12 09:05:31 rvangri Exp $

Constructor Summary
BindingAdapter(oracle.jbo.uicli.binding.JUCtrlAttrsBinding binding)
           

 

Method Summary
 oracle.jbo.AttributeDef getAttributeDef()
           
 java.lang.Object getControlValue()
           
 java.lang.Object getDataValue()
           
 javax.swing.JComponent getJComponent()
           
 oracle.jbo.LocaleContext getLocaleContext()
           
 void refresh()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

BindingAdapter

public BindingAdapter(oracle.jbo.uicli.binding.JUCtrlAttrsBinding binding)

Method Detail

getAttributeDef

public oracle.jbo.AttributeDef getAttributeDef()
Specified by:
getAttributeDef in interface JBOField

getDataValue

public java.lang.Object getDataValue()
Specified by:
getDataValue in interface JBOField

getControlValue

public java.lang.Object getControlValue()
Specified by:
getControlValue in interface JBOField

getJComponent

public javax.swing.JComponent getJComponent()
Specified by:
getJComponent in interface JBOField

getLocaleContext

public oracle.jbo.LocaleContext getLocaleContext()
Specified by:
getLocaleContext in interface JBOField

refresh

public void refresh()
Specified by:
refresh in interface JBOField

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Business Component Browser
11g Release 1 (11.1.1.5.0)

E10758-06


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