public class VUpload
extends com.google.gwt.user.client.ui.SimplePanel
Modifier and Type | Field and Description |
---|---|
static String |
CLASSNAME |
ApplicationConnection |
client
For internal use only.
|
com.google.gwt.dom.client.FormElement |
element
For internal use only.
|
com.google.gwt.user.client.ui.FileUpload |
fu
FileUpload component that opens native OS dialog to select file.
|
int |
nextUploadId
For internal use only.
|
String |
paintableId
For internal use only.
|
VButton |
submitButton
Button that initiates uploading.
|
com.google.gwt.user.client.Timer |
t
When expecting big files, programmer may initiate some UI changes when
uploading the file starts.
|
Constructor and Description |
---|
VUpload() |
Modifier and Type | Method and Description |
---|---|
void |
disableTitle(boolean disable)
For internal use only.
|
void |
disableUpload()
For internal use only.
|
void |
enableUpload()
For internal use only.
|
void |
ensureTargetFrame()
For internal use only.
|
protected void |
onAttach() |
protected void |
onDetach() |
void |
setImmediate(boolean booleanAttribute)
For internal use only.
|
void |
submit()
For internal use only.
|
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final String CLASSNAME
public com.google.gwt.user.client.ui.FileUpload fu
For internal use only. May be removed or replaced in the future.
public ApplicationConnection client
public String paintableId
public final VButton submitButton
For internal use only. May be removed or replaced in the future.
public com.google.gwt.user.client.Timer t
For internal use only. May be removed or replaced in the future.
public com.google.gwt.dom.client.FormElement element
public int nextUploadId
public void setImmediate(boolean booleanAttribute)
public void disableUpload()
public void enableUpload()
public void submit()
public void disableTitle(boolean disable)
protected void onAttach()
onAttach
in class com.google.gwt.user.client.ui.Widget
public void ensureTargetFrame()
protected void onDetach()
onDetach
in class com.google.gwt.user.client.ui.Widget
Copyright © 2019 Vaadin Ltd. All rights reserved.