com.actuate.activeportal.beans
Class GroupBean

java.lang.Object
  extended by com.actuate.activeportal.beans.GroupBean
All Implemented Interfaces:
java.io.Serializable

public class GroupBean
extends java.lang.Object
implements java.io.Serializable

This bean is used to group images,colors,fonts, and styles. It is used in the customization of skins.

See Also:
Serialized Form

Field Summary
static java.lang.String STYLE_HIDE
           
static java.lang.String STYLE_SHOW
           
 
Constructor Summary
GroupBean()
           
 
Method Summary
 SkinBean[] getColors()
          Returns the list of SkinBean[] colors in this group.
 java.lang.String getDescription()
          Returns the group description.
 SkinBean[] getFonts()
          Returns the list of SkinBean[] fonts in this group.
 java.lang.String getFontValue(int index)
          Returns the style value for a font
 SkinBean[] getImages()
          Returns the list of SkinBean[] images in this group.
 java.lang.String getName()
          Returns the group name.
 java.lang.String getStyle()
          Returns the display style.
 SkinBean[] getStyles()
          Returns the list of SkinBean[] style in this group.
 boolean isHasColors()
          Test if there are any color in the group.
 boolean isHasFonts()
          Test if there are any font in the group.
 boolean isHasImages()
          Test if there are any images in the group.
 boolean isHasStyles()
          Test if there are any style in the group.
 void setColors(SkinBean[] colors)
          Sets the list of SkinBean[] colors in this group.
 void setDescription(java.lang.String description)
          Sets the group description.
 void setFonts(SkinBean[] fonts)
          Sets the list of SkinBean[] fonts in this group.
 void setFontValue(int index, java.lang.String value)
          Sets the style value for a font in UTF8
 void setImages(SkinBean[] images)
          Sets the list of SkinBean[] images in this group.
 void setName(java.lang.String name)
          Sets the group name.
 void setStyle(java.lang.String style)
          Sets the display style.
 void setStyles(SkinBean[] styles)
          Sets the list of SkinBean[] style in this group.
 void toggleHideShowStyle()
          Changes the group style to hidden or shown.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STYLE_HIDE

public static final java.lang.String STYLE_HIDE
See Also:
Constant Field Values

STYLE_SHOW

public static final java.lang.String STYLE_SHOW
See Also:
Constant Field Values
Constructor Detail

GroupBean

public GroupBean()
Method Detail

toggleHideShowStyle

public void toggleHideShowStyle()
Changes the group style to hidden or shown.


getDescription

public java.lang.String getDescription()
Returns the group description.


setDescription

public void setDescription(java.lang.String description)
Sets the group description.


getName

public java.lang.String getName()
Returns the group name.


setName

public void setName(java.lang.String name)
Sets the group name.


getStyle

public java.lang.String getStyle()
Returns the display style.


setStyle

public void setStyle(java.lang.String style)
Sets the display style.


getImages

public SkinBean[] getImages()
Returns the list of SkinBean[] images in this group.


setImages

public void setImages(SkinBean[] images)
Sets the list of SkinBean[] images in this group.


getColors

public SkinBean[] getColors()
Returns the list of SkinBean[] colors in this group.


setColors

public void setColors(SkinBean[] colors)
Sets the list of SkinBean[] colors in this group.


getFonts

public SkinBean[] getFonts()
Returns the list of SkinBean[] fonts in this group.


setFonts

public void setFonts(SkinBean[] fonts)
Sets the list of SkinBean[] fonts in this group.


getStyles

public SkinBean[] getStyles()
Returns the list of SkinBean[] style in this group.


setStyles

public void setStyles(SkinBean[] styles)
Sets the list of SkinBean[] style in this group.


isHasColors

public boolean isHasColors()
Test if there are any color in the group.


isHasFonts

public boolean isHasFonts()
Test if there are any font in the group.


isHasImages

public boolean isHasImages()
Test if there are any images in the group.


isHasStyles

public boolean isHasStyles()
Test if there are any style in the group.


getFontValue

public java.lang.String getFontValue(int index)
Returns the style value for a font

Parameters:
index - the font index in the font array
Returns:
the font value

setFontValue

public void setFontValue(int index,
                         java.lang.String value)
Sets the style value for a font in UTF8

Parameters:
index - the font index in the font array
value - the font value