com.vaadin.client.ui
Class VPopupView.CustomPopup

java.lang.Object
  extended by PopupPanel
      extended by com.vaadin.client.ui.VOverlay
          extended by com.vaadin.client.ui.VPopupView.CustomPopup
All Implemented Interfaces:
com.google.gwt.event.logical.shared.CloseHandler<PopupPanel>, com.google.gwt.event.shared.EventHandler, StateChangeEvent.StateChangeHandler, java.io.Serializable
Enclosing class:
VPopupView

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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.vaadin.client.ui.VOverlay
VOverlay.PositionAndSize, VOverlay.ResizeAnimation
 
Field Summary
 VCaptionWrapper captionWrapper
          For internal use only.
 Widget popupComponentWidget
          For internal use only.
 
Fields inherited from class com.vaadin.client.ui.VOverlay
ac, ADDITIONAL_CLASSNAME_ANIMATE_IN, ADDITIONAL_CLASSNAME_ANIMATE_OUT, CLASSNAME_CONTAINER, CLASSNAME_SHADOW, current, Z_INDEX
 
Constructor Summary
VPopupView.CustomPopup()
           
 
Method Summary
 com.google.gwt.user.client.Element getContainerElement()
           
 void hide(boolean autoClosed)
           
 boolean onEventPreview(Event event)
           
 void onStateChanged(StateChangeEvent stateChangeEvent)
          Notifies the event handler that the state has changed.
 boolean remove(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
center, getApplicationConnection, getOverlayContainer, getOverlayContainer, getOwner, hide, isShadowEnabled, isShimElementEnabled, isSinkShadowEvents, needsShimElement, onClose, onDetach, positionOrSizeUpdated, setHeight, setOverlayContainerLabel, setOwner, setPopupPosition, setShadowEnabled, setShadowStyle, setSinkShadowEvents, setVisible, setWidth, setZIndex, sinkEvents, updateShadowSizeAndPosition, useShadowDiv
 
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
 

Field Detail

popupComponentWidget

public 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.

Constructor Detail

VPopupView.CustomPopup

public VPopupView.CustomPopup()
Method Detail

onEventPreview

public boolean onEventPreview(Event event)

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(Widget w)

setPopupConnector

public void setPopupConnector(ComponentConnector newPopupComponent)

setHideOnMouseOut

public void setHideOnMouseOut(boolean hideOnMouseOut)

getContainerElement

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

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 interface StateChangeEvent.StateChangeHandler
Parameters:
stateChangeEvent - the state change event with details about the change


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