Package org.jgrapes.webconsole.base
Interface RenderSupport
public interface RenderSupport
Provides support for creating URIs in the web console scope that
are forwarded to components listening on the web console channel.
-
Method Summary
Modifier and TypeMethodDescriptiondefault URIconletResource(String conletType, String path) Convenience method that converts the path to an URI before callingconletResource(String, URI).conletResource(String conletType, URI uri) Create a reference to a resource provided by a web console component of the given type.default URIconsoleBaseResource(String path) Convenience method that converts the path to an URI before callingconsoleBaseResource(URI).consoleBaseResource(URI uri) Returns the web console library URI.default URIconsoleResource(String path) Convenience method that converts the path to an URI before callingconsoleResource(URI).consoleResource(URI uri) Create a reference to a resource provided by the web console.default URIpageResource(String path) Convenience method that converts the path to an URI before callingpageResource(URI).pageResource(URI uri) Create a reference to a resource provided by a page resource provider.booleanIndicates if minified resources should be used.
-
Method Details
-
consoleBaseResource
Returns the web console library URI.- Parameters:
uri- the uri- Returns:
- the uri
-
consoleBaseResource
Convenience method that converts the path to an URI before callingconsoleBaseResource(URI).- Parameters:
path- the path- Returns:
- the resulting URI
-
consoleResource
Create a reference to a resource provided by the web console.- Parameters:
uri- the URI- Returns:
- the resulting URI
-
consoleResource
Convenience method that converts the path to an URI before callingconsoleResource(URI).- Parameters:
path- the path- Returns:
- the resulting URI
-
pageResource
Create a reference to a resource provided by a page resource provider.Requesting the resulting URI results in a
PageResourceRequest.- Parameters:
uri- the URI made available asResourceRequest.resourceUri()- Returns:
- the resulting URI
-
pageResource
Convenience method that converts the path to an URI before callingpageResource(URI).- Parameters:
path- the path- Returns:
- the resulting URI
-
conletResource
Create a reference to a resource provided by a web console component of the given type.Requesting the resulting URI results in a
ConletResourceRequest.- Parameters:
conletType- the web console component typeuri- the URI made available asResourceRequest.resourceUri()- Returns:
- the resulting URI
-
conletResource
Convenience method that converts the path to an URI before callingconletResource(String, URI).- Parameters:
conletType- the web console component typepath- the path- Returns:
- the resulting URI
-
useMinifiedResources
boolean useMinifiedResources()Indicates if minified resources should be used.- Returns:
- the setting
-