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$
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SectionBean()
-
Method Summary
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)
-
Field Details
-
id
-
showClazz
-
hideClazz
-
style
-
contentStyle
-
title
-
-
-
Constructor Details
-
SectionBean
public SectionBean()
-
-
Method Details
-
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
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
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
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
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
Description copied from interface:SectionAction
Get the title of the section.- Specified by:
getTitle
in interfaceSectionAction
-
getContent
Description copied from interface:SectionAction
Get the (HTML) contents of the section.- Specified by:
getContent
in interfaceSectionAction
-
setId
-
setShowClazz
-
setHideClazz
-
setStyle
-
setContentStyle
-
setTitle
-
setContent
-