public final class FileSubmit
extends com.google.gwt.user.client.ui.Composite
Modifier and Type | Field and Description |
---|---|
static int |
MAX_SIZE_ATTACHED_FILE_MB |
static String |
URL
VERY IMPORTANT, must be the same in web.xml
|
Constructor and Description |
---|
FileSubmit(com.google.gwt.event.shared.HandlerManager eventBus,
boolean isDND)
Constructor
|
FileSubmit(UploadProgressDialog dlg,
com.google.gwt.event.shared.HandlerManager eventBus) |
Modifier and Type | Method and Description |
---|---|
protected com.google.gwt.user.client.ui.FileUpload |
getFileUpload() |
protected void |
showRegisteringResult(boolean success,
String customLabel) |
protected void |
submitForm() |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
public static final String URL
public static final int MAX_SIZE_ATTACHED_FILE_MB
public FileSubmit(com.google.gwt.event.shared.HandlerManager eventBus, boolean isDND)
eventBus
- isDND
- if the file has to be loaded through DNDpublic FileSubmit(UploadProgressDialog dlg, com.google.gwt.event.shared.HandlerManager eventBus)
protected void showRegisteringResult(boolean success, String customLabel)
protected com.google.gwt.user.client.ui.FileUpload getFileUpload()
protected void submitForm()
Copyright © 2016. All Rights Reserved.