public class ImportComponent
extends com.vaadin.ui.VerticalLayout
implements com.vaadin.ui.Upload.StartedListener, com.vaadin.ui.Upload.FinishedListener, com.vaadin.ui.Upload.FailedListener, com.vaadin.ui.Upload.ProgressListener
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandlercom.vaadin.ui.Layout.AlignmentHandler, com.vaadin.ui.Layout.MarginHandler, com.vaadin.ui.Layout.MarginInfo, com.vaadin.ui.Layout.SpacingHandlercom.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener| Modifier and Type | Field and Description |
|---|---|
protected List<com.vaadin.ui.Upload.FailedListener> |
failedListeners |
protected List<com.vaadin.ui.Upload.FinishedListener> |
finishedListeners |
protected I18nManager |
i18nManager |
protected NotificationManager |
notificationManager |
protected com.vaadin.ui.ProgressIndicator |
progressIndicator |
protected List<com.vaadin.ui.Upload.ProgressListener> |
progressListeners |
protected com.vaadin.ui.Upload.Receiver |
receiver |
protected boolean |
showGenericFailureMessage |
protected List<com.vaadin.ui.Upload.StartedListener> |
startedListeners |
protected com.vaadin.ui.Upload |
upload |
| Constructor and Description |
|---|
ImportComponent(String description,
com.vaadin.ui.Upload.Receiver receiver) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDescription(String description) |
void |
addFailedListener(com.vaadin.ui.Upload.FailedListener failedListener) |
void |
addFinishedListener(com.vaadin.ui.Upload.FinishedListener finishedListener) |
void |
addProgressListener(com.vaadin.ui.Upload.ProgressListener progressListener) |
void |
addStartedListener(com.vaadin.ui.Upload.StartedListener startedListener) |
protected void |
addUpload() |
com.vaadin.event.dd.acceptcriteria.AcceptCriterion |
getAcceptCriterion() |
protected void |
init(String description) |
void |
updateProgress(long readBytes,
long contentLength) |
void |
uploadFailed(com.vaadin.ui.Upload.FailedEvent event) |
void |
uploadFinished(com.vaadin.ui.Upload.FinishedEvent event) |
void |
uploadStarted(com.vaadin.ui.Upload.StartedEvent event) |
addComponent, addComponent, addComponentAsFirst, addListener, getComponent, getComponentAlignment, getComponentCount, getComponentIndex, getComponentIterator, getExpandRatio, isSpacing, isSpacingEnabled, paintContent, removeComponent, removeListener, replaceComponent, setComponentAlignment, setComponentAlignment, setComponentAlignment, setExpandRatio, setSpacingchangeVariables, fireClick, getMargin, setMargin, setMargin, setMarginaddListener, addListener, attach, detach, fireComponentAttachEvent, fireComponentDetachEvent, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAll, setEnabled, setHeight, setWidthaddListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, focus, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidthUnitsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, addListener, moveComponentsFrom, removeAllComponents, removeListener, removeListener, requestRepaintAlladdListener, addStyleName, attach, childRequestedRepaint, detach, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisibleprotected I18nManager i18nManager
protected NotificationManager notificationManager
protected com.vaadin.ui.ProgressIndicator progressIndicator
protected com.vaadin.ui.Upload upload
protected com.vaadin.ui.Upload.Receiver receiver
protected List<com.vaadin.ui.Upload.FinishedListener> finishedListeners
protected List<com.vaadin.ui.Upload.StartedListener> startedListeners
protected boolean showGenericFailureMessage
protected List<com.vaadin.ui.Upload.FailedListener> failedListeners
protected List<com.vaadin.ui.Upload.ProgressListener> progressListeners
public ImportComponent(String description, com.vaadin.ui.Upload.Receiver receiver)
protected void init(String description)
protected void addDescription(String description)
protected void addUpload()
public void uploadStarted(com.vaadin.ui.Upload.StartedEvent event)
uploadStarted in interface com.vaadin.ui.Upload.StartedListenerpublic void updateProgress(long readBytes,
long contentLength)
updateProgress in interface com.vaadin.ui.Upload.ProgressListenerpublic void uploadFinished(com.vaadin.ui.Upload.FinishedEvent event)
uploadFinished in interface com.vaadin.ui.Upload.FinishedListenerpublic void uploadFailed(com.vaadin.ui.Upload.FailedEvent event)
uploadFailed in interface com.vaadin.ui.Upload.FailedListenerpublic com.vaadin.event.dd.acceptcriteria.AcceptCriterion getAcceptCriterion()
public void addFinishedListener(com.vaadin.ui.Upload.FinishedListener finishedListener)
public void addStartedListener(com.vaadin.ui.Upload.StartedListener startedListener)
public void addFailedListener(com.vaadin.ui.Upload.FailedListener failedListener)
public void addProgressListener(com.vaadin.ui.Upload.ProgressListener progressListener)
Copyright © 2016 Alfresco. All rights reserved.