@Deprecated public class VOverlay extends Overlay
To use this correctly, use GWT.create(Class) to create the
Overlay superclass and the default widgetset will replace it with
this. The widget will not be dependent on this Vaadin specific widget and can
be used in a pure GWT environment.
Overlay.PositionAndSize, Overlay.ResizeAnimationcom.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback| Modifier and Type | Field and Description |
|---|---|
protected ApplicationConnection |
ac
Deprecated.
|
ADDITIONAL_CLASSNAME_ANIMATE_IN, ADDITIONAL_CLASSNAME_ANIMATE_OUT, CLASSNAME_CONTAINER, CLASSNAME_SHADOW, current, Z_INDEX| Constructor and Description |
|---|
VOverlay()
Deprecated.
|
VOverlay(boolean autoHide)
Deprecated.
|
VOverlay(boolean autoHide,
boolean modal)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected ApplicationConnection |
getApplicationConnection()
Deprecated.
Get the
ApplicationConnection that this overlay belongs to. |
com.google.gwt.user.client.Element |
getOverlayContainer()
Deprecated.
Gets the 'overlay container' element.
|
static com.google.gwt.user.client.Element |
getOverlayContainer(ApplicationConnection ac)
Deprecated.
Gets the 'overlay container' element pertaining to the given
ApplicationConnection. |
void |
setApplicationConnection(ApplicationConnection ac)
Deprecated.
Sets the
ApplicationConnection that this overlay belongs to. |
static void |
setOverlayContainerLabel(ApplicationConnection applicationConnection,
String overlayContainerLabel)
Deprecated.
Set the label of the container element, where tooltip, notification and
dialogs are added to.
|
center, getOwner, hide, hide, hide, isFitInWindow, isShimElementEnabled, needsShimElement, onAttach, onDetach, positionOrSizeUpdated, setFitInWindow, setHeight, setOwner, setPopupPosition, setVisible, setWidth, setZIndex, show, updateShadowSizeAndPositionaddAutoHidePartner, addCloseHandler, addPopupListener, getAnimationType, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onPreviewNativeEvent, 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, onBrowserEvent, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorprotected ApplicationConnection ac
public VOverlay()
public VOverlay(boolean autoHide)
public VOverlay(boolean autoHide,
boolean modal)
protected ApplicationConnection getApplicationConnection()
ApplicationConnection that this overlay belongs to. If
it's not set, Overlay.getOwner() is used to figure it out.public com.google.gwt.user.client.Element getOverlayContainer()
ApplicationConnection using getApplicationConnection().getOverlayContainer in class OverlayApplicationConnection or another element if the current
ApplicationConnection cannot be determined.public static com.google.gwt.user.client.Element getOverlayContainer(ApplicationConnection ac)
ApplicationConnection. Each overlay should be created in a
overlay container element, so that the correct theme and styles can be
applied.ac - A reference to ApplicationConnectionpublic static void setOverlayContainerLabel(ApplicationConnection applicationConnection, String overlayContainerLabel)
applicationConnection - the application connection for which to change the labeloverlayContainerLabel - label for the containerpublic void setApplicationConnection(ApplicationConnection ac)
ApplicationConnection that this overlay belongs to.ac - the connectiongetApplicationConnection()Copyright © 2021 Vaadin Ltd. All rights reserved.