@Deprecated public class VOverlay extends Overlay implements com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>
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.
|
protected static VOverlay |
current
Deprecated.
|
ADDITIONAL_CLASSNAME_ANIMATE_IN, ADDITIONAL_CLASSNAME_ANIMATE_OUT, CLASSNAME_CONTAINER, CLASSNAME_SHADOW, Z_INDEX| Constructor and Description |
|---|
VOverlay()
Deprecated.
|
VOverlay(boolean autoHide)
Deprecated.
|
VOverlay(boolean autoHide,
boolean modal)
Deprecated.
|
VOverlay(boolean autoHide,
boolean modal,
boolean showShadow)
Deprecated.
See main JavaDoc for VOverlay. Use the other constructors
without the
showShadow parameter. |
| 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. |
static void |
setOverlayContainerLabel(ApplicationConnection applicationConnection,
String overlayContainerLabel)
Deprecated.
Set the label of the container element, where tooltip, notification and
dialgs are added to.
|
center, getOwner, hide, hide, hide, isFitInWindow, isShadowEnabled, isShimElementEnabled, isSinkShadowEvents, needsShimElement, onAttach, onClose, onDetach, positionOrSizeUpdated, setFitInWindow, setHeight, setOwner, setPopupPosition, setShadowEnabled, setShadowStyle, setSinkShadowEvents, setVisible, setWidth, setZIndex, show, sinkEvents, updateShadowSizeAndPosition, useShadowDivaddAutoHidePartner, 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, 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
protected static VOverlay current
public VOverlay()
public VOverlay(boolean autoHide)
public VOverlay(boolean autoHide,
boolean modal)
@Deprecated public VOverlay(boolean autoHide, boolean modal, boolean showShadow)
showShadow parameter.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 containerCopyright © 2016 Vaadin Ltd. All rights reserved.