com.vaadin.client.ui
Class VWindowOverlay

java.lang.Object
  extended by PopupPanel
      extended by com.vaadin.client.ui.VOverlay
          extended by com.vaadin.client.ui.VWindowOverlay
All Implemented Interfaces:
com.google.gwt.event.logical.shared.CloseHandler<PopupPanel>, com.google.gwt.event.shared.EventHandler
Direct Known Subclasses:
VTooltip, VWindow

public class VWindowOverlay
extends VOverlay


Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.client.ui.VOverlay
VOverlay.PositionAndSize, VOverlay.ResizeAnimation
 
Field Summary
 
Fields inherited from class com.vaadin.client.ui.VOverlay
ac, CLASSNAME_CONTAINER, CLASSNAME_SHADOW, current, Z_INDEX
 
Constructor Summary
VWindowOverlay()
           
VWindowOverlay(boolean autoHide, boolean modal, boolean showShadow)
           
 
Method Summary
 com.google.gwt.user.client.Element getOverlayContainer()
          Gets the 'overlay container' element.
static com.google.gwt.user.client.Element getOverlayContainer(ApplicationConnection ac)
          Gets the 'overlay container' element pertaining to the given ApplicationConnection.
 
Methods inherited from class com.vaadin.client.ui.VOverlay
center, getApplicationConnection, getOwner, isShadowEnabled, isShimElementEnabled, isSinkShadowEvents, needsShimElement, onClose, onDetach, positionOrSizeUpdated, setHeight, setOverlayContainerLabel, setOwner, setPopupPosition, setShadowEnabled, setShadowStyle, setSinkShadowEvents, setVisible, setWidth, setZIndex, show, sinkEvents, updateShadowSizeAndPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.logical.shared.CloseHandler
onClose
 

Constructor Detail

VWindowOverlay

public VWindowOverlay()

VWindowOverlay

public VWindowOverlay(boolean autoHide,
                      boolean modal,
                      boolean showShadow)
Method Detail

getOverlayContainer

public com.google.gwt.user.client.Element getOverlayContainer()
Gets the 'overlay container' element. Tries to find the current ApplicationConnection using VOverlay.getApplicationConnection().

Overrides:
getOverlayContainer in class VOverlay
Returns:
the overlay container element for the current ApplicationConnection or another element if the current ApplicationConnection cannot be determined.

getOverlayContainer

public static com.google.gwt.user.client.Element getOverlayContainer(ApplicationConnection ac)
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 to ApplicationConnection
Returns:
The overlay container


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.