@Dependent public class FileUploadEditor extends Object implements com.google.gwt.user.client.ui.IsWidget, LeafAttributeEditor<String>
Presenter for editor component that wraps a gwt bootstrap file upload component an additionally provides:
| Modifier and Type | Class and Description |
|---|---|
static interface |
FileUploadEditor.FileUploadEditorCallback |
static interface |
FileUploadEditor.View |
| Modifier and Type | Field and Description |
|---|---|
FileUploadEditor.View |
view |
| Constructor and Description |
|---|
FileUploadEditor(javax.enterprise.event.Event<ValueChangeEvent<String>> valueChangeEvent,
javax.enterprise.event.Event<NotificationEvent> workbenchNotification,
FileUploadEditor.View view) |
| 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 |
configure(String fileUploadName,
FileUploadEditor.FileUploadEditorCallback callback) |
String |
getValue() |
void |
init() |
void |
setValue(String value) |
void |
showErrors(List<com.google.gwt.editor.client.EditorError> errors) |
public FileUploadEditor.View view
@Inject public FileUploadEditor(javax.enterprise.event.Event<ValueChangeEvent<String>> valueChangeEvent, javax.enterprise.event.Event<NotificationEvent> workbenchNotification, FileUploadEditor.View view)
@PostConstruct public void init()
public void configure(String fileUploadName, FileUploadEditor.FileUploadEditorCallback callback)
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<String>public com.google.gwt.user.client.ui.Widget asWidget()
asWidget in interface com.google.gwt.user.client.ui.IsWidgetpublic void setValue(String value)
setValue in interface com.google.gwt.user.client.TakesValue<String>Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.