In package com.eden.orchid.api.theme

public abstract class AbstractTheme extends PluginResourceSource implements OptionsHolder, AssetHolder

public abstract

Fields

String key final
Field Annotations:
@Getter

AssetHolder assetHolder final
Field Annotations:
@Getter

String[] extraCss
Field Annotations:
@Getter,
@Setter,
@Option,
@Description(
    value="Add extra CSS files to every page rendered with this theme, which will be compiled just like the rest of the site\'s assets.")

String[] extraJs
Field Annotations:
@Getter,
@Setter,
@Option,
@Description(
    value="Add extra Javascript files to every page rendered with this theme, which will be compiled just like the rest of the site\'s assets.")

String preferredTemplateExtension
Field Annotations:
@Getter,
@Setter

Constructors

AbstractTheme(OrchidContext context, String key, int priority) public

Parameters:

Methods

void clearCache() public

void initialize() public

void addAssets() final public

void loadAssets() protected

void renderAssets() final public

List<E> getScripts() final public
Method Annotations:
@Override

List<E> getStyles() final public
Method Annotations:
@Override

ComponentHolder getComponentHolders() protected

void doWithCurrentPage(OrchidPage currentPage, Consumer<T> callback) final public

Parameters:
void equals(Object o) public
Method Annotations:
@Override

Parameters:
  • Object o
void hashCode() public
Method Annotations:
@Override