Class MapEditor
- java.lang.Object
-
- org.dashbuilder.common.client.editor.map.MapEditor
-
- All Implemented Interfaces:
com.google.gwt.editor.client.Editor<Map<String,String>>,com.google.gwt.editor.client.HasEditorErrors<Map<String,String>>,com.google.gwt.editor.client.LeafValueEditor<Map<String,String>>,com.google.gwt.user.client.TakesValue<Map<String,String>>,com.google.gwt.user.client.ui.IsWidget,LeafAttributeEditor<Map<String,String>>
@Dependent public class MapEditor extends Object implements com.google.gwt.user.client.ui.IsWidget, LeafAttributeEditor<Map<String,String>>
Provides an editor for a Map instance of String values.
- Since:
- 0.4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMapEditor.View
-
Field Summary
Fields Modifier and Type Field Description MapEditor.Viewview
-
Constructor Summary
Constructors Constructor Description MapEditor(MapEditor.View view, javax.enterprise.event.Event<ValueChangeEvent<Map<String,String>>> valueChangeEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gwt.user.client.ui.WidgetasWidget()Map<String,String>getValue()voidinit()voidsetValue(Map<String,String> value)voidshowErrors(List<com.google.gwt.editor.client.EditorError> errors)GWT EDITOR CONTRACT METHODS **
-
-
-
Field Detail
-
view
public MapEditor.View view
-
-
Constructor Detail
-
MapEditor
@Inject public MapEditor(MapEditor.View view, javax.enterprise.event.Event<ValueChangeEvent<Map<String,String>>> valueChangeEvent)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
showErrors
public void showErrors(List<com.google.gwt.editor.client.EditorError> errors)
GWT EDITOR CONTRACT METHODS **
-
asWidget
public com.google.gwt.user.client.ui.Widget asWidget()
- Specified by:
asWidgetin interfacecom.google.gwt.user.client.ui.IsWidget
-
-