Class JsScopeContext
java.lang.Object
org.wicketstuff.wiquery.core.javascript.JsScopeContext
- All Implemented Interfaces:
Serializable
$Id: JsScopeContext.java 1714 2011-09-22 20:38:30Z hielke.hoeve $
JsScopeContext defines the following JsScope contents:
- Since:
- 0.7
- Author:
- Lionel Armanet
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJsScopeContext(String... scopeVariables) Creates a newJsScopeContextwith the given arguments. -
Method Summary
Modifier and TypeMethodDescriptionappend(CharSequence javascriptCode) Creates a newJsStatementand append the given JavaScript code in this statement.self()Creates a newJsStatementand append the "this" keyword in this statement.Creates a newJsStatementand append the given variable name in this statement.
-
Constructor Details
-
JsScopeContext
Creates a newJsScopeContextwith the given arguments.
-
-
Method Details
-
self
Creates a newJsStatementand append the "this" keyword in this statement.- Returns:
- the created
JsStatement.
-
var
Creates a newJsStatementand append the given variable name in this statement.- Returns:
- the created
JsStatement.
-
append
Creates a newJsStatementand append the given JavaScript code in this statement.- Returns:
- the created
JsStatement.
-