public class GetPlaceTitleEvent extends GwtEvent<GetPlaceTitleHandler>
PlaceManager.getCurrentTitle(SetPlaceTitleHandler)
or
PlaceManager.getTitle(int, SetPlaceTitleHandler)
.GwtEvent.Type<H>
Constructor and Description |
---|
GetPlaceTitleEvent(PlaceRequest request,
SetPlaceTitleHandler handler) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(GetPlaceTitleHandler handler) |
static void |
fire(HasHandlers source,
PlaceRequest request,
SetPlaceTitleHandler handler)
Fires a
GetPlaceTitleEvent
into a source that has access to an EventBus . |
GwtEvent.Type<GetPlaceTitleHandler> |
getAssociatedType() |
SetPlaceTitleHandler |
getHandler() |
PlaceRequest |
getRequest() |
static GwtEvent.Type<GetPlaceTitleHandler> |
getType() |
boolean |
isHandled()
Checks if the event was handled.
|
void |
setHandled()
Indicates that the event was handled and that other handlers should not
process it.
|
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public GetPlaceTitleEvent(PlaceRequest request, SetPlaceTitleHandler handler)
public static void fire(HasHandlers source, PlaceRequest request, SetPlaceTitleHandler handler)
GetPlaceTitleEvent
into a source that has access to an EventBus
.
Important! You should never fire that event directly. See
GetPlaceTitleEvent
for details.source
- The source that fires this event (HasHandlers
).request
- The PlaceRequest
for which to obtain the title.handler
- The SetPlaceTitleHandler
that will be invoked when
the title is obtained.public static GwtEvent.Type<GetPlaceTitleHandler> getType()
public GwtEvent.Type<GetPlaceTitleHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<GetPlaceTitleHandler>
public SetPlaceTitleHandler getHandler()
public PlaceRequest getRequest()
public boolean isHandled()
true
if the event was handled. false
otherwise.public void setHandled()
protected void dispatch(GetPlaceTitleHandler handler)
dispatch
in class GwtEvent<GetPlaceTitleHandler>
Copyright © 2010–2014 Arcbees. All rights reserved.