|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.ActionForm
com.actuate.activeportal.forms.BaseActionForm
com.actuate.activeportal.forms.SkinEditorActionForm
public class SkinEditorActionForm
This form is used by the SkinEditor and contains all the information about the various groups defined in the skin.config file. When editting a skin, the skin.config file is loaded and represented by the SkinConfig object. Changes to skin images, colors, and fonts are stored in the "groups" property.
Constructor Summary | |
---|---|
SkinEditorActionForm()
|
Method Summary | |
---|---|
java.lang.String |
getCommand()
|
java.lang.String |
getDescription()
|
GroupBean[] |
getGroups()
Returns the group beans. |
GroupBean |
getGroups(int index)
Returns a group bean by the index. |
java.lang.String |
getLoadTab()
Returns the current UI tab to load. |
java.lang.String |
getName()
Returns the skin name. |
com.actuate.activeportal.skin.SkinConfig |
getSkinConfig()
Returns the skin config object. |
boolean |
isDoReload()
|
boolean |
isHasApplyButton()
|
boolean |
isHasColors()
Test if the color tab should be displayed. |
boolean |
isHasFonts()
Test if the font tab should be displayed. |
boolean |
isHasImages()
Test if the images tab should be displayed. |
boolean |
isHasStyles()
Test if the styles tab should be displayed. |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
|
void |
setApply(java.lang.String ok)
Sets the command to apply the skin changes |
void |
setCancel(java.lang.String ok)
Sets the command to cancel skin changes |
void |
setCommand(java.lang.String command)
|
void |
setDescription(java.lang.String description)
|
void |
setDoReload(boolean b)
|
void |
setGroups(GroupBean[] groups)
Sets the group beans. |
void |
setGroups(int index,
GroupBean group)
Sets a group bean by the index. |
void |
setHasApplyButton(boolean hasApplyButton)
|
void |
setHasColors(boolean hasColors)
Sets if the color tab should be displayed. |
void |
setHasFonts(boolean hasFonts)
Sets if the font tab should be displayed. |
void |
setHasImages(boolean hasImages)
Sets if the images tab should be displayed. |
void |
setHasStyles(boolean hasStyles)
Sets if the styles tab should be displayed. |
void |
setLoadTab(java.lang.String loadTab)
Sets the current UI tab to load. |
void |
setName(java.lang.String name)
Sets the skin name. |
void |
setOk(java.lang.String ok)
Sets the command to save the skin changes |
void |
setSkinConfig(com.actuate.activeportal.skin.SkinConfig skinConfig)
Sets the skin config object accessible in JSP pages. |
Methods inherited from class com.actuate.activeportal.forms.BaseActionForm |
---|
fixUTF8, isPostback, setPostback |
Methods inherited from class org.apache.struts.action.ActionForm |
---|
getMultipartRequestHandler, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SkinEditorActionForm()
Method Detail |
---|
public java.lang.String getLoadTab()
public void setLoadTab(java.lang.String loadTab)
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
reset
in class org.apache.struts.action.ActionForm
public java.lang.String getName()
public void setName(java.lang.String name)
public com.actuate.activeportal.skin.SkinConfig getSkinConfig()
public void setSkinConfig(com.actuate.activeportal.skin.SkinConfig skinConfig)
skinConfig
- public boolean isHasColors()
public boolean isHasFonts()
public boolean isHasImages()
public boolean isHasStyles()
public GroupBean[] getGroups()
public GroupBean getGroups(int index)
public void setGroups(int index, GroupBean group)
public void setGroups(GroupBean[] groups)
public void setHasColors(boolean hasColors)
public void setHasFonts(boolean hasFonts)
public void setHasImages(boolean hasImages)
public void setHasStyles(boolean hasStyles)
public void setOk(java.lang.String ok)
public void setApply(java.lang.String ok)
public void setCancel(java.lang.String ok)
public boolean isHasApplyButton()
public void setHasApplyButton(boolean hasApplyButton)
hasApplyButton
- public java.lang.String getCommand()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- public void setCommand(java.lang.String command)
command
- public boolean isDoReload()
public void setDoReload(boolean b)
b
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |