|
||||||||||
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.spaces.actions.AbstractSpaceAction com.atlassian.confluence.admin.actions.lookandfeel.AbstractLookAndFeelAction com.atlassian.confluence.admin.actions.lookandfeel.LookAndFeelAction
public class LookAndFeelAction
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 |
---|
key, notificationManager, space, spaceManager, themeManager, wikiStyleRenderer |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, 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 | |
---|---|
LookAndFeelAction()
|
Method Summary | |
---|---|
java.lang.String |
getColour(ColourScheme scheme,
java.lang.String key)
|
java.util.List |
getColourKeys()
|
protected ColourScheme |
getColourScheme()
fetch chained colour schemes for displaying if 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) |
java.lang.String |
getColourSchemeType()
|
ColourScheme |
getCustomColourScheme()
|
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 to isDefault(String) |
ColourScheme |
getGlobalColourScheme()
|
ColourScheme |
getThemeColourScheme()
|
boolean |
isDefault(java.lang.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 |
---|
getKey, getPermissionTypes, getSpace, getSpaceKey, getSubscribableName, getThemeManager, hasSpaceIA, isAdminUser, isPersonalSpace, isSuperUser, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRenderer |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, execute, 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 |
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware |
---|
validate |
Constructor Detail |
---|
public LookAndFeelAction()
Method Detail |
---|
public java.util.List getColourKeys()
public java.lang.String getColour(ColourScheme scheme, java.lang.String key)
protected ColourScheme getColourScheme()
isDefault(String)
public ColourScheme getCustomColourScheme()
public ColourScheme getGlobalColourScheme()
public ColourScheme getThemeColourScheme()
protected BaseColourScheme getEditableColourScheme()
isDefault(String)
public boolean isDefault(java.lang.String key)
public java.lang.String getColourSchemeType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |