|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odlabs.wiquery.core.javascript.JsScopeContext
public class JsScopeContext
$Id$
JsScopeContext
defines the following JsScope
contents:
JsScope
,
JsStatement
,
Serialized FormConstructor Summary | |
---|---|
JsScopeContext(String... scopeVariables)
Creates a new JsScopeContext with the given arguments. |
Method Summary | |
---|---|
JsStatement |
append(CharSequence javascriptCode)
Creates a new JsStatement and append the given JavaScript code in this
statement. |
JsStatement |
self()
Creates a new JsStatement and append the "this" keyword in this statement. |
JsStatement |
var(String variable)
Creates a new JsStatement and append the given variable name in this
statement. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JsScopeContext(String... scopeVariables)
JsScopeContext
with the given arguments.
Method Detail |
---|
public JsStatement self()
JsStatement
and append the "this" keyword in this statement.
JsStatement
.public JsStatement var(String variable)
JsStatement
and append the given variable name in this
statement.
JsStatement
.public JsStatement append(CharSequence javascriptCode)
JsStatement
and append the given JavaScript code in this
statement.
JsStatement
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |