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, 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, folder, resourcePath)
Asset
ClasspathAssetFactory. createAsset(Resource resource)
Asset
ContextAssetFactory. createAsset(Resource resource)
Asset
ExternalUrlAssetFactory. createAsset(Resource resource)
Asset
AssetSourceImpl. getAsset(Resource baseResource, path, locale)
Asset
AssetSourceImpl. path)
Asset
AssetSourceImpl. path, locale)
Asset
AssetSourceImpl. getComponentAsset(ComponentResources resources, path, libraryName)
Asset
AssetSourceImpl. path, locale)
Asset
AssetSourceImpl. path)
Asset
AssetSourceImpl. 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, path, locale)
Finds the asset.Asset
AssetSource. path)
Obtains a classpath asset in the current locale (as defined by theThreadLocale
service).Asset
AssetSource. path, locale)
Convenience for finding assets on the classpath.Asset
AssetSource. getComponentAsset(ComponentResources resources, path, libraryName)
Gets an asset that is used with, or injected into, a component, that will be exposed to the client.Asset
AssetSource. path, locale)
Convenience for finding assets in the context.Asset
AssetSource. path)
As withAssetSource.getUnlocalizedAsset(String)
, but symbols in the path are expanded}.Asset
AssetSource. 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 <Asset>
ExtensibleJavaScriptStack. getJavaScriptLibraries()
<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. 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, path, locale, Asset asset)
protected void
TapestryTestCase. train_getClasspathAsset(AssetSource source, path, locale, Asset asset)
protected void
TapestryTestCase. train_getClasspathAsset(AssetSource source, path, Asset asset)
protected void
TapestryTestCase. train_toClientURL(Asset asset, URL)
Deprecated.Deprecated in 5.4 with no replacement.
-