public class JQueryLibrary extends Object implements Renderable
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_RESOURCE_URL
The base url where to find jQuery assets (js,css).
|
| Constructor and Description |
|---|
JQueryLibrary(String url) |
| Modifier and Type | Method and Description |
|---|---|
static JQueryLibrary |
baseTheme(String version) |
static JQueryLibrary |
core(String version)
Return a library that loads the core from code.jquery.com
|
static JQueryLibrary |
mobile(String version)
Return a library that loads the javascript from code.jquery.com
|
static JQueryLibrary |
mobileStructure(String version)
Return a library that loads the structure-only from code.jquery.com
|
static JQueryLibrary |
mobileTheme(String version)
Return a library that loads the css from code.jquery.com
|
void |
renderOn(HtmlCanvas html)
Write a link reference to load the external Javascript library for
JQuery.
|
static JQueryLibrary |
theme(String version,
String theme)
Return a library that loads a theme css from code.jquery.com
|
static JQueryLibrary |
ui(String version)
Return a library that loads the ui framework from code.jquery.com
|
public static String BASE_RESOURCE_URL
public JQueryLibrary(String url)
public static JQueryLibrary core(String version)
version - public static JQueryLibrary ui(String version)
version - public static JQueryLibrary baseTheme(String version)
public static JQueryLibrary theme(String version, String theme)
version - public static JQueryLibrary mobileTheme(String version)
version - public static JQueryLibrary mobileStructure(String version)
version - public static JQueryLibrary mobile(String version)
version - public void renderOn(HtmlCanvas html) throws IOException
renderOn in interface Renderablehtml - IOExceptionCopyright © 2010–2018. All rights reserved.