|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.wickedcharts.wicket6.JavaScriptResourceRegistry
public class JavaScriptResourceRegistry
A registry for the JavaScript dependencies used by wicked-charts. By default, all JavaScript references will be loaded from the web. If you want to package your own JavaScript files or change the URLs, you can do so by calling the setter methods from the init() method of your wicket application.
| Nested Class Summary | |
|---|---|
class |
JavaScriptResourceRegistry.RegistryEntry
|
| Field Summary | |
|---|---|
static String |
DEFAULT_HIGHCHARTS_EXPORTING_URL
|
static String |
DEFAULT_HIGHCHARTS_MORE_URL
|
static String |
DEFAULT_HIGHCHARTS_URL
|
static String |
DEFAULT_JQUERY_URL
|
| Method Summary | |
|---|---|
JavaScriptResourceRegistry.RegistryEntry |
getHighchartsEntry()
|
JavaScriptResourceRegistry.RegistryEntry |
getHighchartsExportingEntry()
|
JavaScriptResourceRegistry.RegistryEntry |
getHighchartsMoreEntry()
|
static JavaScriptResourceRegistry |
getInstance()
|
JavaScriptResourceRegistry.RegistryEntry |
getJQueryEntry()
|
void |
setHighchartsExportingReference(org.apache.wicket.request.resource.ResourceReference reference)
Sets the ResourceReference to use to load the Highcharts exporting
javascript library (exporting.js). |
void |
setHighchartsExportingReference(String url)
Sets the URL to use to load the Highcharts exporting javascript library (exporting.js). |
void |
setHighchartsMoreReference(org.apache.wicket.request.resource.ResourceReference reference)
Sets the ResourceReference to use to load the Highcharts "more"
javascript library (highcharts-more.js). |
void |
setHighchartsMoreReference(String url)
Sets the URL to use to load the Highcharts "more" javascript library (highcharts-more.js). |
void |
setHighchartsReference(org.apache.wicket.request.resource.ResourceReference reference)
Sets the ResourceReference to use to load the Highcharts javascript
library (highcharts.js). |
void |
setHighchartsReference(String url)
Sets the URL to use to load the Highcharts javascript library (highcharts.js). |
void |
setJQueryReference(org.apache.wicket.request.resource.ResourceReference reference)
Sets the ResourceReference to use to load JQuery (jquery.js).Use
this method if you want to include the javascript file in your web
application. |
void |
setJQueryReference(String url)
Sets the URL to use to load JQuery (jquery.js). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_JQUERY_URL
public static final String DEFAULT_HIGHCHARTS_URL
public static final String DEFAULT_HIGHCHARTS_MORE_URL
public static final String DEFAULT_HIGHCHARTS_EXPORTING_URL
| Method Detail |
|---|
public static JavaScriptResourceRegistry getInstance()
public JavaScriptResourceRegistry.RegistryEntry getHighchartsEntry()
public JavaScriptResourceRegistry.RegistryEntry getHighchartsExportingEntry()
public JavaScriptResourceRegistry.RegistryEntry getHighchartsMoreEntry()
public JavaScriptResourceRegistry.RegistryEntry getJQueryEntry()
public void setHighchartsExportingReference(org.apache.wicket.request.resource.ResourceReference reference)
ResourceReference to use to load the Highcharts exporting
javascript library (exporting.js). Use this method if you want to include
the javascript file in your web application.
public void setHighchartsExportingReference(String url)
public void setHighchartsMoreReference(org.apache.wicket.request.resource.ResourceReference reference)
ResourceReference to use to load the Highcharts "more"
javascript library (highcharts-more.js). Use this method if you want to
include the javascript file in your web application.
public void setHighchartsMoreReference(String url)
public void setHighchartsReference(org.apache.wicket.request.resource.ResourceReference reference)
ResourceReference to use to load the Highcharts javascript
library (highcharts.js). Use this method if you want to include the
javascript file in your web application.
public void setHighchartsReference(String url)
public void setJQueryReference(org.apache.wicket.request.resource.ResourceReference reference)
ResourceReference to use to load JQuery (jquery.js).Use
this method if you want to include the javascript file in your web
application.
public void setJQueryReference(String url)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||