In package com.eden.orchid.api.theme.assets

public final class AssetHolderDelegate extends Object implements AssetHolder

public final

Fields

OrchidContext context final

static String JS_EXT = "js" final static

static String CSS_EXT = "css" final static

Constructors

AssetHolderDelegate(OrchidContext context, Object source, String sourceKey) public
Constructor Annotations:
@Inject

Parameters:

Methods

void addAssets() public
Method Annotations:
@Override

AssetHolder getAssetHolder() public
Method Annotations:
@Override

AssetPage addJs(AssetPage jsAsset) public
Method Annotations:
@Override

Parameters:
AssetPage addJs(String jsAsset) public
Method Annotations:
@Override

Parameters:
  • String jsAsset
AssetPage addCss(AssetPage cssAsset) public
Method Annotations:
@Override

Parameters:
AssetPage addCss(String cssAsset) public
Method Annotations:
@Override

Parameters:
  • String cssAsset
AssetPage addAsset(AssetPage asset) public
Method Annotations:
@Override

Parameters:
AssetPage addAsset(String asset) public
Method Annotations:
@Override

Parameters:
  • String asset
List<E> getScripts() public
Method Annotations:
@Override

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

void clearAssets() public
Method Annotations:
@Override

void shouldDownloadExternalAssets() public

void withNamespace(String namespace, Runnable cb) public

Parameters:
  • String namespace
  • Runnable cb