public class ReportPresenter extends Presenter<ReportPresenter.MyView,ReportPresenter.MyProxy>
Modifier and Type | Class and Description |
---|---|
static interface |
ReportPresenter.MyProxy |
static interface |
ReportPresenter.MyView |
Presenter.RevealType
Modifier and Type | Method and Description |
---|---|
protected void |
onReveal()
Lifecycle method called whenever this presenter is about to be
revealed.
|
protected void |
revealInParent()
Requests that the presenter reveal itself in its parent presenter.
|
bind, forceReveal, getProxy, getRevealType, getSlot, prepareFromRequest, setRevealType, setSlot, unbind, useManualReveal
addHandler, addRegisteredHandler, addToPopupSlot, addToPopupSlot, addToSlot, addVisibleHandler, asWidget, clearSlot, fireEvent, getEventBus, getView, getWidget, isVisible, onHide, onReset, removeFromPopupSlot, removeFromSlot, setInSlot, setInSlot
isBound, onBind, onUnbind, registerHandler
protected void onReveal()
PresenterWidget
PresenterWidget.onReveal()
if
you override. Also, do not call directly, see PresenterWidget
for more details on lifecycle methods.
You should override this method to perform any action or initialisation
that needs to be done when the presenter is revealed. Any initialisation
you perform here should be taken down in PresenterWidget.onHide()
.
Information that needs to be updated whenever the user navigates should
be refreshed in PresenterWidget.onReset()
.
In a presenter hierarchy, this method is called top-down: first on the
parent presenters, then on the children.onReveal
in class PresenterWidget<ReportPresenter.MyView>
protected void revealInParent()
Presenter
RevealContentEvent
,
a RevealRootContentEvent
or a RevealRootLayoutContentEvent
.revealInParent
in class Presenter<ReportPresenter.MyView,ReportPresenter.MyProxy>
Copyright © 2010-2014 ArcBees. All Rights Reserved.