com.vaadin.client.ui.
Class VOverlay
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.SimplePanel
-
- com.google.gwt.user.client.ui.PopupPanel
-
- com.vaadin.client.widgets.Overlay
-
- com.vaadin.client.ui.VOverlay
-
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.EventPreview
,com.google.gwt.user.client.ui.AcceptsOneWidget
,com.google.gwt.user.client.ui.HasAnimation
,com.google.gwt.user.client.ui.HasOneWidget
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.HasWidgets
,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,com.google.gwt.user.client.ui.SourcesPopupEvents
,Iterable<com.google.gwt.user.client.ui.Widget>
Direct Known Subclasses:
DefaultReconnectDialog
,VComboBox.SuggestionPopup
,VContextMenu
,VDebugWindow
,VDebugWindow.Menu
,VNotification
,VPopupView.CustomPopup
,VTooltip
,VWindow
@Deprecated public class VOverlay extends Overlay
Deprecated.as this is specifically for Vaadin only, it should not be used directly.In Vaadin UI this VOverlay should always be used for all elements that temporary float over other components like context menus etc. This is to deal stacking order correctly with VWindow objects.
To use this correctly, use
GWT.create(Class)
to create theOverlay
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.client.widgets.Overlay
Overlay.PositionAndSize, Overlay.ResizeAnimation
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback
-
-
Field Summary
Fields Modifier and Type Field Description protected ApplicationConnection
ac
Deprecated.
-
Fields inherited from class com.vaadin.client.widgets.Overlay
ADDITIONAL_CLASSNAME_ANIMATE_IN, ADDITIONAL_CLASSNAME_ANIMATE_OUT, CLASSNAME_CONTAINER, CLASSNAME_SHADOW, current, Z_INDEX
-
-
Method Summary
All Methods Modifier and Type Method 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.
-
Methods inherited from class com.vaadin.client.widgets.Overlay
center, getOwner, hide, hide, hide, isFitInWindow, isShimElementEnabled, needsShimElement, onAttach, onDetach, positionOrSizeUpdated, setFitInWindow, setHeight, setOwner, setPopupPosition, setVisible, setWidth, setZIndex, show, updateShadowSizeAndPosition
-
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, 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, showRelativeTo
-
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getWidget, iterator, remove, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onBrowserEvent, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, 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, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
ac
protected ApplicationConnection ac
Deprecated.
-
-
Method Detail
-
getApplicationConnection
protected ApplicationConnection getApplicationConnection()
Deprecated.Get the
ApplicationConnection
that this overlay belongs to. If it's not set,Overlay.getOwner()
is used to figure it out.Returns:
-
getOverlayContainer
public com.google.gwt.user.client.Element getOverlayContainer()
Deprecated.Gets the 'overlay container' element. Tries to find the current
ApplicationConnection
usinggetApplicationConnection()
.Overrides:
getOverlayContainer
in classOverlay
Returns:
the overlay container element for the current
ApplicationConnection
or another element if the currentApplicationConnection
cannot be determined.
-
getOverlayContainer
public static com.google.gwt.user.client.Element getOverlayContainer(ApplicationConnection ac)
Deprecated.Gets the 'overlay container' element pertaining to the given
ApplicationConnection
. Each overlay should be created in a overlay container element, so that the correct theme and styles can be applied.Parameters:
ac
- A reference toApplicationConnection
Returns:
The overlay container
-
setOverlayContainerLabel
public static void setOverlayContainerLabel(ApplicationConnection applicationConnection, String overlayContainerLabel)
Deprecated.Set the label of the container element, where tooltip, notification and dialogs are added to.
Parameters:
applicationConnection
- the application connection for which to change the labeloverlayContainerLabel
- label for the container
-
setApplicationConnection
public void setApplicationConnection(ApplicationConnection ac)
Deprecated.Sets the
ApplicationConnection
that this overlay belongs to.Parameters:
ac
- the connectionSee Also:
-
-