public class WiQueryResourceManager extends Object implements Serializable
Manages ResourceReference declared by components.
| Constructor and Description |
|---|
WiQueryResourceManager()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCssResource(Class<?> scope,
String path)
Adds the given file as a CSS file to import for the underlying component.
|
void |
addCssResource(org.apache.wicket.ResourceReference reference)
Adds the given
ResourceReference as a Css file to import for the
underlying component. |
void |
addJavaScriptResource(Class<?> scope,
String path)
Adds the given file as a JavaScript file to import for the underlying
component.
|
void |
addJavaScriptResource(org.apache.wicket.ResourceReference reference)
Adds the given
JavascriptResourceReference as a JavaScript file
to import for the underlying component. |
protected void |
clearResources()
Method to clear the resources
|
void |
initialize(org.apache.wicket.markup.html.IHeaderResponse response) |
public void initialize(org.apache.wicket.markup.html.IHeaderResponse response)
public void addJavaScriptResource(org.apache.wicket.ResourceReference reference)
JavascriptResourceReference as a JavaScript file
to import for the underlying component.public void addJavaScriptResource(Class<?> scope, String path)
ResourceReferencepublic void addCssResource(org.apache.wicket.ResourceReference reference)
ResourceReference as a Css file to import for the
underlying component.public void addCssResource(Class<?> scope, String path)
ResourceReferenceprotected void clearResources()
Copyright © 2009-2012. All Rights Reserved.