public class VPopupView extends com.google.gwt.user.client.ui.HTML implements com.google.gwt.user.client.ui.HasEnabled, Iterable<com.google.gwt.user.client.ui.Widget>, DeferredWorker
Modifier and Type | Class and Description |
---|---|
class |
VPopupView.CustomPopup
This class is only public to enable overriding showPopup, and is
currently not intended to be extended or otherwise used directly.
|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
Modifier and Type | Field and Description |
---|---|
static String |
CLASSNAME |
ApplicationConnection |
client
For internal use only.
|
boolean |
hostPopupVisible
Helps to communicate popup visibility to the server.
|
VPopupView.CustomPopup |
popup
For internal use only.
|
String |
uidlId
For server-client communication.
|
Constructor and Description |
---|
VPopupView()
loading constructor
|
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addVisibilityChangeHandler(VisibilityChangeHandler visibilityChangeHandler) |
void |
center()
For internal use only.
|
boolean |
isEnabled()
Returns true if the popup is enabled, false if not.
|
boolean |
isWorkPending()
Checks whether there are operations pending for this widget that must be
executed before reaching a steady state.
|
Iterator<com.google.gwt.user.client.ui.Widget> |
iterator() |
protected void |
onDetach()
Make sure that we remove the popup when the main widget is removed.
|
void |
preparePopup(VPopupView.CustomPopup popup)
For internal use only.
|
void |
setEnabled(boolean enabled)
Sets whether this popup is enabled.
|
void |
showPopup(VPopupView.CustomPopup popup)
Determines the correct position for a popup and displays the popup at
that position.
|
getHTML, getTextOrHtml, setHTML, setHTML, setHTML, setHTML, wrap
addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, asEditor, getDirection, getText, getTextDirection, removeClickListener, removeMouseListener, removeMouseWheelListener, setDirection, setText, setText
getAutoHorizontalAlignment, getDirectionEstimator, getHorizontalAlignment, getWordWrap, setAutoHorizontalAlignment, setDirectionEstimator, setDirectionEstimator, setHorizontalAlignment, setWordWrap, updateHorizontalAlignment
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final String CLASSNAME
public String uidlId
For internal use only. May be removed or replaced in the future.
public ApplicationConnection client
public boolean hostPopupVisible
For internal use only. May be removed or replaced in the future.
public final VPopupView.CustomPopup popup
public void preparePopup(VPopupView.CustomPopup popup)
public void showPopup(VPopupView.CustomPopup popup)
popup
- public void center()
protected void onDetach()
onDetach
in class com.google.gwt.user.client.ui.Widget
Widget.onUnload()
public boolean isEnabled()
isEnabled
in interface com.google.gwt.user.client.ui.HasEnabled
public void setEnabled(boolean enabled)
setEnabled
in interface com.google.gwt.user.client.ui.HasEnabled
enabled
- true
to enable the popup, false
to
disable itpublic com.google.gwt.event.shared.HandlerRegistration addVisibilityChangeHandler(VisibilityChangeHandler visibilityChangeHandler)
public Iterator<com.google.gwt.user.client.ui.Widget> iterator()
public boolean isWorkPending()
isWorkPending
in interface DeferredWorker
Copyright © 2019 Vaadin Ltd. All rights reserved.