3.2.1: 2012-12-13

net.sf.basedb.clients.web.extensions.section
Class SectionBean

java.lang.Object
  extended by 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
private  String content
           
private  String contentStyle
           
private  String hideClazz
           
private  String id
           
private  String showClazz
           
private  String style
           
private  String title
           
 
Constructor Summary
SectionBean()
           
 
Method Summary
 String getContent()
          Get the (HTML) contents of the section.
 String getContentStyle()
          Extra CSS style attributes that will be added to the style 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 the style 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

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)

3.2.1: 2012-12-13