public class SpinJsGenerator extends de.alpharogroup.wicket.js.addon.core.JavascriptGenerator<SpinSettings>
| Modifier and Type | Field and Description |
|---|---|
static String |
SPINNER_JS_VARIABLE
The name of the js var for the spinner.
|
| Constructor and Description |
|---|
SpinJsGenerator()
Instantiates a new
SpinSettings. |
SpinJsGenerator(SpinSettings settings)
Instantiates a new
SpinSettings. |
SpinJsGenerator(SpinSettings settings,
String componentId)
Instantiates a new
SpinSettings. |
SpinJsGenerator(String componentId)
Instantiates a new
SpinSettings. |
| Modifier and Type | Method and Description |
|---|---|
String |
generateJavascriptTemplateContent(Map<String,Object> variables,
String methodName)
Generates the javascript template code from the given map and the given method name that will
be used to interpolate with the values of the given map.
|
generateJs, generateJs, generateJsOptionsForTemplateContent, getComponentId, getMethodName, getSettings, initializeVariables, isWithComponentId, isWithDocumentReadyFunction, setComponentId, setMethodName, setSettings, setWithComponentId, setWithDocumentReadyFunctionpublic static final String SPINNER_JS_VARIABLE
public SpinJsGenerator()
SpinSettings.public SpinJsGenerator(SpinSettings settings)
SpinSettings.settings - the settings for the spin library.public SpinJsGenerator(SpinSettings settings, String componentId)
SpinSettings.settings - the settings for the spin library.componentId - the component idpublic SpinJsGenerator(String componentId)
SpinSettings.componentId - the component idpublic String generateJavascriptTemplateContent(Map<String,Object> variables, String methodName)
generateJavascriptTemplateContent in class de.alpharogroup.wicket.js.addon.core.JavascriptGenerator<SpinSettings>variables - the map with the javascript options.methodName - The method name.Copyright © 2015–2016 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.