Class SectionBean

  • All Implemented Interfaces:
    SectionAction, Action

    public class SectionBean
    extends Object
    implements SectionAction
    A simple bean-like implementation of the SectionAction interface.
    Since:
    3.2
    Author:
    Nicklas
    Last modified
    $Date$
    • Constructor Detail

      • SectionBean

        public SectionBean()
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: SectionAction
        ID attribute of the main section tag. You need to set this value to reference the tab in a javascript.
        Specified by:
        getId in interface SectionAction
        Returns:
        The ID, or null
      • getShowClazz

        public String getShowClazz()
        Description copied from interface: SectionAction
        Additional class attribute of the main section tag that is used when the section is visible.
        Specified by:
        getShowClazz in interface SectionAction
        Returns:
        Class attribute, or null to not use any additional class
      • getHideClazz

        public String getHideClazz()
        Description copied from interface: SectionAction
        Additional class attribute of the main section tag that is used when the section is hidden.
        Specified by:
        getHideClazz in interface SectionAction
        Returns:
        Class attribute, or null to not use any additional class
      • getStyle

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

        public String getContentStyle()
        Description copied from interface: SectionAction
        Extra CSS style attributes that will be added to the style attribute of the content section tag.
        Specified by:
        getContentStyle in interface SectionAction
        Returns:
        Style attributes, or null
      • setId

        public void setId​(String id)
      • setShowClazz

        public void setShowClazz​(String showClazz)
      • setHideClazz

        public void setHideClazz​(String hideClazz)
      • setStyle

        public void setStyle​(String style)
      • setContentStyle

        public void setContentStyle​(String contentStyle)
      • setTitle

        public void setTitle​(String title)
      • setContent

        public void setContent​(String content)