wt.clients.iba.widgets
Class InlineValueEditorWidgetFactory

java.lang.Object
  extended bywt.clients.iba.widgets.InlineValueEditorWidgetFactory

public class InlineValueEditorWidgetFactory
extends Object

Create the Widget depending on the AttributeContainer and the AttributeDefDefaultView. The static createWidget method is used to create the widget.


Field Summary
private static String CLASSNAME
           
private static boolean enabled
           
private static String RESOURCE
           
private static String tooltip
           
private static String versionID
           
protected static String WIDGETS_RESOURCE
           
protected static ResourceBundle widgetsResource
           
 
Constructor Summary
InlineValueEditorWidgetFactory()
           
 
Method Summary
static InlineValueEditorWidgetInterface createWidget(AttributeDefDefaultView definition)
           
static InlineValueEditorWidgetInterface createWidget(DefaultAttributeContainer container, AttributeDefDefaultView definition)
          Method to create the widget depending on the Attribute Container and the AttributeDefDefaultView.
private static void getConstraints(DefaultAttributeContainer container, AttributeDefDefaultView definition)
           
private static ValueContentConstraint getConstraintWidget(String defaultWidget, DefaultAttributeContainer container, AttributeDefDefaultView definition)
           
private static String getDataTypeWidget(AttributeDefDefaultView definition)
           
private static String getReferenceDefViewWidget(AttributeDefDefaultView definition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

versionID

private static final String versionID
See Also:
Constant Field Values

WIDGETS_RESOURCE

protected static String WIDGETS_RESOURCE

widgetsResource

protected static ResourceBundle widgetsResource

tooltip

private static String tooltip

enabled

private static boolean enabled
Constructor Detail

InlineValueEditorWidgetFactory

public InlineValueEditorWidgetFactory()
Method Detail

createWidget

public static InlineValueEditorWidgetInterface createWidget(DefaultAttributeContainer container,
                                                            AttributeDefDefaultView definition)
Method to create the widget depending on the Attribute Container and the AttributeDefDefaultView.

Parameters:
container -
definition -
Returns:
InlineValueEditorWidgetInterface

createWidget

public static InlineValueEditorWidgetInterface createWidget(AttributeDefDefaultView definition)
Parameters:
definition -
Returns:
InlineValueEditorWidgetInterface

getDataTypeWidget

private static String getDataTypeWidget(AttributeDefDefaultView definition)

getReferenceDefViewWidget

private static String getReferenceDefViewWidget(AttributeDefDefaultView definition)

getConstraintWidget

private static ValueContentConstraint getConstraintWidget(String defaultWidget,
                                                          DefaultAttributeContainer container,
                                                          AttributeDefDefaultView definition)

getConstraints

private static void getConstraints(DefaultAttributeContainer container,
                                   AttributeDefDefaultView definition)