|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.confluence.core.ConfluenceActionSupport com.atlassian.confluence.core.actions.ThemeColorsStylesheetAction
public class ThemeColorsStylesheetAction
Used for rendering theme stylesheets which are Velocity templates. Mostly just for custom colors, we hope! Expected parameters: moduleCompleteKey, stylesheetName, spaceKey (empty for global).
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, permissionManager, permitted, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
ThemeColorsStylesheetAction()
|
Method Summary | |
---|---|
java.lang.String |
execute()
|
java.lang.String |
getBorderColor()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getBorderColour()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getBreadcrumbsTextColour()
Deprecated. since 2.8 Use getColorScheme() instead. |
ColorSchemeBean |
getColorScheme()
|
java.lang.String |
getHeadingTextColor()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getHeadingTextColour()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getLinkColor()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getLinkColour()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getNavBackgroundColor()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getNavBackgroundColour()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getNavSelectedBackgroundColor()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getNavSelectedBackgroundColour()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getNavSelectedTextColor()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getNavSelectedTextColour()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getNavTextColor()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getNavTextColour()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getSpaceNameColor()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getSpaceNameColour()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getStylesheetLocation()
|
java.lang.String |
getTopBarColor()
Deprecated. since 2.8 Use getColorScheme() instead. |
java.lang.String |
getTopBarColour()
Deprecated. since 2.8 Use getColorScheme() instead. |
boolean |
isPermitted()
|
void |
setColourSchemeManager(ColourSchemeManager colourSchemeManager)
|
void |
setCompleteModuleKey(java.lang.String completeModuleKey)
|
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
|
void |
setSpaceKey(java.lang.String spaceKey)
|
void |
setStylesheetName(java.lang.String stylesheetName)
|
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThemeColorsStylesheetAction()
Method Detail |
---|
public java.lang.String execute() throws java.lang.Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
java.lang.Exception
public boolean isPermitted()
isPermitted
in class ConfluenceActionSupport
public java.lang.String getStylesheetLocation()
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
public void setCompleteModuleKey(java.lang.String completeModuleKey)
public void setStylesheetName(java.lang.String stylesheetName)
public ColorSchemeBean getColorScheme()
public java.lang.String getTopBarColor()
getColorScheme()
instead.
public java.lang.String getBreadcrumbsTextColour()
getColorScheme()
instead.
public java.lang.String getSpaceNameColor()
getColorScheme()
instead.
public java.lang.String getHeadingTextColor()
getColorScheme()
instead.
public java.lang.String getLinkColor()
getColorScheme()
instead.
public java.lang.String getBorderColor()
getColorScheme()
instead.
public java.lang.String getNavBackgroundColor()
getColorScheme()
instead.
public java.lang.String getNavTextColor()
getColorScheme()
instead.
public java.lang.String getNavSelectedBackgroundColor()
getColorScheme()
instead.
public java.lang.String getNavSelectedTextColor()
getColorScheme()
instead.
public java.lang.String getTopBarColour()
getColorScheme()
instead.
public java.lang.String getSpaceNameColour()
getColorScheme()
instead.
public java.lang.String getHeadingTextColour()
getColorScheme()
instead.
public java.lang.String getLinkColour()
getColorScheme()
instead.
public java.lang.String getBorderColour()
getColorScheme()
instead.
public java.lang.String getNavBackgroundColour()
getColorScheme()
instead.
public java.lang.String getNavTextColour()
getColorScheme()
instead.
public java.lang.String getNavSelectedBackgroundColour()
getColorScheme()
instead.
public java.lang.String getNavSelectedTextColour()
getColorScheme()
instead.
public void setColourSchemeManager(ColourSchemeManager colourSchemeManager)
public void setSpaceKey(java.lang.String spaceKey)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |