com.vaadin.terminal.gwt.client.ui.


Class VPopupView.CustomPopup

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.terminal.gwt.client.ui.VOverlay
                          com.vaadin.terminal.gwt.client.ui.VPopupView.CustomPopup

All Implemented Interfaces:

com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.PopupPanel>, 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.EventHandler, 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.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>

Enclosing class:

VPopupView

protected class VPopupView.CustomPopup
extends VOverlay

This class is only protected to enable overriding showPopup, and is currently not intended to be extended or otherwise used directly. Its API (other than it being a VOverlay) is to be considered private and potentially subject to change.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.terminal.gwt.client.ui.VOverlay
VOverlay.PositionAndSize, VOverlay.ResizeAnimation
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel
com.google.gwt.user.client.ui.PopupPanel.PositionCallback
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class com.vaadin.terminal.gwt.client.ui.VOverlay
CLASSNAME_SHADOW, Z_INDEX
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
VPopupView.CustomPopup()
           
 
Method Summary
 com.google.gwt.user.client.Element getContainerElement()
           
 com.google.gwt.user.client.ui.Widget getParent()
           
 void hide(boolean autoClosed)
           
protected  void onDetach()
           
 boolean onEventPreview(com.google.gwt.user.client.Event event)
           
 boolean remove(com.google.gwt.user.client.ui.Widget w)
           
 void setHideOnMouseOut(boolean hideOnMouseOut)
           
 void show()
           
 void syncChildren()
          Try to sync all known active child widgets to server
 void unregisterPaintables()
           
 void updateFromUIDL(UIDL uidl, ApplicationConnection client)
           
 
Methods inherited from class com.vaadin.terminal.gwt.client.ui.VOverlay
isShadowEnabled, isSinkShadowEvents, needsShimElement, onClose, positionOrSizeUpdated, setHeight, setPopupPosition, setShadowEnabled, setShadowStyle, setSinkShadowEvents, setVisible, setWidth, setZIndex, sinkEvents, updateShadowSizeAndPosition
 
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, center, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onPreviewNativeEvent, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setModal, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setWidget, showRelativeTo
 
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel
add, getWidget, iterator, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, clear, disown, 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, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onLoad, removeFromParent, setLayoutData
 
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, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Constructor Detail

VPopupView.CustomPopup

public VPopupView.CustomPopup()
Method Detail

onEventPreview

public boolean onEventPreview(com.google.gwt.user.client.Event event)

Specified by:
onEventPreview in interface com.google.gwt.user.client.EventPreview
Overrides:
onEventPreview in class com.google.gwt.user.client.ui.PopupPanel

hide

public void hide(boolean autoClosed)

Overrides:
hide in class VOverlay

show

public void show()

Overrides:
show in class VOverlay

syncChildren

public void syncChildren()

Try to sync all known active child widgets to server

remove

public boolean remove(com.google.gwt.user.client.ui.Widget w)

Specified by:
remove in interface com.google.gwt.user.client.ui.HasWidgets
Overrides:
remove in class com.google.gwt.user.client.ui.SimplePanel

updateFromUIDL

public void updateFromUIDL(UIDL uidl,
                           ApplicationConnection client)

unregisterPaintables

public void unregisterPaintables()

setHideOnMouseOut

public void setHideOnMouseOut(boolean hideOnMouseOut)

getParent

public com.google.gwt.user.client.ui.Widget getParent()

Overrides:
getParent in class com.google.gwt.user.client.ui.Widget

onDetach

protected void onDetach()

Overrides:
onDetach in class VOverlay

getContainerElement

public com.google.gwt.user.client.Element getContainerElement()

Overrides:
getContainerElement in class com.google.gwt.user.client.ui.PopupPanel