|
||||||||||
| 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(java.lang.String completeModuleKey,
com.atlassian.plugin.elements.ResourceDescriptor resourceDescriptor)
Creates a theme resource for a stylesheet in a dynamic plugin. |
java.lang.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. |
java.lang.String |
getLocation()
Returns the location of this resource as defined in the plugin xml. |
java.lang.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(java.lang.String completeModuleKey,
com.atlassian.plugin.elements.ResourceDescriptor resourceDescriptor)
Creates a theme resource for a JavaScript file in a dynamic plugin. |
java.lang.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(java.lang.String completeModuleKey,
com.atlassian.plugin.elements.ResourceDescriptor resourceDescriptor)
completeModuleKey - the key of the module or plugin which the stylesheet resource is inresourceDescriptor - the resource descriptor for the stylesheet resource
public static PluginThemeResource javascript(java.lang.String completeModuleKey,
com.atlassian.plugin.elements.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 ThemeResourcepublic java.lang.String getLocation()
ThemeResource
getLocation in interface ThemeResourcegetLocation in interface ThemeStylesheetpublic java.lang.String getCompleteModuleKey()
ThemeResource
getCompleteModuleKey in interface ThemeResourcegetCompleteModuleKey in interface ThemeStylesheetpublic java.lang.String getName()
ThemeResource
getName in interface ThemeResourcegetName in interface ThemeStylesheetpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isIeOnly()
ThemeResourceieonly param is set to true in the plugin, false otherwise.
isIeOnly in interface ThemeResourceisIeOnly in interface ThemeStylesheetieonly param is set to true.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||