java.lang.Object
net.sf.basedb.clients.web.extensions.section.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$
  • Field Details

    • id

      private String id
    • showClazz

      private String showClazz
    • hideClazz

      private String hideClazz
    • style

      private String style
    • contentStyle

      private String contentStyle
    • title

      private String title
    • content

      private String content
  • Constructor Details

    • SectionBean

      public SectionBean()
  • Method Details

    • 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
    • getTitle

      public String getTitle()
      Description copied from interface: SectionAction
      Get the title of the section.
      Specified by:
      getTitle in interface SectionAction
    • getContent

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