|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.themes.PluginThemeResource
public class PluginThemeResource
A theme stylesheet which is a resource in a plugin.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.atlassian.confluence.themes.ThemeResource |
---|
ThemeResource.Type |
Method Summary | |
---|---|
static PluginThemeResource |
css(String completeModuleKey,
ResourceDescriptor resourceDescriptor)
Creates a theme resource for a stylesheet in a dynamic plugin. |
String |
getCompleteModuleKey()
Returns the plugin module key which this stylesheet belongs to, or the plugin key if the resource is specified at the plugin level. |
String |
getLocation()
Returns the location of this resource as defined in the plugin xml. |
String |
getName()
Returns the name of the stylesheet resource. |
ThemeResource.Type |
getType()
|
boolean |
isIeOnly()
Returns true iff the ieonly param is set to true in the plugin, false otherwise. |
static PluginThemeResource |
javascript(String completeModuleKey,
ResourceDescriptor resourceDescriptor)
Creates a theme resource for a JavaScript file in a dynamic plugin. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static PluginThemeResource css(String completeModuleKey, ResourceDescriptor resourceDescriptor)
completeModuleKey
- the key of the module or plugin which the stylesheet resource is inresourceDescriptor
- the resource descriptor for the stylesheet resourcepublic static PluginThemeResource javascript(String completeModuleKey, ResourceDescriptor resourceDescriptor)
completeModuleKey
- the key of the module or plugin which the stylesheet resource is inresourceDescriptor
- the resource descriptor for the stylesheet resourcepublic ThemeResource.Type getType()
getType
in interface ThemeResource
public String getLocation()
ThemeResource
getLocation
in interface ThemeResource
getLocation
in interface ThemeStylesheet
public String getCompleteModuleKey()
ThemeResource
getCompleteModuleKey
in interface ThemeResource
getCompleteModuleKey
in interface ThemeStylesheet
public String getName()
ThemeResource
getName
in interface ThemeResource
getName
in interface ThemeStylesheet
public String toString()
toString
in class Object
public boolean isIeOnly()
ThemeResource
ieonly
param is set to true in the plugin, false otherwise.
isIeOnly
in interface ThemeResource
isIeOnly
in interface ThemeStylesheet
ieonly
param is set to true.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |