public class JmixFileUploadProgressWindow
extends com.vaadin.client.ui.VOverlay
implements com.google.gwt.event.dom.client.KeyDownHandler, com.google.gwt.event.dom.client.KeyUpHandler, com.vaadin.client.Focusable
| Modifier and Type | Class and Description |
|---|---|
static interface |
JmixFileUploadProgressWindow.CloseListener |
com.vaadin.client.widgets.Overlay.PositionAndSize, com.vaadin.client.widgets.Overlay.ResizeAnimationcom.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback| Modifier and Type | Field and Description |
|---|---|
protected com.google.gwt.event.shared.HandlerRegistration |
bottomBlockerRegistration |
protected com.google.gwt.user.client.Event.NativePreviewHandler |
bottomEventBlocker |
protected com.google.gwt.dom.client.Element |
bottomTabStop |
protected com.vaadin.client.ui.VButton |
cancelButton |
static java.lang.String |
CLASSNAME |
protected boolean |
closable |
protected com.google.gwt.dom.client.Element |
closeBox |
protected JmixFileUploadProgressWindow.CloseListener |
closeListener |
protected com.vaadin.client.ui.SimpleFocusablePanel |
contentPanel |
protected com.google.gwt.dom.client.Element |
contents |
protected com.vaadin.client.ui.VLabel |
currentFileLabel |
protected boolean |
doTabStop |
protected boolean |
draggable |
protected boolean |
dragging |
protected com.google.gwt.dom.client.Element |
draggingCurtain |
protected com.google.gwt.dom.client.Element |
footer |
protected com.google.gwt.dom.client.Element |
header |
protected com.google.gwt.dom.client.Element |
headerText |
protected com.google.gwt.dom.client.Element |
modalityCurtain |
protected int |
origH |
protected int |
origW |
protected int |
origX |
protected int |
origY |
protected com.vaadin.client.ui.VProgressBar |
progressBar |
protected boolean |
resizable |
protected com.google.gwt.dom.client.Element |
resizeBox |
protected boolean |
resizing |
protected com.google.gwt.dom.client.Element |
resizingCurtain |
protected int |
startX |
protected int |
startY |
protected com.google.gwt.event.shared.HandlerRegistration |
topBlockerRegistration |
protected com.google.gwt.user.client.Event.NativePreviewHandler |
topEventBlocker |
protected com.google.gwt.dom.client.Element |
topTabStop |
protected boolean |
vaadinModality |
protected boolean |
visibilityChangesDisabled |
protected com.google.gwt.dom.client.Element |
wrapper |
static int |
Z_INDEX |
| Constructor and Description |
|---|
JmixFileUploadProgressWindow() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStyleDependentName(java.lang.String styleSuffix) |
protected void |
closeWindow() |
protected void |
constructDOM() |
void |
focus() |
protected com.google.gwt.user.client.Element |
getContainerElement() |
java.lang.String |
getCurrentFileName() |
protected com.google.gwt.dom.client.Element |
getModalityCurtain() |
void |
hide() |
protected boolean |
isClosable()
Returns the closable state of the sub window.
|
protected void |
onAttach() |
void |
onBrowserEvent(com.google.gwt.user.client.Event event) |
protected void |
onDetach() |
void |
onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event) |
void |
onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event) |
protected void |
onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent event) |
void |
setCancelButtonCaption(java.lang.String cancelButtonCaption) |
void |
setCaption(java.lang.String c) |
void |
setCaption(java.lang.String c,
boolean asHtml) |
void |
setClosable(boolean closable)
Sets the closable state of the window.
|
void |
setCloseListener(JmixFileUploadProgressWindow.CloseListener closeListener) |
void |
setCurrentFileName(java.lang.String currentFileName) |
void |
setDraggable(boolean draggable) |
void |
setHeight(java.lang.String height) |
void |
setPopupPosition(int left,
int top) |
void |
setProgress(float state) |
void |
setResizable(boolean resizability)
INTERNAL.
|
void |
setTabStopEnabled(boolean doTabStop)
Registers the handlers that prevent to leave the window using the
Tab-key.
|
void |
setVaadinModality(boolean modality) |
void |
setVisible(boolean visible) |
void |
setWidth(java.lang.String width) |
protected void |
setZIndex(int zIndex) |
void |
show() |
getApplicationConnection, getOverlayContainer, getOverlayContainer, setApplicationConnection, setOverlayContainerLabelcenter, getOwner, hide, hide, isFitInWindow, isShimElementEnabled, needsShimElement, positionOrSizeUpdated, setFitInWindow, setOwner, updateShadowSizeAndPositionaddAutoHidePartner, addCloseHandler, addPopupListener, getAnimationType, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setModal, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setWidget, showRelativeToadd, getWidget, iterator, remove, setWidgetadd, adopt, clear, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toStringpublic static final java.lang.String CLASSNAME
public static final int Z_INDEX
protected com.google.gwt.dom.client.Element contents
protected com.google.gwt.dom.client.Element header
protected com.google.gwt.dom.client.Element footer
protected com.google.gwt.dom.client.Element resizeBox
protected com.vaadin.client.ui.SimpleFocusablePanel contentPanel
protected boolean dragging
protected int startX
protected int startY
protected int origX
protected int origY
protected boolean resizing
protected int origW
protected int origH
protected com.google.gwt.dom.client.Element closeBox
protected boolean vaadinModality
protected boolean resizable
protected boolean draggable
protected com.google.gwt.dom.client.Element modalityCurtain
protected com.google.gwt.dom.client.Element draggingCurtain
protected com.google.gwt.dom.client.Element resizingCurtain
protected com.google.gwt.dom.client.Element headerText
protected boolean closable
protected com.google.gwt.dom.client.Element topTabStop
protected com.google.gwt.dom.client.Element bottomTabStop
protected com.google.gwt.user.client.Event.NativePreviewHandler topEventBlocker
protected com.google.gwt.user.client.Event.NativePreviewHandler bottomEventBlocker
protected com.google.gwt.event.shared.HandlerRegistration topBlockerRegistration
protected com.google.gwt.event.shared.HandlerRegistration bottomBlockerRegistration
protected boolean doTabStop
protected com.google.gwt.dom.client.Element wrapper
protected boolean visibilityChangesDisabled
protected JmixFileUploadProgressWindow.CloseListener closeListener
protected com.vaadin.client.ui.VLabel currentFileLabel
protected com.vaadin.client.ui.VButton cancelButton
protected com.vaadin.client.ui.VProgressBar progressBar
protected void onAttach()
onAttach in class com.vaadin.client.widgets.Overlayprotected void onDetach()
onDetach in class com.vaadin.client.widgets.Overlayprotected void setZIndex(int zIndex)
setZIndex in class com.vaadin.client.widgets.Overlayprotected com.google.gwt.dom.client.Element getModalityCurtain()
protected void constructDOM()
public void setVisible(boolean visible)
setVisible in interface com.google.gwt.user.client.ui.HasVisibilitysetVisible in class com.vaadin.client.widgets.Overlaypublic void setDraggable(boolean draggable)
public void setClosable(boolean closable)
closable - true if the window can be closed by the userprotected boolean isClosable()
public void setCancelButtonCaption(java.lang.String cancelButtonCaption)
public void setCurrentFileName(java.lang.String currentFileName)
public java.lang.String getCurrentFileName()
public void setProgress(float state)
public void show()
show in class com.vaadin.client.widgets.Overlaypublic void hide()
hide in class com.vaadin.client.widgets.Overlaypublic void setVaadinModality(boolean modality)
public void setResizable(boolean resizability)
public void setPopupPosition(int left,
int top)
setPopupPosition in class com.vaadin.client.widgets.Overlaypublic void setCaption(java.lang.String c)
public void setCaption(java.lang.String c,
boolean asHtml)
protected com.google.gwt.user.client.Element getContainerElement()
getContainerElement in class com.google.gwt.user.client.ui.PopupPanelpublic void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class com.google.gwt.user.client.ui.Widgetprotected void closeWindow()
public void setWidth(java.lang.String width)
setWidth in class com.vaadin.client.widgets.Overlaypublic void setHeight(java.lang.String height)
setHeight in class com.vaadin.client.widgets.Overlayprotected void onPreviewNativeEvent(com.google.gwt.user.client.Event.NativePreviewEvent event)
onPreviewNativeEvent in class com.google.gwt.user.client.ui.PopupPanelpublic void addStyleDependentName(java.lang.String styleSuffix)
addStyleDependentName in class com.google.gwt.user.client.ui.UIObjectpublic void onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
onKeyDown in interface com.google.gwt.event.dom.client.KeyDownHandlerpublic void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
onKeyUp in interface com.google.gwt.event.dom.client.KeyUpHandlerpublic void focus()
focus in interface com.vaadin.client.Focusablepublic void setTabStopEnabled(boolean doTabStop)
The value of the parameter doTabStop is stored and used for non-modal windows. For modal windows, the handlers are always registered, while preserving the stored value.
doTabStop - true to prevent leaving the window, false to allow leaving the
window for non modal windowspublic void setCloseListener(JmixFileUploadProgressWindow.CloseListener closeListener)