protected static class CubaManagedTabSheet.TabSheetBehaviourImpl extends java.lang.Object implements TabSheetBehaviour
| Modifier and Type | Field and Description |
|---|---|
protected CubaManagedTabSheet |
tabSheet |
| Constructor and Description |
|---|
TabSheetBehaviourImpl(CubaManagedTabSheet tabSheet) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTab(com.vaadin.ui.Component component,
java.lang.String tabId) |
void |
closeAllTabs() |
void |
closeOtherTabs(com.vaadin.ui.Component target) |
void |
closeTab(com.vaadin.ui.Component target) |
void |
focus() |
int |
getComponentCount() |
com.vaadin.ui.Component |
getPreviousTab(com.vaadin.ui.Component tab) |
com.vaadin.ui.Component |
getSelectedTab() |
java.lang.String |
getTab(com.vaadin.ui.Component component) |
java.lang.String |
getTab(int position) |
com.vaadin.ui.Component |
getTabComponent(java.lang.String tabId) |
java.util.Iterator<com.vaadin.ui.Component> |
getTabComponents() |
java.util.stream.Stream<com.vaadin.ui.Component> |
getTabComponentsStream() |
protected CubaManagedTabSheet.Tab |
getTabNN(java.lang.String tabId) |
int |
getTabPosition(java.lang.String tabId) |
void |
moveTab(com.vaadin.ui.Component c,
int position) |
void |
removeComponent(com.vaadin.ui.Component component) |
void |
replaceComponent(com.vaadin.ui.Component oldComponent,
com.vaadin.ui.Component newComponent) |
void |
setContentSwitchMode(java.lang.String tabId,
ContentSwitchMode contentSwitchMode) |
void |
setSelectedTab(com.vaadin.ui.Component component) |
void |
setSelectedTab(java.lang.String tabId) |
void |
setTabCaption(java.lang.String tabId,
java.lang.String caption) |
void |
setTabClosable(java.lang.String tabId,
boolean closable) |
void |
setTabCloseHandler(com.vaadin.ui.Component tabContent,
java.util.function.BiConsumer<HasTabSheetBehaviour,com.vaadin.ui.Component> closeHandler) |
void |
setTabCubaId(java.lang.String tabId,
java.lang.String id) |
void |
setTabDescription(java.lang.String tabId,
java.lang.String description) |
void |
setTabIcon(java.lang.String tabId,
com.vaadin.server.Resource icon) |
void |
setTabTestId(java.lang.String tabId,
java.lang.String testId) |
void |
silentCloseTabAndSelectPrevious(com.vaadin.ui.Component tab) |
protected final CubaManagedTabSheet tabSheet
public TabSheetBehaviourImpl(CubaManagedTabSheet tabSheet)
public void setTabCaption(java.lang.String tabId,
java.lang.String caption)
setTabCaption in interface TabSheetBehaviourprotected CubaManagedTabSheet.Tab getTabNN(java.lang.String tabId)
public void setTabDescription(java.lang.String tabId,
java.lang.String description)
setTabDescription in interface TabSheetBehaviourpublic com.vaadin.ui.Component getTabComponent(java.lang.String tabId)
getTabComponent in interface TabSheetBehaviourpublic void setTabIcon(java.lang.String tabId,
com.vaadin.server.Resource icon)
setTabIcon in interface TabSheetBehaviourpublic void setTabClosable(java.lang.String tabId,
boolean closable)
setTabClosable in interface TabSheetBehaviourpublic void setContentSwitchMode(java.lang.String tabId,
ContentSwitchMode contentSwitchMode)
setContentSwitchMode in interface TabSheetBehaviourpublic void setSelectedTab(java.lang.String tabId)
setSelectedTab in interface TabSheetBehaviourpublic void addTab(com.vaadin.ui.Component component,
java.lang.String tabId)
addTab in interface TabSheetBehaviourpublic java.lang.String getTab(com.vaadin.ui.Component component)
getTab in interface TabSheetBehaviourpublic void closeTab(com.vaadin.ui.Component target)
closeTab in interface TabSheetBehaviourpublic void closeOtherTabs(com.vaadin.ui.Component target)
closeOtherTabs in interface TabSheetBehaviourpublic void closeAllTabs()
closeAllTabs in interface TabSheetBehaviourpublic java.lang.String getTab(int position)
getTab in interface TabSheetBehaviourpublic com.vaadin.ui.Component getSelectedTab()
getSelectedTab in interface TabSheetBehaviourpublic java.util.Iterator<com.vaadin.ui.Component> getTabComponents()
getTabComponents in interface TabSheetBehaviourpublic java.util.stream.Stream<com.vaadin.ui.Component> getTabComponentsStream()
getTabComponentsStream in interface TabSheetBehaviourpublic void setSelectedTab(com.vaadin.ui.Component component)
setSelectedTab in interface TabSheetBehaviourpublic void replaceComponent(com.vaadin.ui.Component oldComponent,
com.vaadin.ui.Component newComponent)
replaceComponent in interface TabSheetBehaviourpublic void removeComponent(com.vaadin.ui.Component component)
removeComponent in interface TabSheetBehaviourpublic com.vaadin.ui.Component getPreviousTab(com.vaadin.ui.Component tab)
getPreviousTab in interface TabSheetBehaviourpublic void setTabTestId(java.lang.String tabId,
java.lang.String testId)
setTabTestId in interface TabSheetBehaviourpublic void setTabCubaId(java.lang.String tabId,
java.lang.String id)
setTabCubaId in interface TabSheetBehaviourpublic void setTabCloseHandler(com.vaadin.ui.Component tabContent,
java.util.function.BiConsumer<HasTabSheetBehaviour,com.vaadin.ui.Component> closeHandler)
setTabCloseHandler in interface TabSheetBehaviourpublic int getTabPosition(java.lang.String tabId)
getTabPosition in interface TabSheetBehaviourpublic int getComponentCount()
getComponentCount in interface TabSheetBehaviourpublic void moveTab(com.vaadin.ui.Component c,
int position)
moveTab in interface TabSheetBehaviourpublic void focus()
focus in interface TabSheetBehaviourpublic void silentCloseTabAndSelectPrevious(com.vaadin.ui.Component tab)
silentCloseTabAndSelectPrevious in interface TabSheetBehaviour