Class TabPanel
java.lang.Object
org.teamapps.ux.component.AbstractComponent
org.teamapps.ux.component.tabpanel.TabPanel
- All Implemented Interfaces:
ClientObject,Component
-
Field Summary
FieldsFields inherited from class org.teamapps.ux.component.AbstractComponent
DELETED_ATTRIBUTE, onRendered -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddToolButton(ToolButton toolButton) getTabs()voidhandleUiEvent(UiEvent event) booleanbooleanvoidvoidremoveToolButton(ToolButton toolButton) voidsetFillTabBarWidth(boolean fillTabBarWidth) voidsetHideTabBarIfSingleTab(boolean hideTabBarIfSingleTab) voidsetSelectedTab(Tab tab) voidsetTabBarHeight(Length tabBarHeight) voidsetTabStyle(TabPanelTabStyle tabStyle) voidsetToolButtons(List<ToolButton> toolButtons) Methods inherited from class org.teamapps.ux.component.AbstractComponent
createUiReference, getDebuggingId, getId, getParent, getSessionContext, isRendered, isVisible, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setAttribute, setCssStyle, setDebuggingId, setParent, setVisible, toggleCssClass, toString, unrenderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.teamapps.ux.component.ClientObject
createUiReference, getId, handleUiQuery, isRendered, render, unrenderMethods inherited from interface org.teamapps.ux.component.Component
getParent, isVisible, setAriaLabel, setAttribute, setAttribute, setCssStyle, setCssStyle, setHtmlTitle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setParent, setShadow, setVisible, toggleCssClass, toggleCssClass
-
Field Details
-
onTabSelected
-
onTabClosed
-
-
Constructor Details
-
TabPanel
public TabPanel() -
TabPanel
-
-
Method Details
-
addTab
-
addTab
-
removeTab
-
setSelectedTab
-
getSelectedTab
-
getTabs
-
addToolButton
-
removeToolButton
-
setToolButtons
-
getToolButtons
-
isHideTabBarIfSingleTab
public boolean isHideTabBarIfSingleTab() -
setHideTabBarIfSingleTab
public void setHideTabBarIfSingleTab(boolean hideTabBarIfSingleTab) -
getTabBarHeight
-
setTabBarHeight
-
isFillTabBarWidth
public boolean isFillTabBarWidth() -
setFillTabBarWidth
public void setFillTabBarWidth(boolean fillTabBarWidth) -
getTabStyle
-
setTabStyle
-
createUiComponent
- Specified by:
createUiComponentin classAbstractComponent
-
handleUiEvent
- Specified by:
handleUiEventin interfaceClientObject
-