Class LookAndFeelAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.confluence.core.ConfluenceActionSupport
-
- com.atlassian.confluence.spaces.actions.AbstractSpaceAction
-
- com.atlassian.confluence.admin.actions.lookandfeel.AbstractLookAndFeelAction
-
- com.atlassian.confluence.admin.actions.lookandfeel.LookAndFeelAction
-
- All Implemented Interfaces:
LookAndFeel
,WebInterface
,SpaceAdministrative
,Spaced
,MessageHolderAware
,com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
- Direct Known Subclasses:
ColourSchemeAction
,SpaceLookAndFeelAction
public class LookAndFeelAction extends AbstractLookAndFeelAction implements LookAndFeel
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.admin.actions.lookandfeel.AbstractLookAndFeelAction
colourSchemeManager, layoutHelper
-
Fields inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
eventPublisher, key, notificationManager, space, spaceManager, themeManager, wikiStyleRenderer
-
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, systemInformationService, userAccessor, webInterfaceManager
-
-
Constructor Summary
Constructors Constructor Description LookAndFeelAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColour(ColourScheme scheme, String key)
List<String>
getColourKeys()
protected ColourScheme
getColourScheme()
fetch chained colour schemes for displayingString
getColourSchemeType()
ColourScheme
getCustomColourScheme()
Fetch the custom colour scheme.protected BaseColourScheme
getEditableColourScheme()
since editable colour schemes do not have fallback schemes, we can use these to determine if a certain colour setting is using the default refer toisDefault(String)
ColourScheme
getGlobalColourScheme()
ColourScheme
getThemeColourScheme()
boolean
isDefault(String key)
-
Methods inherited from class com.atlassian.confluence.admin.actions.lookandfeel.AbstractLookAndFeelAction
getColourSchemeManager, getLayoutHelper, isCustomeThemeSet, isPermitted, isThemeSet, setColourSchemeManager, setLayoutHelper
-
Methods inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
getActionSpaceKey, getKey, getPermissionTypes, getSpace, getSpaceKey, getSpaceManager, getSubscribableName, getThemeManager, hasSpaceIA, isPersonalSpace, isUserWatchingSpace, isValidSpaceKey, setEventPublisher, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRenderer
-
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getBootstrapStatusProvider, getCancel, getCancelResult, getConfluenceAccessManager, getContentUiSupport, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocBean, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageJs, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setBootstrapStatusProvider, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, useSkipAccessCheck, withServletRequestSupplier
-
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocaleProvider, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.opensymphony.xwork2.LocaleProvider
isValidLocale, isValidLocaleString
-
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware
validate
-
-
-
-
Method Detail
-
getColour
public String getColour(ColourScheme scheme, String key)
-
getColourScheme
protected ColourScheme getColourScheme()
fetch chained colour schemes for displayingif a certain colour setting has not been allocated a colour, the chained colour scheme will automatically pull the global or factory default for display we will indicate to the user whether this has happened by checking using
isDefault(String)
-
getCustomColourScheme
public ColourScheme getCustomColourScheme()
Fetch the custom colour scheme. Any value that is not specified will be inherited from the global defaults and system defaults.
-
getGlobalColourScheme
public ColourScheme getGlobalColourScheme()
-
getThemeColourScheme
public ColourScheme getThemeColourScheme()
-
getEditableColourScheme
protected BaseColourScheme getEditableColourScheme()
since editable colour schemes do not have fallback schemes, we can use these to determine if a certain colour setting is using the default refer toisDefault(String)
-
isDefault
public boolean isDefault(String key)
-
getColourSchemeType
public String getColourSchemeType()
-
-