
public final class RevealRootPopupContentEvent extends GwtEvent<RevealRootPopupContentHandler>
PresenterWidget
wants to reveal itself as a popup at the root of the application. It is
typically fired by the PresenterWidget's
parent.RevealContentEvent,
RevealRootContentEvent,
RevealRootLayoutContentEventGwtEvent.Type<H>| Constructor and Description |
|---|
RevealRootPopupContentEvent(PresenterWidget<? extends PopupView> content) |
RevealRootPopupContentEvent(PresenterWidget<? extends PopupView> content,
boolean center) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(RevealRootPopupContentHandler handler) |
static void |
fire(HasHandlers source,
PresenterWidget<? extends PopupView> content)
Fires a
RevealRootPopupContentEvent into a source that has access
to an EventBus. |
static void |
fire(HasHandlers source,
PresenterWidget<? extends PopupView> content,
boolean center)
Fires a
RevealRootPopupContentEvent into a source that has access
to an EventBus. |
GwtEvent.Type<RevealRootPopupContentHandler> |
getAssociatedType() |
PresenterWidget<? extends PopupView> |
getContent() |
static GwtEvent.Type<RevealRootPopupContentHandler> |
getType() |
boolean |
isCentered() |
assertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringpublic RevealRootPopupContentEvent(PresenterWidget<? extends PopupView> content)
public RevealRootPopupContentEvent(PresenterWidget<? extends PopupView> content, boolean center)
public static void fire(HasHandlers source, PresenterWidget<? extends PopupView> content)
RevealRootPopupContentEvent into a source that has access
to an EventBus.source - The source that fires this event (HasHandlers).content - The PresenterWidget with a PopupView that
wants to set itself as root content.public static void fire(HasHandlers source, PresenterWidget<? extends PopupView> content, boolean center)
RevealRootPopupContentEvent into a source that has access
to an EventBus.source - The source that fires this event (HasHandlers).content - The PresenterWidget with a PopupView that
wants to set itself as root content.center - Pass true to center the popup, otherwise its position will not
be adjusted.public static GwtEvent.Type<RevealRootPopupContentHandler> getType()
public GwtEvent.Type<RevealRootPopupContentHandler> getAssociatedType()
getAssociatedType in class GwtEvent<RevealRootPopupContentHandler>public PresenterWidget<? extends PopupView> getContent()
public boolean isCentered()
protected void dispatch(RevealRootPopupContentHandler handler)
dispatch in class GwtEvent<RevealRootPopupContentHandler>Copyright © 2010-2014 ArcBees. All Rights Reserved.