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

E10653-05

oracle.jbo.uicli.jui
Class JUDefFactoryImpl

java.lang.Object
  extended by oracle.jbo.uicli.binding.JUBindingDefFactoryImpl
      extended by oracle.jbo.uicli.jui.JUDefFactoryImpl
All Implemented Interfaces:
DCDefFactory, DefinitionFactory

public class JUDefFactoryImpl
extends JUBindingDefFactoryImpl


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.jbo.uicli.binding.JUBindingDefFactoryImpl
JUBindingDefFactoryImpl.ExecutableRefreshFlag
 
Constructor Summary
JUDefFactoryImpl()
           
 
Method Summary
 DCDefBase createControlDef(java.lang.String subType)
          Allows for creation of the control definition without requiring an element.
 DCDefBase createDefinition(DefElement element)
          Create definition based on element information
 java.lang.String getDefaultControlClassName(java.lang.String controlType)
          This method looks if the factory has a suggested default controlClassName for a given controlType.
 java.lang.String getSubTypeForElement(Element element)
           
 
Methods inherited from class oracle.jbo.uicli.binding.JUBindingDefFactoryImpl
createActionBindingDef, createAttributeBindingDef, createBooleanBindingDef, createListBindingDef, createLovBindingDef, createRangeBindingDef, createTreeBindingDef, getDefaultChangeEventPolicy, getExecutableRefreshDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUDefFactoryImpl

public JUDefFactoryImpl()
Method Detail

getDefaultControlClassName

public java.lang.String getDefaultControlClassName(java.lang.String controlType)
This method looks if the factory has a suggested default controlClassName for a given controlType. This method can be used as the second step to determine which control to use for a given attribute. First, get the control type for the attribute from DCUtil Based on the display hint and attribute type it returns the (client neutral) suggested control type. Second, use this method to determine which class to use to instantiate the actual control.

Parameters:
controlType - the type of the control (for example "DCTextField")
Returns:
the name of the class suggested to display the control (for example "javax.swing/JTextField")
See Also:
DCUtil.getControlType(oracle.jbo.StructureDef, oracle.jbo.AttributeDef, oracle.jbo.LocaleContext)

getSubTypeForElement

public java.lang.String getSubTypeForElement(Element element)
Overrides:
getSubTypeForElement in class JUBindingDefFactoryImpl

createDefinition

public DCDefBase createDefinition(DefElement element)
Description copied from interface: DefinitionFactory
Create definition based on element information

Specified by:
createDefinition in interface DefinitionFactory
Overrides:
createDefinition in class JUBindingDefFactoryImpl

createControlDef

public DCDefBase createControlDef(java.lang.String subType)
Description copied from interface: DefinitionFactory
Allows for creation of the control definition without requiring an element.

Specified by:
createControlDef in interface DCDefFactory
Specified by:
createControlDef in interface DefinitionFactory
Overrides:
createControlDef in class JUBindingDefFactoryImpl

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

E10653-05

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