Class JmixFileUploadWidget

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.FlowPanel
io.jmix.ui.widget.client.jqueryfileupload.JmixFileUploadWidget
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.Focusable, com.google.gwt.user.client.ui.HasEnabled, 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 JmixFileUploadWidget extends com.google.gwt.user.client.ui.FlowPanel implements com.google.gwt.user.client.ui.Focusable, com.google.gwt.user.client.ui.HasEnabled
  • Field Details

  • Constructor Details

    • JmixFileUploadWidget

      public JmixFileUploadWidget()
  • Method Details

    • listenToFocusEvents

      protected void listenToFocusEvents(com.google.gwt.dom.client.Element inputElement)
    • getFileInputElement

      protected com.google.gwt.dom.client.Element getFileInputElement()
    • onBrowserEvent

      public void onBrowserEvent(com.google.gwt.user.client.Event event)
      Specified by:
      onBrowserEvent in interface com.google.gwt.user.client.EventListener
      Overrides:
      onBrowserEvent in class com.google.gwt.user.client.ui.Widget
    • fireNativeClick

      protected static void fireNativeClick(com.google.gwt.dom.client.Element element)
    • setMultiSelect

      public void setMultiSelect(boolean multiple)
    • setUploadUrl

      public void setUploadUrl(String uploadUrl)
    • setDropZone

      public void setDropZone(com.google.gwt.user.client.ui.Widget dropZone, String dropZonePrompt)
    • setPasteZone

      public void setPasteZone(com.google.gwt.user.client.ui.Widget pasteZone)
    • setAccept

      public void setAccept(String accept)
    • disableUpload

      public void disableUpload()
    • enableUpload

      public void enableUpload()
    • setEnabledForSubmitButton

      protected void setEnabledForSubmitButton(boolean enabled)
    • getSubmitButton

      public com.vaadin.client.ui.VButton getSubmitButton()
    • cancelAllUploads

      public void cancelAllUploads()
    • continueUploading

      public void continueUploading()
    • getTabIndex

      public int getTabIndex()
      Specified by:
      getTabIndex in interface com.google.gwt.user.client.ui.Focusable
    • setAccessKey

      public void setAccessKey(char key)
      Specified by:
      setAccessKey in interface com.google.gwt.user.client.ui.Focusable
    • setFocus

      public void setFocus(boolean focused)
      Specified by:
      setFocus in interface com.google.gwt.user.client.ui.Focusable
    • setTabIndex

      public void setTabIndex(int index)
      Specified by:
      setTabIndex in interface com.google.gwt.user.client.ui.Focusable
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface com.google.gwt.user.client.ui.HasEnabled
    • isIgnoreExceptions

      protected boolean isIgnoreExceptions()
    • setIgnoreExceptions

      protected void setIgnoreExceptions(boolean ignoreExceptions)
    • setEnabled

      public void setEnabled(boolean enabled)
      Specified by:
      setEnabled in interface com.google.gwt.user.client.ui.HasEnabled