public class TomahawkWidgetBuilder extends Object implements WidgetBuilder<javax.faces.component.UIComponent,UIMetawidget>
Creates native Tomahawk UIComponents, such as HtmlInputFileUpload
, to suit the
inspected fields.
Constructor and Description |
---|
TomahawkWidgetBuilder() |
Modifier and Type | Method and Description |
---|---|
javax.faces.component.UIComponent |
buildWidget(String elementName,
Map<String,String> attributes,
UIMetawidget metawidget)
Builds the most appropriate widget for this business field.
|
public javax.faces.component.UIComponent buildWidget(String elementName, Map<String,String> attributes, UIMetawidget metawidget)
WidgetBuilder
buildWidget
in interface WidgetBuilder<javax.faces.component.UIComponent,UIMetawidget>
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.