Class Upload

  • All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasAlignment, com.google.gwt.user.client.ui.HasHorizontalAlignment, com.google.gwt.user.client.ui.HasVerticalAlignment, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>

    public class Upload
    extends com.google.gwt.user.client.ui.VerticalPanel
    A widget to upload a single file to the platform
    Since:
    8.3.3
    Author:
    Marco Meschieri - LogicalDOC
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

        com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment

        com.google.gwt.user.client.ui.HasHorizontalAlignment.AutoHorizontalAlignmentConstant, com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasVerticalAlignment

        com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets

        com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel

        com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel

        com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
    • Field Summary

      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
      • Fields inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment

        ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_JUSTIFY, ALIGN_LEFT, ALIGN_LOCALE_END, ALIGN_LOCALE_START, ALIGN_RIGHT
      • Fields inherited from interface com.google.gwt.user.client.ui.HasVerticalAlignment

        ALIGN_BOTTOM, ALIGN_MIDDLE, ALIGN_TOP
    • Constructor Summary

      Constructors 
      Constructor Description
      Upload​(com.smartgwt.client.widgets.form.fields.SubmitItem submitButton)  
      Upload​(com.smartgwt.client.widgets.IButton confirmButton)  
      Upload​(com.smartgwt.client.widgets.IButton confirmButton, com.smartgwt.client.widgets.form.fields.SubmitItem submitButton)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getUploadedFile()  
      void setFileTypes​(String fileTypes)  
      • Methods inherited from class com.google.gwt.user.client.ui.VerticalPanel

        add, getHorizontalAlignment, getVerticalAlignment, insert, insert, remove, setHorizontalAlignment, setVerticalAlignment
      • Methods inherited from class com.google.gwt.user.client.ui.CellPanel

        getSpacing, setBorderWidth, setCellHeight, setCellHeight, setCellHorizontalAlignment, setCellHorizontalAlignment, setCellVerticalAlignment, setCellVerticalAlignment, setCellWidth, setCellWidth, setSpacing
      • Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel

        getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, iterator, remove
      • Methods inherited from class com.google.gwt.user.client.ui.Panel

        add, clear, remove
      • Methods inherited from class com.google.gwt.user.client.ui.Widget

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • Methods inherited from class com.google.gwt.user.client.ui.UIObject

        addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
      • Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel

        getWidget, getWidgetCount, getWidgetIndex, remove
      • Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget

        getWidgetIndex
      • Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget

        add
    • Constructor Detail

      • Upload

        public Upload​(com.smartgwt.client.widgets.form.fields.SubmitItem submitButton)
      • Upload

        public Upload​(com.smartgwt.client.widgets.IButton confirmButton)
      • Upload

        public Upload​(com.smartgwt.client.widgets.IButton confirmButton,
                      com.smartgwt.client.widgets.form.fields.SubmitItem submitButton)
    • Method Detail

      • setFileTypes

        public void setFileTypes​(String fileTypes)
      • getUploadedFile

        public String getUploadedFile()