public class

LookAndFeelAction

extends AbstractLookAndFeelAction
implements LookAndFeel
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
Known Direct Subclasses
Known Indirect Subclasses

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.confluence.admin.actions.lookandfeel.AbstractLookAndFeelAction
From class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
LookAndFeelAction()
Public Methods
String getColour(ColourScheme scheme, String key)
List getColourKeys()
String getColourSchemeType()
ColourScheme getCustomColourScheme()
ColourScheme getGlobalColourScheme()
ColourScheme getThemeColourScheme()
boolean isDefault(String key)
Protected Methods
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)
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)
[Expand]
Inherited Methods
From class com.atlassian.confluence.admin.actions.lookandfeel.AbstractLookAndFeelAction
From class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.atlassian.confluence.spaces.Spaced
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware

Public Constructors

public LookAndFeelAction ()

Public Methods

public String getColour (ColourScheme scheme, String key)

public List getColourKeys ()

public String getColourSchemeType ()

public ColourScheme getCustomColourScheme ()

public ColourScheme getGlobalColourScheme ()

public ColourScheme getThemeColourScheme ()

public boolean isDefault (String key)

Protected Methods

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)

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)