Class SectionBean
- 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$
-
-
Constructor Summary
Constructors Constructor Description SectionBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContent()
Get the (HTML) contents of the section.String
getContentStyle()
Extra CSS style attributes that will be added to thestyle
attribute of the content section tag.String
getHideClazz()
Additional class attribute of the main section tag that is used when the section is hidden.String
getId()
ID attribute of the main section tag.String
getShowClazz()
Additional class attribute of the main section tag that is used when the section is visible.String
getStyle()
Extra CSS style attributes that will be added to thestyle
attribute of the main section tag.String
getTitle()
Get the title of the section.void
setContent(String content)
void
setContentStyle(String contentStyle)
void
setHideClazz(String hideClazz)
void
setId(String id)
void
setShowClazz(String showClazz)
void
setStyle(String style)
void
setTitle(String title)
-
-
-
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 interfaceSectionAction
- 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 interfaceSectionAction
- 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 interfaceSectionAction
- 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 thestyle
attribute of the main section tag.- Specified by:
getStyle
in interfaceSectionAction
- Returns:
- Style attributes, or null
-
getContentStyle
public String getContentStyle()
Description copied from interface:SectionAction
Extra CSS style attributes that will be added to thestyle
attribute of the content section tag.- Specified by:
getContentStyle
in interfaceSectionAction
- Returns:
- Style attributes, or null
-
getTitle
public String getTitle()
Description copied from interface:SectionAction
Get the title of the section.- Specified by:
getTitle
in interfaceSectionAction
-
getContent
public String getContent()
Description copied from interface:SectionAction
Get the (HTML) contents of the section.- Specified by:
getContent
in interfaceSectionAction
-
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)
-
-