Package | Description |
---|---|
org.xul.script.scripts |
Contain classes which manage scripts.
|
org.xul.script.scripts.lang.js |
Contain classes which manage the Javascript scripting language.
|
org.xul.script.xul |
Contain classes that manage XUL scripts.
|
org.xul.script.xul.model |
Model of XUL XML documents and widgets.
|
org.xul.script.xul.parser |
Contain classes which parse the XUL files.
|
Modifier and Type | Field and Description |
---|---|
protected ScriptHandle |
AbstractScriptListener.script |
Modifier and Type | Method and Description |
---|---|
ScriptHandle |
AbstractScriptFactory.addScript(short scriptType,
XULDocument document,
org.scripthelper.model.ScriptSource source)
Add a script.
|
ScriptHandle |
ScriptFactory.addScript(short scriptType,
XULDocument document,
org.scripthelper.model.ScriptSource source)
Add a script.
|
ScriptHandle |
AbstractScriptFactory.addScript(XULDocument document,
org.scripthelper.model.ScriptSource source)
Add a script.
|
ScriptHandle |
ScriptFactory.addScript(XULDocument document,
org.scripthelper.model.ScriptSource source)
Add a script.
|
ScriptHandle |
AbstractScriptFactory.getScript(org.scripthelper.model.ScriptSource source)
Return the script associated with a source.
|
ScriptHandle |
ScriptFactory.getScript(org.scripthelper.model.ScriptSource source)
Return the script associated with a source.
|
ScriptHandle |
AbstractScriptFactory.removeScript(org.scripthelper.model.ScriptSource source)
Removed a script.
|
ScriptHandle |
ScriptFactory.removeScript(org.scripthelper.model.ScriptSource source)
Removed a script.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<org.scripthelper.model.ScriptSource,ScriptHandle> |
AbstractScriptFactory.getScripts()
Return the scripts.
|
java.util.Map<org.scripthelper.model.ScriptSource,ScriptHandle> |
ScriptFactory.getScripts()
Return the scripts.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractScriptFactory.addScriptToDocuments(ScriptHandle script)
Add a script to all XUL documents.
|
void |
ScriptFactory.addScriptToDocuments(ScriptHandle script)
Add a script to all XUL documents.
|
void |
AbstractScriptListener.setCurrentScript(ScriptHandle script)
Set the name of the current external script that is executed.
|
void |
ScriptListener.setCurrentScript(ScriptHandle script)
Set the name of the current external script that is executed.
|
Modifier and Type | Class and Description |
---|---|
class |
JSScriptHandle
Reference a javascript script in a XUL Script File.
|
Modifier and Type | Field and Description |
---|---|
protected ScriptHandle |
AbstractJSScriptContext.currentScript |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<org.scripthelper.model.ScriptSource,ScriptHandle> |
AbstractJSScriptContext.scripts |
Modifier and Type | Method and Description |
---|---|
ScriptHandle |
AbstractJSScriptContext.getCurrentScript() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<org.scripthelper.model.ScriptSource,ScriptHandle> |
AbstractJSScriptContext.getScripts() |
java.util.List<ScriptHandle> |
AbstractJSScriptContext.getScriptsForClass(java.lang.Class<?> clazz)
Return the scripts for a specified Script interface.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractJSScriptContext.addScript(ScriptHandle script)
Add a script.
|
Modifier and Type | Method and Description |
---|---|
ScriptHandle |
FunctionBinding.getScript()
Return the ScriptHandle.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.net.URL,ScriptHandle> |
AbstractScriptManager.getGlobalScripts()
Return the Map of global scripts.
|
java.util.Map<java.net.URL,ScriptHandle> |
ScriptManager.getGlobalScripts()
Return the Map of global scripts.
|
java.util.Map<org.scripthelper.model.ScriptSource,ScriptHandle> |
AbstractScriptManager.getScripts()
Return the scripts.
|
java.util.Map<org.scripthelper.model.ScriptSource,ScriptHandle> |
ScriptManager.getScripts()
Return the scripts.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
AbstractScriptManager.evalScript(ScriptHandle script,
java.lang.String scriptMethod)
Evaluate a Script.
|
java.lang.Object |
XULScriptManagerContext.evalScript(ScriptHandle script,
java.lang.String scriptMethod)
Evaluate a Script.
|
java.lang.Object |
AbstractScriptManager.evalScript(ScriptHandle script,
java.lang.String scriptMethod,
java.lang.Object arg)
Evaluate a Script.
|
java.lang.Object |
XULScriptManagerContext.evalScript(ScriptHandle script,
java.lang.String scriptMethod,
java.lang.Object arg)
Evaluate a Script.
|
java.lang.Object |
AbstractScriptManager.evalScript(ScriptHandle script,
java.lang.String scriptMethod,
java.lang.Object[] args)
Evaluate a Script.
|
java.lang.Object |
XULScriptManagerContext.evalScript(ScriptHandle script,
java.lang.String scriptMethod,
java.lang.Object[] args)
Evaluate a Script.
|
Constructor and Description |
---|
FunctionBinding(ScriptHandle script,
java.lang.String name)
Creates a binding to a function or method name in a script.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,ScriptHandle> |
XULDocument.getFunctionNames()
Return the function names which can be executed in the document.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<org.w3c.dom.Element,ScriptHandle> |
AbstractXULHandler.embeddedScripts |
protected java.util.Map<java.net.URL,ScriptHandle> |
AbstractXULHandler.externalScripts |
Modifier and Type | Method and Description |
---|---|
java.util.Map<org.w3c.dom.Element,ScriptHandle> |
AbstractXULHandler.getEmbeddedScripts() |
java.util.Map<java.net.URL,ScriptHandle> |
AbstractXULHandler.getExternalScripts() |
java.util.Map<java.net.URL,ScriptHandle> |
XULDOMParser.getExternalScripts()
Return the external Javascript scripts referenced in the XUL Script.
|
Copyright © 2008-2020 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence