C
- Your UiHandlers
interface type.public abstract class PopupViewWithUiHandlers<C extends UiHandlers> extends PopupViewImpl implements HasUiHandlers<C>
PopupView
that implements the HasUiHandlers
interface. You should always call setUiHandlers(UiHandlers)
from your
presenter 's constructor.
Important! Never call getUiHandlers()
inside your constructor
since the UiHandlers
are not yet set.Modifier | Constructor and Description |
---|---|
protected |
PopupViewWithUiHandlers(EventBus eventBus)
The
PopupViewWithUiHandlers class uses the EventBus to listen to
NavigationEvent in order to automatically
close when this event is fired, if desired. |
Modifier and Type | Method and Description |
---|---|
protected C |
getUiHandlers()
Access the
UiHandlers associated with this View . |
void |
setUiHandlers(C uiHandlers)
Sets the
UiHandlers subclass associated with this object. |
asPopupPanel, center, doCenter, hide, setAutoHideOnNavigationEventEnabled, setCloseHandler, setPosition, show
addToSlot, asWidget, initWidget, removeFromSlot, setInSlot
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addToSlot, removeFromSlot, setInSlot
protected PopupViewWithUiHandlers(EventBus eventBus)
PopupViewWithUiHandlers
class uses the EventBus
to listen to
NavigationEvent
in order to automatically
close when this event is fired, if desired. See
PopupViewImpl.setAutoHideOnNavigationEventEnabled(boolean)
for details.eventBus
- The EventBus
.protected C getUiHandlers()
UiHandlers
associated with this View
.
Important! Never call getUiHandlers()
inside your constructor
since the UiHandlers
are not yet set.UiHandlers
, or null
if they are not yet set.public void setUiHandlers(C uiHandlers)
HasUiHandlers
UiHandlers
subclass associated with this object.setUiHandlers
in interface HasUiHandlers<C extends UiHandlers>
uiHandlers
- The UiHandlers
subclass (of type C
) to associate with this
object.Copyright © 2010–2014 Arcbees. All rights reserved.