Skip navigation links

Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components
11g Release 2 (11.1.2.2.0)

E18581-03


oracle.adfdt.view.common.binding.standalone
Class WidgetFactory

java.lang.Object
  extended by oracle.adfdt.view.common.binding.standalone.WidgetFactory


public class WidgetFactory
extends java.lang.Object

Nested Class Summary
static class WidgetFactory.RestrictingWidgetFilter
          Simple filter subclass that takes in an array of Strings.
static interface WidgetFactory.WidgetFilter
          Used to restrict what types of widgets may be returned based on their base creator info.

 

Constructor Summary
WidgetFactory()
           

 

Method Summary
static java.util.Map<java.lang.String,Widget> getAvailableWidgets(ADFDesignTimeContext dtContext, oracle.adfdt.model.objects.DataControl dataControl, oracle.binding.meta.NamedDefinition dataControlDefinition)
          Returns a map of Widget.id to Widgets that can be used to create databound components.
static java.util.Map<java.lang.String,Widget> getAvailableWidgets(ADFDesignTimeContext dtContext, oracle.adfdt.model.objects.DataControl dataControl, oracle.binding.meta.NamedDefinition dcDefinition, CreationContext creationContext)
          Returns a map of Widget.id to Widgets that can be used to create databound components.
static java.util.Map<java.lang.String,Widget> getAvailableWidgets(ADFDesignTimeContext dtContext, oracle.adfdt.model.objects.DataControl dataControl, oracle.binding.meta.NamedDefinition dataControlDefinition, CreationContext creationContext, WidgetFactory.WidgetFilter widgetFilter)
          Returns a map of Widget.id to Widgets that can be used to create databound components.

 

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

 

Constructor Detail

WidgetFactory

public WidgetFactory()

Method Detail

getAvailableWidgets

public static final java.util.Map<java.lang.String,Widget> getAvailableWidgets(ADFDesignTimeContext dtContext,
                                                                               oracle.adfdt.model.objects.DataControl dataControl,
                                                                               oracle.binding.meta.NamedDefinition dataControlDefinition)

Returns a map of Widget.id to Widgets that can be used to create databound components. A creatable widget is a composition of bound components. Some examples are:

The widgets will be tailored to the particular type of JSR 227 definition that is passed in. For instance, form widgets will only be selectable for structured, and iterator definitions.

See Widget on more discussion on how these widgets can be created.


getAvailableWidgets

public static final java.util.Map<java.lang.String,Widget> getAvailableWidgets(ADFDesignTimeContext dtContext,
                                                                               oracle.adfdt.model.objects.DataControl dataControl,
                                                                               oracle.binding.meta.NamedDefinition dcDefinition,
                                                                               CreationContext creationContext)

Returns a map of Widget.id to Widgets that can be used to create databound components. A creatable widget is a composition of bound components. Some examples are:

The widgets will be tailored to the particular type of JSR 227 definition that is passed in. For instance, form widgets will only be selectable for structured, and iterator definitions.

See Widget on more discussion on how these widgets can be created.

This signature allows a pre-existing creation context to be used or reused across multiple requests.

getAvailableWidgets

public static final java.util.Map<java.lang.String,Widget> getAvailableWidgets(ADFDesignTimeContext dtContext,
                                                                               oracle.adfdt.model.objects.DataControl dataControl,
                                                                               oracle.binding.meta.NamedDefinition dataControlDefinition,
                                                                               CreationContext creationContext,
                                                                               WidgetFactory.WidgetFilter widgetFilter)

Returns a map of Widget.id to Widgets that can be used to create databound components. A creatable widget is a composition of bound components. Some examples are:

The widgets will be tailored to the particular type of JSR 227 definition that is passed in. For instance, form widgets will only be selectable for structured, and iterator definitions.

See Widget on more discussion on how these widgets can be created.

This signature allows a pre-existing creation context to be used or reused across multiple requests. It also allows a widget filter to be applied to limit what widgets are returned.

Skip navigation links

Oracle Fusion Middleware Design Time Java API Reference for Oracle ADF Faces and Data Visualization Components
11g Release 2 (11.1.2.2.0)

E18581-03


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