public class LockInteractionEvent extends GwtEvent<LockInteractionHandler>
PlaceManager
whenever a navigation operation
starts or stops. It is handled by the default RootPresenter
implementation.
Override com.gwtplatform.mvp.client.RootPresenter#lockInteraction(boolean)
to customize the behaviour.GwtEvent.Type<H>
Constructor and Description |
---|
LockInteractionEvent(boolean lock) |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(LockInteractionHandler handler) |
static void |
fire(HasHandlers source,
boolean lock)
Fires a
LockInteractionEvent
into a source that has access to an EventBus
specifying whether interaction should be locked or unlocked. |
GwtEvent.Type<LockInteractionHandler> |
getAssociatedType() |
static GwtEvent.Type<LockInteractionHandler> |
getType() |
boolean |
shouldLock() |
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
public static void fire(HasHandlers source, boolean lock)
LockInteractionEvent
into a source that has access to an EventBus
specifying whether interaction should be locked or unlocked.source
- The source that fires this event (HasHandlers
).lock
- true
to lock interaction, false
to unlock it.public static GwtEvent.Type<LockInteractionHandler> getType()
public GwtEvent.Type<LockInteractionHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<LockInteractionHandler>
public boolean shouldLock()
protected void dispatch(LockInteractionHandler handler)
dispatch
in class GwtEvent<LockInteractionHandler>
Copyright © 2010–2014 Arcbees. All rights reserved.