public class OverriddenWidgetBuilder extends Object implements WidgetBuilder<com.vaadin.ui.Component,VaadinMetawidget>
Locates overridden widgets based on their setData.
| Constructor and Description |
|---|
OverriddenWidgetBuilder() |
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.ui.Component |
buildWidget(String elementName,
Map<String,String> attributes,
VaadinMetawidget metawidget)
Builds the most appropriate widget for this business field.
|
public com.vaadin.ui.Component buildWidget(String elementName, Map<String,String> attributes, VaadinMetawidget metawidget)
WidgetBuilderbuildWidget in interface WidgetBuilder<com.vaadin.ui.Component,VaadinMetawidget>elementName - XML node name of the business field. Typically 'entity', 'property' or 'action'.
Never nullattributes - attributes of the business field to build a widget for. Never null. This Map is
modifiable - changes will be passed to subsequent WidgetBuilders, WidgetProcessors
and Layoutsmetawidget - the parent Metawidget. Never nullCopyright © 2015. All Rights Reserved.