Class MibUploadButton

  • All Implemented Interfaces:
    com.vaadin.event.ConnectorEventListener, com.vaadin.event.ContextClickEvent.ContextClickNotifier, com.vaadin.event.MethodEventSource, com.vaadin.event.SerializableEventListener, com.vaadin.server.ClientConnector, com.vaadin.server.Sizeable, com.vaadin.server.VariableOwner, com.vaadin.shared.Connector, com.vaadin.ui.Component, com.vaadin.ui.Component.Focusable, com.vaadin.ui.LegacyComponent, java.io.Serializable, java.util.EventListener

    public abstract class MibUploadButton
    extends com.vaadin.v7.ui.Upload
    The Class MIB Upload Button.
    Author:
    Alejandro Galue
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.vaadin.v7.ui.Upload

        com.vaadin.v7.ui.Upload.ChangeEvent, com.vaadin.v7.ui.Upload.ChangeListener, com.vaadin.v7.ui.Upload.FailedEvent, com.vaadin.v7.ui.Upload.FailedListener, com.vaadin.v7.ui.Upload.FinishedEvent, com.vaadin.v7.ui.Upload.FinishedListener, com.vaadin.v7.ui.Upload.NoInputStreamEvent, com.vaadin.v7.ui.Upload.NoOutputStreamEvent, com.vaadin.v7.ui.Upload.ProgressListener, com.vaadin.v7.ui.Upload.Receiver, com.vaadin.v7.ui.Upload.StartedEvent, com.vaadin.v7.ui.Upload.StartedListener, com.vaadin.v7.ui.Upload.SucceededEvent, com.vaadin.v7.ui.Upload.SucceededListener
      • Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector

        com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
      • Nested classes/interfaces inherited from interface com.vaadin.ui.Component

        com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
      • Nested classes/interfaces inherited from interface com.vaadin.server.Sizeable

        com.vaadin.server.Sizeable.Unit
    • Field Summary

      • Fields inherited from class com.vaadin.ui.AbstractComponent

        DESIGN_ATTR_PLAIN_TEXT
      • Fields inherited from interface com.vaadin.server.Sizeable

        SIZE_UNDEFINED, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS
    • Constructor Summary

      Constructors 
      Constructor Description
      MibUploadButton​(java.io.File pendingDir, java.io.File compiledDir, Logger logger)
      Instantiates a new MIB upload button.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void uploadHandler​(java.lang.String filename)
      Upload handler.
      • Methods inherited from class com.vaadin.v7.ui.Upload

        addChangeListener, addFailedListener, addFinishedListener, addListener, addListener, addListener, addListener, addListener, addProgressListener, addStartedListener, addSucceededListener, changeVariables, fireNoInputStream, fireNoOutputStream, fireStarted, fireUpdateProgress, fireUploadInterrupted, fireUploadInterrupted, fireUploadSuccess, focus, getButtonCaption, getBytesRead, getListeners, getReceiver, getState, getStreamVariable, getTabIndex, getUploadSize, interruptUpload, isImmediate, isUploading, markAsDirty, paintContent, removeChangeListener, removeFailedListener, removeFinishedListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeProgressListener, removeStartedListener, removeSucceededListener, setButtonCaption, setReceiver, setTabIndex, startUpload, submitUpload
      • Methods inherited from class com.vaadin.v7.ui.AbstractLegacyComponent

        beforeClientResponse, getExplicitImmediateValue, getState, isReadOnly, readDesign, setImmediate, setReadOnly, writeDesign
      • Methods inherited from class com.vaadin.ui.AbstractComponent

        addContextClickListener, addListener, addShortcutListener, addStyleName, attach, detach, findAncestor, fireComponentErrorEvent, fireComponentEvent, getActionManager, getCaption, getComponentError, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isEnabled, isOrHasAncestor, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefined
      • Methods inherited from class com.vaadin.server.AbstractClientConnector

        addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstate
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.vaadin.server.ClientConnector

        addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
      • Methods inherited from interface com.vaadin.ui.Component

        addListener, addStyleName, addStyleNames, attach, getCaption, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleName, removeStyleNames, setCaption, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible, writeDesign
      • Methods inherited from interface com.vaadin.shared.Connector

        getConnectorId
      • Methods inherited from interface com.vaadin.server.Sizeable

        getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeightFull, setHeightUndefined, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull, setWidthUndefined
      • Methods inherited from interface com.vaadin.server.VariableOwner

        isEnabled
    • Constructor Detail

      • MibUploadButton

        public MibUploadButton​(java.io.File pendingDir,
                               java.io.File compiledDir,
                               Logger logger)
        Instantiates a new MIB upload button.
        Parameters:
        pendingDir - the pending directory
        compiledDir - the compiled directory
        logger - the logger
    • Method Detail

      • uploadHandler

        public abstract void uploadHandler​(java.lang.String filename)
        Upload handler.
        Parameters:
        filename - the filename