Uses of Interface
org.apache.tapestry5.Asset
-
Packages that use Asset Package Description org.apache.tapestry5.internal [INTERNAL USE ONLY] internal support classes; API subject to change.org.apache.tapestry5.internal.bindings [INTERNAL USE ONLY] support classes for binding; API subject to changeorg.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.internal.services.ajax [INTERNAL USE ONLY] AJAX support services; API subject to changeorg.apache.tapestry5.services Core servicesorg.apache.tapestry5.services.javascript Support for Javascript (and CSS), including dynamically-added JavaScript and services that manage dynamically-added links to JavaScript (and CSS) assets.org.apache.tapestry5.test Support for testing Tapestry pages -
-
Uses of Asset in org.apache.tapestry5.internal
Fields in org.apache.tapestry5.internal with type parameters of type Asset Modifier and Type Field Description static Mapper<Asset,StylesheetLink>
TapestryInternalUtils. assetToStylesheetLink
Common mapper, used primarily withFlow.map(org.apache.tapestry5.func.Mapper)
-
Uses of Asset in org.apache.tapestry5.internal.bindings
Constructors in org.apache.tapestry5.internal.bindings with parameters of type Asset Constructor Description AssetBinding(Location location, String description, Asset asset)
-
Uses of Asset in org.apache.tapestry5.internal.services
Classes in org.apache.tapestry5.internal.services that implement Asset Modifier and Type Class Description class
AbstractAsset
Base class for assets.class
UrlAsset
Methods in org.apache.tapestry5.internal.services that return Asset Modifier and Type Method Description protected Asset
AbstractAssetFactory. createAsset(Resource resource, String folder, String resourcePath)
Asset
ClasspathAssetFactory. createAsset(Resource resource)
Asset
ContextAssetFactory. createAsset(Resource resource)
Asset
ExternalUrlAssetFactory. createAsset(Resource resource)
Asset
AssetSourceImpl. getAsset(Resource baseResource, String path, Locale locale)
Asset
AssetSourceImpl. getClasspathAsset(String path)
Asset
AssetSourceImpl. getClasspathAsset(String path, Locale locale)
Asset
AssetSourceImpl. getComponentAsset(ComponentResources resources, String path, String libraryName)
Asset
AssetSourceImpl. getContextAsset(String path, Locale locale)
Asset
AssetSourceImpl. getExpandedAsset(String path)
Asset
AssetSourceImpl. getUnlocalizedAsset(String path)
-
Uses of Asset in org.apache.tapestry5.internal.services.ajax
Methods in org.apache.tapestry5.internal.services.ajax with parameters of type Asset Modifier and Type Method Description JavaScriptSupport
JavaScriptSupportImpl. importJavaScriptLibrary(Asset asset)
JavaScriptSupport
JavaScriptSupportImpl. importStylesheet(Asset stylesheet)
-
Uses of Asset in org.apache.tapestry5.services
Methods in org.apache.tapestry5.services that return Asset Modifier and Type Method Description Asset
AssetFactory. createAsset(Resource resource)
Creates an instance of an asset.Asset
AssetSource. getAsset(Resource baseResource, String path, Locale locale)
Finds the asset.Asset
AssetSource. getClasspathAsset(String path)
Obtains a classpath asset in the current locale (as defined by theThreadLocale
service).Asset
AssetSource. getClasspathAsset(String path, Locale locale)
Convenience for finding assets on the classpath.Asset
AssetSource. getComponentAsset(ComponentResources resources, String path, String libraryName)
Gets an asset that is used with, or injected into, a component, that will be exposed to the client.Asset
AssetSource. getContextAsset(String path, Locale locale)
Convenience for finding assets in the context.Asset
AssetSource. getExpandedAsset(String path)
As withAssetSource.getUnlocalizedAsset(String)
, but symbols in the path are expanded}.Asset
AssetSource. getUnlocalizedAsset(String path)
Find an asset but does not attempt to localize it. -
Uses of Asset in org.apache.tapestry5.services.javascript
Methods in org.apache.tapestry5.services.javascript that return types with arguments of type Asset Modifier and Type Method Description List<Asset>
ExtensibleJavaScriptStack. getJavaScriptLibraries()
List<Asset>
JavaScriptStack. getJavaScriptLibraries()
Returns a list of localized assets for JavaScript libraries that form the stack.Methods in org.apache.tapestry5.services.javascript with parameters of type Asset Modifier and Type Method Description JavaScriptSupport
JavaScriptSupport. importJavaScriptLibrary(Asset asset)
Imports a JavaScript library as part of the rendered page.JavaScriptSupport
JavaScriptSupport. importStylesheet(Asset stylesheet)
A convenience method that wraps the Asset as aStylesheetLink
.Constructors in org.apache.tapestry5.services.javascript with parameters of type Asset Constructor Description StylesheetLink(Asset asset)
StylesheetLink(Asset asset, StylesheetOptions options)
-
Uses of Asset in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return Asset Modifier and Type Method Description protected Asset
TapestryTestCase. mockAsset()
protected Asset
TapestryTestCase. mockAsset(String assetURL)
Methods in org.apache.tapestry5.test with parameters of type Asset Modifier and Type Method Description protected void
TapestryTestCase. train_createAsset(AssetFactory factory, Resource resource, Asset asset)
protected void
TapestryTestCase. train_getAsset(AssetSource source, Resource root, String path, Locale locale, Asset asset)
protected void
TapestryTestCase. train_getClasspathAsset(AssetSource source, String path, Locale locale, Asset asset)
protected void
TapestryTestCase. train_getClasspathAsset(AssetSource source, String path, Asset asset)
protected void
TapestryTestCase. train_toClientURL(Asset asset, String URL)
Deprecated.Deprecated in 5.4 with no replacement.
-