Class DropDownImageListEditor<T>
- java.lang.Object
-
- org.dashbuilder.common.client.editor.list.ImageListEditor<T>
-
- org.dashbuilder.common.client.editor.list.DropDownImageListEditor<T>
-
- Type Parameters:
T- The edited type.
- All Implemented Interfaces:
com.google.gwt.editor.client.Editor<T>,com.google.gwt.editor.client.HasEditorErrors<T>,com.google.gwt.editor.client.LeafValueEditor<T>,com.google.gwt.user.client.TakesValue<T>,com.google.gwt.user.client.ui.IsWidget,HasEditMode,LeafAttributeEditor<T>
@Dependent public class DropDownImageListEditor<T> extends ImageListEditor<T> implements HasEditMode
Images are shown using a drop down selector.
- Since:
- 0.4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDropDownImageListEditor.View<T>-
Nested classes/interfaces inherited from class org.dashbuilder.common.client.editor.list.ImageListEditor
ImageListEditor.Entry
-
-
Field Summary
-
Fields inherited from class org.dashbuilder.common.client.editor.list.ImageListEditor
view
-
-
Constructor Summary
Constructors Modifier Constructor Description DropDownImageListEditor(DropDownImageListEditorView<T> dropDownImageListEditorView, javax.enterprise.event.Event<ValueChangeEvent<T>> valueChangeEvent)protectedDropDownImageListEditor(ImageListEditorView<T> imageListEditorView, javax.enterprise.event.Event<ValueChangeEvent<T>> valueChangeEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidisEditMode(boolean isEdit)Enables or disables the edition.protected voidshowElements()PRIVATE EDITOR METHODS **-
Methods inherited from class org.dashbuilder.common.client.editor.list.ImageListEditor
asWidget, clear, getValue, init, newEntry, setEntries, setHelpContent, setImageSize, setValue, setValue, showErrors
-
-
-
-
Constructor Detail
-
DropDownImageListEditor
@Inject public DropDownImageListEditor(DropDownImageListEditorView<T> dropDownImageListEditorView, javax.enterprise.event.Event<ValueChangeEvent<T>> valueChangeEvent)
-
DropDownImageListEditor
protected DropDownImageListEditor(ImageListEditorView<T> imageListEditorView, javax.enterprise.event.Event<ValueChangeEvent<T>> valueChangeEvent)
-
-
Method Detail
-
isEditMode
public void isEditMode(boolean isEdit)
Description copied from interface:HasEditModeEnables or disables the edition.
- Specified by:
isEditModein interfaceHasEditMode
-
showElements
protected void showElements()
Description copied from class:ImageListEditorPRIVATE EDITOR METHODS **- Overrides:
showElementsin classImageListEditor<T>
-
-