@Dependent public class ValueBoxEditor<T> extends Object implements com.google.gwt.user.client.ui.IsWidget, LeafAttributeEditor<T>
Provides an editor for a ValueBoxBase widget of type T.
It displays the editor errors using a bootstrap tooltip.
Modifier and Type | Class and Description |
---|---|
static interface |
ValueBoxEditor.View<T> |
Modifier and Type | Field and Description |
---|---|
ValueBoxEditor.View<T> |
view |
Constructor and Description |
---|
ValueBoxEditor(ValueBoxEditor.View<T> view,
javax.enterprise.event.Event<ValueChangeEvent<T>> valueChangeEvent) |
Modifier and Type | Method and Description |
---|---|
void |
addHelpContent(String title,
String content,
org.gwtbootstrap3.client.ui.constants.Placement placement) |
com.google.gwt.user.client.ui.Widget |
asWidget() |
T |
getValue() |
void |
init() |
void |
setValue(T value) |
void |
showErrors(List<com.google.gwt.editor.client.EditorError> errors) |
public ValueBoxEditor.View<T> view
@Inject public ValueBoxEditor(ValueBoxEditor.View<T> view, javax.enterprise.event.Event<ValueChangeEvent<T>> valueChangeEvent)
@PostConstruct public void init()
public void addHelpContent(String title, String content, org.gwtbootstrap3.client.ui.constants.Placement placement)
public void showErrors(List<com.google.gwt.editor.client.EditorError> errors)
showErrors
in interface com.google.gwt.editor.client.HasEditorErrors<T>
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
public void setValue(T value)
setValue
in interface com.google.gwt.user.client.TakesValue<T>
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.