public interface HasPopupSlot
Modifier and Type | Method and Description |
---|---|
void |
addToPopupSlot(PresenterWidget<? extends PopupView> child)
This method sets some popup content within the
Presenter and
centers it. |
void |
addToPopupSlot(PresenterWidget<? extends PopupView> child,
boolean center)
This method sets some popup content within the
Presenter . |
void |
removeFromPopupSlot(PresenterWidget<? extends PopupView> child)
This method removes popup content within the
Presenter . |
void addToPopupSlot(PresenterWidget<? extends PopupView> child)
Presenter
and
centers it. The view associated with the content
's presenter must
inherit from PopupView
. The popup will be visible and the
corresponding presenter will receive the lifecycle events as needed.
Contrary to the View.setInSlot(Object, com.google.gwt.user.client.ui.IsWidget)
method, no ResetPresentersEvent
is fired, so PresenterWidget.onReset()
is not invoked.child
- The popup child, a PresenterWidget
.addToPopupSlot(PresenterWidget)
void addToPopupSlot(PresenterWidget<? extends PopupView> child, boolean center)
Presenter
. The view
associated with the content
's presenter must inherit from
PopupView
. The popup will be visible and the corresponding
presenter will receive the lifecycle events as needed.
Contrary to the View.setInSlot(Object, com.google.gwt.user.client.ui.IsWidget)
method, no ResetPresentersEvent
is fired, so PresenterWidget.onReset()
is not invoked.child
- The popup child, a PresenterWidget
.center
- Pass true
to center the popup, otherwise its position
will not be adjusted.addToPopupSlot(PresenterWidget)
void removeFromPopupSlot(PresenterWidget<? extends PopupView> child)
Presenter
. The view
associated with the content
's presenter must inherit from PopupView
.child
- The popup child, a PresenterWidget
, which has
previously been added using addToPopupSlot(PresenterWidget)
or addToPopupSlot(PresenterWidget, boolean)
Copyright © 2010–2014 Arcbees. All rights reserved.