
public class MessagesPresenter extends PresenterWidget<MessagesPresenter.MyView> implements DisplayMessageEvent.DisplayMessageHandler
| Modifier and Type | Class and Description |
|---|---|
static interface |
MessagesPresenter.MyView |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onBind()
Lifecycle method called when binding the object.
|
void |
onDisplayMessage(DisplayMessageEvent event) |
addHandler, addRegisteredHandler, addToPopupSlot, addToPopupSlot, addToSlot, addVisibleHandler, asWidget, clearSlot, fireEvent, getEventBus, getView, getWidget, isVisible, onHide, onReset, onReveal, removeFromPopupSlot, removeFromSlot, setInSlot, setInSlotbind, isBound, onUnbind, registerHandler, unbindpublic void onDisplayMessage(DisplayMessageEvent event)
onDisplayMessage in interface DisplayMessageEvent.DisplayMessageHandlerprotected void onBind()
HandlerContainerImplHandlerContainerImpl.onBind(). Also, do
not call directly, call HandlerContainerImpl.bind() instead.
Any event handler should be
initialised here rather than in the constructor. Also, it is good practice to
perform any costly initialisation here.
Handlers registered by calling
HandlerContainerImpl.registerHandler(HandlerRegistration) will be removed
when unbinding. Any other initialisation that takes place here (or as a
side-effect of what is done here) should be taken down in HandlerContainerImpl.onUnbind().
This method will never be invoked more then once, or if it is, the second
time will necessarily be preceded by an invocation of HandlerContainerImpl.onUnbind().onBind in class HandlerContainerImplCopyright © 2010-2014 ArcBees. All Rights Reserved.