|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.scripting.ScopeManager
public class ScopeManager
Maps javascript contexts to a model
| Method Summary | |
|---|---|
static void |
defineVariable(org.mozilla.javascript.Scriptable scope,
java.lang.String variableName,
java.lang.Object object)
|
static org.mozilla.javascript.Scriptable |
getPublicScope()
Gets the publicScope attribute of the ScopeManager class |
static org.mozilla.javascript.Scriptable |
getScopeForModel(IModel m)
Gets the scopeForModel attribute of the ScopeManager class |
static java.lang.Object |
getVariable(org.mozilla.javascript.Scriptable scope,
java.lang.String variableName)
|
static org.mozilla.javascript.Scriptable |
newScope(org.mozilla.javascript.Scriptable scriptable)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static org.mozilla.javascript.Scriptable getPublicScope()
public static org.mozilla.javascript.Scriptable getScopeForModel(IModel m)
m - Description of the Parameter
public static org.mozilla.javascript.Scriptable newScope(org.mozilla.javascript.Scriptable scriptable)
public static void defineVariable(org.mozilla.javascript.Scriptable scope,
java.lang.String variableName,
java.lang.Object object)
scope - variableName - object -
public static java.lang.Object getVariable(org.mozilla.javascript.Scriptable scope,
java.lang.String variableName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||