Class IncludeContentTabFactory.Tab
- java.lang.Object
-
- net.sf.basedb.clients.web.extensions.tabcontrol.IncludeContentTabFactory.Tab
-
- Enclosing class:
- IncludeContentTabFactory
class IncludeContentTabFactory.Tab extends Object implements TabAction
-
-
Field Summary
Fields Modifier and Type Field Description private InvokationContext<? super TabAction>
context
-
Constructor Summary
Constructors Constructor Description Tab(InvokationContext<? super TabAction> context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClazz()
Class attribute of the main tab tag.String
getContent()
Get the (HTML) contents of the tab.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.String
getId()
ID attribute of the main tab tag.String
getStyle()
Extra CSS style attributes that will be added to thestyle
attribute of the main tab tag.int
getTabIndex()
Get the tab index used to control focus order when tabbing.String
getTitle()
Get the title of the tab.String
getTooltip()
A tooltip that is shown as a yellow popup when the user points the mouse at the tab.boolean
isVisible()
If the tab should be visible or not.
-
-
-
Field Detail
-
context
private final InvokationContext<? super TabAction> context
-
-
Constructor Detail
-
Tab
Tab(InvokationContext<? super TabAction> context)
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:TabAction
ID attribute of the main tab tag. You need to set this value to reference the tab in a javascript.
-
getClazz
public String getClazz()
Description copied from interface:TabAction
Class attribute of the main tab tag.
-
getStyle
public String getStyle()
Description copied from interface:TabAction
Extra CSS style attributes that will be added to thestyle
attribute of the main tab tag.
-
getTitle
public String getTitle()
Description copied from interface:TabAction
Get the title of the tab.
-
getTooltip
public String getTooltip()
Description copied from interface:TabAction
A tooltip that is shown as a yellow popup when the user points the mouse at the tab.- Specified by:
getTooltip
in interfaceTabAction
- Returns:
- The tooltip or null to not display any tooltip
-
isVisible
public boolean isVisible()
Description copied from interface:TabAction
If the tab should be visible or not.
-
getHelpId
public String getHelpId()
Description copied from interface:TabAction
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()
.
-
getTabIndex
public int getTabIndex()
Description copied from interface:TabAction
Get the tab index used to control focus order when tabbing. Use -1 to disable.- Specified by:
getTabIndex
in interfaceTabAction
-
getContent
public String getContent()
Description copied from interface:TabAction
Get the (HTML) contents of the tab.- Specified by:
getContent
in interfaceTabAction
-
-