public final class RequestTabsEvent extends GwtEvent<RequestTabsHandler>
TabContainerPresenter
to identify all
presenters that should display their tabs within it.GwtEvent.Type<H>
Constructor and Description |
---|
RequestTabsEvent(GwtEvent.Type<RequestTabsHandler> type,
TabContainerPresenter<?,?> tabContainer)
Creates an event for requesting the tabs that should be displayed in a
TabContainerPresenter . |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(RequestTabsHandler handler) |
static void |
fire(HasHandlers source,
GwtEvent.Type<RequestTabsHandler> type,
TabContainerPresenter<?,?> tabContainer)
Fires a
RequestTabsEvent with a specific
GwtEvent.Type into a source that has access to an
EventBus . |
GwtEvent.Type<RequestTabsHandler> |
getAssociatedType() |
TabContainerPresenter<?,?> |
getTabContainer() |
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public RequestTabsEvent(GwtEvent.Type<RequestTabsHandler> type, TabContainerPresenter<?,?> tabContainer)
TabContainerPresenter
.type
- The specific GwtEvent.Type
of this event.tabContainer
- The TabContainerPresenter
making the request.public static void fire(HasHandlers source, GwtEvent.Type<RequestTabsHandler> type, TabContainerPresenter<?,?> tabContainer)
RequestTabsEvent
with a specific
GwtEvent.Type
into a source that has access to an
EventBus
.source
- The source that fires this event (HasHandlers
).type
- The specific event GwtEvent.Type
.tabContainer
- The TabContainerPresenter
requesting the tabs.public GwtEvent.Type<RequestTabsHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<RequestTabsHandler>
public TabContainerPresenter<?,?> getTabContainer()
protected void dispatch(RequestTabsHandler handler)
dispatch
in class GwtEvent<RequestTabsHandler>
Copyright © 2010-2014 ArcBees. All Rights Reserved.