com.vaadin.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.client.widgets.Overlay
-
- com.vaadin.client.ui.VOverlay
-
- com.vaadin.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.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
,StateChangeEvent.StateChangeHandler
,Serializable
,Iterable<com.google.gwt.user.client.ui.Widget>
Enclosing class:
public class VPopupView.CustomPopup extends VOverlay implements StateChangeEvent.StateChangeHandler
This class is only public 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.
See Also:
-
-
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 VCaptionWrapper
captionWrapper
For internal use only.
com.google.gwt.user.client.ui.Widget
popupComponentWidget
For internal use only.
-
Fields inherited from class com.vaadin.client.widgets.Overlay
ADDITIONAL_CLASSNAME_ANIMATE_IN, ADDITIONAL_CLASSNAME_ANIMATE_OUT, CLASSNAME_CONTAINER, CLASSNAME_SHADOW, Z_INDEX
-
-
Constructor Summary
Constructors Constructor Description CustomPopup()
-
Method Summary
All Methods Modifier and Type Method Description com.google.gwt.user.client.Element
getContainerElement()
void
hide(boolean autoClosed)
boolean
onEventPreview(com.google.gwt.user.client.Event event)
void
onStateChanged(StateChangeEvent stateChangeEvent)
Notifies the event handler that the state has changed.
boolean
remove(com.google.gwt.user.client.ui.Widget w)
void
setHideOnMouseOut(boolean hideOnMouseOut)
void
setPopupConnector(ComponentConnector newPopupComponent)
void
show()
void
syncChildren()
Try to sync all known active child widgets to server
-
Methods inherited from class com.vaadin.client.ui.VOverlay
getApplicationConnection, getOverlayContainer, getOverlayContainer, setOverlayContainerLabel
-
Methods inherited from class com.vaadin.client.widgets.Overlay
center, getOwner, hide, hide, isFitInWindow, isShadowEnabled, isShimElementEnabled, isSinkShadowEvents, needsShimElement, onAttach, onClose, onDetach, positionOrSizeUpdated, setFitInWindow, setHeight, setOwner, setPopupPosition, setShadowEnabled, setShadowStyle, setSinkShadowEvents, setVisible, setWidth, setZIndex, sinkEvents, updateShadowSizeAndPosition, useShadowDiv
-
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel
addAutoHidePartner, addCloseHandler, addPopupListener, getAnimationType, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, 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, 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, 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
-
-
-
-
Field Detail
-
popupComponentWidget
public com.google.gwt.user.client.ui.Widget popupComponentWidget
For internal use only. May be removed or replaced in the future.
-
captionWrapper
public VCaptionWrapper captionWrapper
For internal use only. May be removed or replaced in the future.
-
-
Method Detail
-
onEventPreview
public boolean onEventPreview(com.google.gwt.user.client.Event event)
Specified by:
onEventPreview
in interfacecom.google.gwt.user.client.EventPreview
Overrides:
onEventPreview
in classcom.google.gwt.user.client.ui.PopupPanel
-
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 interfacecom.google.gwt.user.client.ui.HasWidgets
Overrides:
remove
in classcom.google.gwt.user.client.ui.SimplePanel
-
setPopupConnector
public void setPopupConnector(ComponentConnector newPopupComponent)
-
setHideOnMouseOut
public void setHideOnMouseOut(boolean hideOnMouseOut)
-
getContainerElement
public com.google.gwt.user.client.Element getContainerElement()
Overrides:
getContainerElement
in classcom.google.gwt.user.client.ui.PopupPanel
-
onStateChanged
public void onStateChanged(StateChangeEvent stateChangeEvent)
Description copied from interface:
StateChangeEvent.StateChangeHandler
Notifies the event handler that the state has changed.
Specified by:
onStateChanged
in interfaceStateChangeEvent.StateChangeHandler
Parameters:
stateChangeEvent
- the state change event with details about the change
-
-