org.infoglue.cms.applications.contenttool.actions
Class TextToImageEditorAction
java.lang.Object
org.infoglue.cms.applications.common.actions.WebworkAbstractAction
org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction
org.infoglue.cms.applications.contenttool.actions.TextToImageEditorAction
- All Implemented Interfaces:
- java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.ServletRequestAware, webwork.action.ServletResponseAware
public class TextToImageEditorAction
- extends InfoGlueAbstractAction
- Since:
- InfoglueCMS 1.2.0
- Version:
- 1.0
- Author:
- Stefan Sik
- See Also:
- Serialized Form
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Methods inherited from class org.infoglue.cms.applications.common.actions.InfoGlueAbstractAction |
beginTransaction, closeDatabase, closeTransaction, commitTransaction, encode, getAllowPublicationEventFilter, getAnonymousPrincipal, getCMSBaseUrl, getColorScheme, getComponentRendererAction, getComponentRendererUrl, getCurrentURL, getDisableCustomIcons, getDisableImageEditor, getEnableDateTimeDirectEditing, getInfoGluePrincipal, getLanguageCode, getLocale, getLogoutURL, getOriginalFullURL, getParameter, getPrincipalPropertyHashValues, getPrincipalPropertyValue, getPrincipalPropertyValue, getSessionTimeout, getSingleParameter, getThis, getToolId, getToolLocales, getURLBase, getUserName, hasAccessTo, hasAccessTo, rollbackTransaction, setColorScheme, setLanguageCode, setToolId |
| Methods inherited from class org.infoglue.cms.applications.common.actions.WebworkAbstractAction |
doDefault, execute, getBrowserBean, getCurrentUrl, getError, getErrors, getHttpSession, getInfoGluePrincipal, getLocalizedString, getRequest, getResponse, getRoot, getSession, setCommand, setError, setServletRequest, setServletResponse |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextToImageEditorAction
public TextToImageEditorAction()
getBoldValue
public int getBoldValue()
getItalicValue
public int getItalicValue()
getSizes
public java.lang.String[] getSizes()
initialize
protected void initialize(java.lang.Integer siteNodeId)
throws java.lang.Exception
- Throws:
java.lang.Exception
doExecute
protected java.lang.String doExecute()
throws java.lang.Exception
- Description copied from class:
WebworkAbstractAction
- Subclasses implement this
- Specified by:
doExecute in class WebworkAbstractAction
- Throws:
java.lang.Exception
getTemplateController
public BasicTemplateController getTemplateController(DatabaseWrapper databaseWrapper,
java.lang.Integer siteNodeId,
java.lang.Integer languageId,
java.lang.Integer contentId)
throws SystemException,
java.lang.Exception
- Throws:
SystemException
java.lang.Exception
getSortedAvailableServiceBindings
public java.util.List getSortedAvailableServiceBindings()
getSortedAvailableContentServiceBindings
public java.util.List getSortedAvailableContentServiceBindings()
- This method sorts a list of available service bindings on the name of the binding.
getSortedAvailableSingleContentServiceBindings
public java.util.List getSortedAvailableSingleContentServiceBindings()
getAvailableAttributes
public java.util.List getAvailableAttributes()
getSortedAvailableStructureServiceBindings
public java.util.List getSortedAvailableStructureServiceBindings()
- This method sorts a list of available service bindings on the name of the binding.
getServiceBindings
public java.util.List getServiceBindings()
getGeneratedImage
public java.lang.String getGeneratedImage()
getFonts
public java.util.Collection getFonts()
getBackgroundColor
public java.lang.String getBackgroundColor()
- Returns:
- Returns the backgroundColor.
setBackgroundColor
public void setBackgroundColor(java.lang.String backgroundColor)
- Parameters:
backgroundColor - The backgroundColor to set.
getCanvasHeight
public java.lang.String getCanvasHeight()
- Returns:
- Returns the canvasHeight.
setCanvasHeight
public void setCanvasHeight(java.lang.String canvasHeight)
- Parameters:
canvasHeight - The canvasHeight to set.
getCanvasWidth
public java.lang.String getCanvasWidth()
- Returns:
- Returns the canvasWidth.
setCanvasWidth
public void setCanvasWidth(java.lang.String canvasWidth)
- Parameters:
canvasWidth - The canvasWidth to set.
getFontName
public java.lang.String getFontName()
- Returns:
- Returns the fontName.
setFontName
public void setFontName(java.lang.String fontName)
- Parameters:
fontName - The fontName to set.
getFontSize
public java.lang.String getFontSize()
- Returns:
- Returns the fontSize.
setFontSize
public void setFontSize(java.lang.String fontSize)
- Parameters:
fontSize - The fontSize to set.
getFontStyle
public java.lang.String getFontStyle()
- Returns:
- Returns the fontStyle.
setFontStyle
public void setFontStyle(java.lang.String fontStyle)
- Parameters:
fontStyle - The fontStyle to set.
getForegroundColor
public java.lang.String getForegroundColor()
- Returns:
- Returns the foregroundColor.
setForegroundColor
public void setForegroundColor(java.lang.String foregroundColor)
- Parameters:
foregroundColor - The foregroundColor to set.
getText
public java.lang.String getText()
- Returns:
- Returns the text.
setText
public void setText(java.lang.String text)
- Parameters:
text - The text to set.
getTextHeight
public java.lang.String getTextHeight()
- Returns:
- Returns the textHeight.
setTextHeight
public void setTextHeight(java.lang.String textHeight)
- Parameters:
textHeight - The textHeight to set.
getTextStartPosX
public java.lang.String getTextStartPosX()
- Returns:
- Returns the textStartPosX.
setTextStartPosX
public void setTextStartPosX(java.lang.String textStartPosX)
- Parameters:
textStartPosX - The textStartPosX to set.
getTextStartPosY
public java.lang.String getTextStartPosY()
- Returns:
- Returns the textStartPosY.
setTextStartPosY
public void setTextStartPosY(java.lang.String textStartPosY)
- Parameters:
textStartPosY - The textStartPosY to set.
getTextWidth
public java.lang.String getTextWidth()
- Returns:
- Returns the textWidth.
setTextWidth
public void setTextWidth(java.lang.String textWidth)
- Parameters:
textWidth - The textWidth to set.
getFontNames
public java.util.Collection getFontNames()
- Returns:
- Returns the fontNames.
getContentId
public java.lang.Integer getContentId()
- Returns:
- Returns the contentId.
setContentId
public void setContentId(java.lang.Integer contentId)
- Parameters:
contentId - The contentId to set.
getLanguageId
public java.lang.Integer getLanguageId()
- Returns:
- Returns the languageId.
setLanguageId
public void setLanguageId(java.lang.Integer languageId)
- Parameters:
languageId - The languageId to set.
getRepositoryId
public java.lang.Integer getRepositoryId()
- Returns:
- Returns the repositoryId.
setRepositoryId
public void setRepositoryId(java.lang.Integer repositoryId)
- Parameters:
repositoryId - The repositoryId to set.
getSiteNodeId
public java.lang.Integer getSiteNodeId()
- Returns:
- Returns the siteNodeId.
setSiteNodeId
public void setSiteNodeId(java.lang.Integer siteNodeId)
- Parameters:
siteNodeId - The siteNodeId to set.
getGeneratedCommand
public java.lang.String getGeneratedCommand()
- Returns:
- Returns the generatedCommand.
setGeneratedCommand
public void setGeneratedCommand(java.lang.String generatedCommand)
- Parameters:
generatedCommand - The generatedCommand to set.
Copyright © 2005 InfoGlue.org All Rights Reserved.