T
- The Presenter's type.public class NonLeafTabContentProxyImpl<T extends Presenter<?,?>> extends ProxyImpl<T> implements NonLeafTabContentProxy<T>
Modifier and Type | Field and Description |
---|---|
protected GwtEvent.Type<ChangeTabHandler> |
changeTabEventType |
protected GwtEvent.Type<RequestTabsHandler> |
requestTabsEventType |
protected TabData |
tabData |
protected String |
targetHistoryToken |
Constructor and Description |
---|
NonLeafTabContentProxyImpl()
Creates a
Proxy for a Presenter that is meant to be contained within a
TabContainerPresenter but not as a leaf. |
Modifier and Type | Method and Description |
---|---|
protected void |
addRequestTabsHandler() |
void |
changeTab(TabData tabData)
Changes the data associated with this tab.
|
void |
changeTab(TabData tabData,
String targetHistoryToken)
Changes the data and target history token associated with this tab.
|
Tab |
getTab()
Retrieves the
Tab object that was created from the
TabData returned by TabContentProxy.getTabData() . |
TabData |
getTabData()
Retrieves the
TabData that should be used to create this tab. |
String |
getTargetHistoryToken()
Gets the history token that should be accessed when the tab is clicked.
|
bind, fireEvent, getEventBus, getPresenter, getRawPresenter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventBus, getPresenter
getRawPresenter
fireEvent
protected TabData tabData
protected String targetHistoryToken
protected GwtEvent.Type<RequestTabsHandler> requestTabsEventType
protected GwtEvent.Type<ChangeTabHandler> changeTabEventType
public NonLeafTabContentProxyImpl()
Proxy
for a Presenter
that is meant to be contained within a
TabContainerPresenter
but not as a leaf. As such, these
proxy hold information that can be displayed on the tab together with the target history
token of the leaf page to display when the tab is clicked.public TabData getTabData()
TabContentProxy
TabData
that should be used to create this tab.getTabData
in interface TabContentProxy<T extends Presenter<?,?>>
public String getTargetHistoryToken()
TabContentProxy
NonLeafTabContentProxy
.getTargetHistoryToken
in interface TabContentProxy<T extends Presenter<?,?>>
public Tab getTab()
TabContentProxy
Tab
object that was created from the
TabData
returned by TabContentProxy.getTabData()
.getTab
in interface TabContentProxy<T extends Presenter<?,?>>
public void changeTab(TabData tabData)
TabContentProxy
TabContainerPresenter
containing this
tab defines a ChangeTab
field and
passes it to the parent constructor.changeTab
in interface TabContentProxy<T extends Presenter<?,?>>
protected void addRequestTabsHandler()
public void changeTab(TabData tabData, String targetHistoryToken)
NonLeafTabContentProxy
TabContainerPresenter
containing this
tab defines a ChangeTab
field and
passes it to the parent constructor.changeTab
in interface NonLeafTabContentProxy<T extends Presenter<?,?>>
Copyright © 2010–2014 Arcbees. All rights reserved.