public final class RevealRootContentEvent extends GwtEvent<RevealRootContentHandler>
Presenter
that desires to reveal itself
at the root of the application. It is typically fired in the Presenter.revealInParent()
method.
This type of content is usually meant to use the browser like a regular webpage, adding a vertical
scrollbar as the content overflow.RevealContentEvent
,
RevealRootLayoutContentEvent
,
RevealRootPopupContentEvent
GwtEvent.Type<H>
Constructor and Description |
---|
RevealRootContentEvent(Presenter<?,?> content) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(RevealRootContentHandler handler) |
static void |
fire(HasHandlers source,
Presenter<?,?> content)
Fires a
RevealRootContentEvent
into a source that has access to an EventBus . |
GwtEvent.Type<RevealRootContentHandler> |
getAssociatedType() |
Presenter<?,?> |
getContent() |
static GwtEvent.Type<RevealRootContentHandler> |
getType() |
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public RevealRootContentEvent(Presenter<?,?> content)
public static void fire(HasHandlers source, Presenter<?,?> content)
RevealRootContentEvent
into a source that has access to an EventBus
.source
- The source that fires this event (HasHandlers
).content
- The Presenter
that wants to set itself as root content.public static GwtEvent.Type<RevealRootContentHandler> getType()
public GwtEvent.Type<RevealRootContentHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<RevealRootContentHandler>
public Presenter<?,?> getContent()
protected void dispatch(RevealRootContentHandler handler)
dispatch
in class GwtEvent<RevealRootContentHandler>
Copyright © 2010-2014 ArcBees. All Rights Reserved.