@Dependent public class DropDownEditor extends Object implements com.google.gwt.user.client.ui.IsWidget, LeafAttributeEditor<String>
Modifier and Type | Class and Description |
---|---|
class |
DropDownEditor.Entry |
static interface |
DropDownEditor.View |
Modifier and Type | Field and Description |
---|---|
DropDownEditor.View |
view |
Constructor and Description |
---|
DropDownEditor(DropDownEditor.View view,
LiveSearchDropDown dropDown,
javax.enterprise.event.Event<ValueChangeEvent<String>> 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() |
void |
clear() |
void |
getDropDownEntries(String pattern,
int maxResults,
LiveSearchCallback<String> callback) |
void |
getExactEntry(String key,
LiveSearchCallback<String> callback) |
String |
getSelectedValue() |
String |
getValue() |
void |
init() |
DropDownEditor.Entry |
newEntry(String value,
String hint) |
void |
onEntrySelected() |
void |
setEntries(Collection<DropDownEditor.Entry> entries) |
void |
setSelectHint(String hint) |
void |
setValue(String value) |
void |
showErrors(List<com.google.gwt.editor.client.EditorError> errors)
GWT EDITOR CONTRACT METHODS **
|
public DropDownEditor.View view
@Inject public DropDownEditor(DropDownEditor.View view, LiveSearchDropDown dropDown, javax.enterprise.event.Event<ValueChangeEvent<String>> valueChangeEvent)
@PostConstruct public void init()
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
public void getDropDownEntries(String pattern, int maxResults, LiveSearchCallback<String> callback)
public void getExactEntry(String key, LiveSearchCallback<String> callback)
public void onEntrySelected()
public String getSelectedValue()
public void setSelectHint(String hint)
public DropDownEditor.Entry newEntry(String value, String hint)
public void setEntries(Collection<DropDownEditor.Entry> entries)
public void addHelpContent(String title, String content, org.gwtbootstrap3.client.ui.constants.Placement placement)
public void clear()
public void showErrors(List<com.google.gwt.editor.client.EditorError> errors)
showErrors
in interface com.google.gwt.editor.client.HasEditorErrors<String>
public String getValue()
getValue
in interface com.google.gwt.user.client.TakesValue<String>
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.