P
- The type of the Presenter
associated with this proxy.public interface NonLeafTabContentProxy<P extends Presenter<?,?>> extends TabContentProxy<P>
Proxy
of a Presenter
that does not have a name token and
that can be displayed within a
TabContainerPresenter
's main area.
Useful, among other things, for tabs within tabs.
If the presenter is associated to a name token use TabContentProxyPlace
instead.
Example of use:
@ProxyCodeSplit @TabInfo(container = MainPagePresenter.class, priority = 0, label = "Home", nameToken = "homepage") public interface MyProxy extends NonLeafTabContentProxy<ThisPresenter> { }In this case, the
nameToken
parameter indicates the presenter to reveal
when this tab is selected.TabInfo
Modifier and Type | Method and Description |
---|---|
void |
changeTab(TabData tabData,
String targetHistoryToken)
Changes the data and target history token associated with this tab.
|
changeTab, getTab, getTabData, getTargetHistoryToken
getEventBus, getPresenter
getRawPresenter
fireEvent
void changeTab(TabData tabData, String targetHistoryToken)
TabContainerPresenter
containing this
tab defines a ChangeTab
field and
passes it to the parent constructor.Copyright © 2010-2014 ArcBees. All Rights Reserved.