C
- Your UiHandlers
interface type.public abstract class ViewWithUiHandlers<C extends UiHandlers> extends ViewImpl implements HasUiHandlers<C>
View
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.Constructor and Description |
---|
ViewWithUiHandlers() |
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. |
addToSlot, asWidget, initWidget, removeFromSlot, setInSlot
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.