@Dependent @Templated public class UploadWidgetView extends Object implements UploadWidget.View
| Constructor and Description |
|---|
UploadWidgetView() |
| Modifier and Type | Method and Description |
|---|---|
void |
badResponseUploading(elemental2.dom.Response response) |
void |
dashboardAlreadyImportedError(String newImportName,
String existingImport) |
void |
errorDuringUpload(Object error) |
elemental2.dom.HTMLElement |
getElement() |
void |
handleImport(com.google.gwt.event.dom.client.ClickEvent e) |
void |
handleInputFileChange(com.google.gwt.event.dom.client.ChangeEvent e) |
void |
importSuccess(String importName) |
void |
init(UploadWidget presenter) |
void |
loading() |
void |
stopLoading() |
public void init(UploadWidget presenter)
init in interface HasPresenter<UploadWidget>public void loading()
loading in interface UploadWidget.Viewpublic void stopLoading()
stopLoading in interface UploadWidget.Viewpublic void badResponseUploading(elemental2.dom.Response response)
badResponseUploading in interface UploadWidget.Viewpublic void errorDuringUpload(Object error)
errorDuringUpload in interface UploadWidget.Viewpublic void dashboardAlreadyImportedError(String newImportName, String existingImport)
dashboardAlreadyImportedError in interface UploadWidget.View@EventHandler(value="btnImport") public void handleImport(com.google.gwt.event.dom.client.ClickEvent e)
@EventHandler(value="inputFile") public void handleInputFileChange(com.google.gwt.event.dom.client.ChangeEvent e)
public elemental2.dom.HTMLElement getElement()
getElement in interface org.jboss.errai.common.client.api.elemental2.IsElementpublic void importSuccess(String importName)
importSuccess in interface UploadWidget.ViewCopyright © 2012–2021 JBoss by Red Hat. All rights reserved.