public class ReadOnlyWidgetBuilder extends Object implements WidgetBuilder<com.google.gwt.user.client.ui.Widget,GwtMetawidget>, GwtValueAccessor
| Constructor and Description |
|---|
ReadOnlyWidgetBuilder() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.Widget |
buildWidget(String elementName,
Map<String,String> attributes,
GwtMetawidget metawidget)
Builds the most appropriate widget for this business field.
|
Object |
getValue(com.google.gwt.user.client.ui.Widget widget) |
boolean |
setValue(com.google.gwt.user.client.ui.Widget widget,
Object value)
Sets the given Widget to the specified value.
|
public Object getValue(com.google.gwt.user.client.ui.Widget widget)
getValue in interface GwtValueAccessorpublic boolean setValue(com.google.gwt.user.client.ui.Widget widget,
Object value)
GwtValueAccessorsetValue in interface GwtValueAccessorpublic com.google.gwt.user.client.ui.Widget buildWidget(String elementName, Map<String,String> attributes, GwtMetawidget metawidget)
WidgetBuilderbuildWidget in interface WidgetBuilder<com.google.gwt.user.client.ui.Widget,GwtMetawidget>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.