com.vaadin.client.ui
Class VUpload

java.lang.Object
  extended by SimplePanel
      extended by com.vaadin.client.ui.VUpload

public class VUpload
extends SimplePanel

Note, we are not using GWT FormPanel as we want to listen submitcomplete events even though the upload component is already detached.


Field Summary
static java.lang.String CLASSNAME
           
 ApplicationConnection client
          For internal use only.
 FormElement element
          For internal use only.
 FileUpload fu
          FileUpload component that opens native OS dialog to select file.
 int nextUploadId
          For internal use only.
 java.lang.String paintableId
          For internal use only.
 VButton submitButton
          Button that initiates uploading.
 Timer t
          When expecting big files, programmer may initiate some UI changes when uploading the file starts.
 
Constructor Summary
VUpload()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME
See Also:
Constant Field Values

fu

public FileUpload fu
FileUpload component that opens native OS dialog to select file.

For internal use only. May be removed or replaced in the future.


client

public ApplicationConnection client
For internal use only. May be removed or replaced in the future.


paintableId

public java.lang.String paintableId
For internal use only. May be removed or replaced in the future.


submitButton

public final VButton submitButton
Button that initiates uploading.

For internal use only. May be removed or replaced in the future.


t

public Timer t
When expecting big files, programmer may initiate some UI changes when uploading the file starts. Bit after submitting file we'll visit the server to check possible changes.

For internal use only. May be removed or replaced in the future.


element

public FormElement element
For internal use only. May be removed or replaced in the future.


nextUploadId

public int nextUploadId
For internal use only. May be removed or replaced in the future.

Constructor Detail

VUpload

public VUpload()
Method Detail

setImmediate

public void setImmediate(boolean booleanAttribute)
For internal use only. May be removed or replaced in the future.


disableUpload

public void disableUpload()
For internal use only. May be removed or replaced in the future.


enableUpload

public void enableUpload()
For internal use only. May be removed or replaced in the future.


submit

public void submit()
For internal use only. May be removed or replaced in the future.


disableTitle

public void disableTitle(boolean disable)
For internal use only. May be removed or replaced in the future.


onAttach

protected void onAttach()

ensureTargetFrame

public void ensureTargetFrame()
For internal use only. May be removed or replaced in the future.


onDetach

protected void onDetach()


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.