All Implemented Interfaces:
DynamicActionAttributes, TabAction, Action

public class TabBean extends DynamicActionAttributeSupport implements TabAction
A simple bean-like implementation of the TabAction interface.
Last modified
$Date: 2014-12-09 12:56:20 +0100 (ti, 09 dec 2014) $
  • Field Details

    • id

      private String id
    • clazz

      private String clazz
    • style

      private String style
    • title

      private String title
    • tooltip

      private String tooltip
    • helpId

      private String helpId
    • visible

      private boolean visible
    • content

      private String content
    • tabIndex

      private int tabIndex
  • Constructor Details

    • TabBean

      public TabBean()
  • Method Details

    • 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.
      Specified by:
      getId in interface TabAction
      The ID, or null
    • getClazz

      public String getClazz()
      Description copied from interface: TabAction
      Class attribute of the main tab tag.
      Specified by:
      getClazz in interface TabAction
      Class attribute, or null to not add any class attribute
    • getStyle

      public String getStyle()
      Description copied from interface: TabAction
      Extra CSS style attributes that will be added to the style attribute of the main tab tag.
      Specified by:
      getStyle in interface TabAction
      Style attributes, or null
    • getTitle

      public String getTitle()
      Description copied from interface: TabAction
      Get the title of the tab.
      Specified by:
      getTitle in interface TabAction
    • 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 interface TabAction
      The tooltip or null to not display any tooltip
    • 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. See Help.getExternalId().
      Specified by:
      getHelpId in interface TabAction
      The help id or null to not display any help
    • isVisible

      public boolean isVisible()
      Description copied from interface: TabAction
      If the tab should be visible or not.
      Specified by:
      isVisible in interface TabAction
    • getContent

      public String getContent()
      Description copied from interface: TabAction
      Get the (HTML) contents of the tab.
      Specified by:
      getContent in interface TabAction
    • 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 interface TabAction
    • setId

      public void setId(String id)
    • setClazz

      public void setClazz(String clazz)
    • setStyle

      public void setStyle(String style)
    • setTitle

      public void setTitle(String title)
    • setTooltip

      public void setTooltip(String tooltip)
    • setVisible

      public void setVisible(boolean visible)
    • setHelpId

      public void setHelpId(String helpId)
    • setContent

      public void setContent(String content)
    • setTabIndex

      public void setTabIndex(int tabIndex)