Interface TabAction
- All Superinterfaces:
Action
- All Known Implementing Classes:
FixedTabFactory
,IncludeContentTabFactory.Tab
,Tab
,TabBean
Action that inserts a new tab in a tabcontrol.
- Since:
- 2.17
- Author:
- Nicklas
- Last modified
- $Date: 2020-03-02 09:10:33 +0100 (mån, 02 mars 2020) $
-
Method Summary
Modifier and TypeMethodDescriptiongetClazz()
Class attribute of the main tab tag.Get the (HTML) contents of the tab.The external id of a help text that the user can display to get more information about how to use the information in this tab.getId()
ID attribute of the main tab tag.getStyle()
Extra CSS style attributes that will be added to thestyle
attribute of the main tab tag.int
Get the tab index used to control focus order when tabbing.getTitle()
Get the title of the tab.A tooltip that is shown as a yellow popup when the user points the mouse at the tab.boolean
If the tab should be visible or not.
-
Method Details
-
getId
String getId()ID attribute of the main tab tag. You need to set this value to reference the tab in a javascript.- Returns:
- The ID, or null
-
getClazz
String getClazz()Class attribute of the main tab tag.- Returns:
- Class attribute, or null to not add any class attribute
-
getStyle
String getStyle()Extra CSS style attributes that will be added to thestyle
attribute of the main tab tag.- Returns:
- Style attributes, or null
-
getTitle
String getTitle()Get the title of the tab. -
getTooltip
String getTooltip()A tooltip that is shown as a yellow popup when the user points the mouse at the tab.- Returns:
- The tooltip or null to not display any tooltip
-
getHelpId
String getHelpId()The external id of a help text that the user can display to get more information about how to use the information in this tab. SeeHelp.getExternalId()
.- Returns:
- The help id or null to not display any help
-
isVisible
boolean isVisible()If the tab should be visible or not. -
getContent
String getContent()Get the (HTML) contents of the tab. -
getTabIndex
int getTabIndex()Get the tab index used to control focus order when tabbing. Use -1 to disable.- Since:
- 3.2
-