public interface XULScriptContext
extends org.scripthelper.context.ScriptContext
| Modifier and Type | Method and Description |
|---|---|
default void |
echo(java.lang.String message)
Echo a message.
|
default void |
echo(java.lang.String message,
java.lang.String htmlColor)
Echo a message with a specified color.
|
default void |
error(java.lang.String message)
Error a message.
|
XULScriptHelper |
getHelper()
Return the script helper.
|
ScriptManager |
getScriptManager()
Return the ScriptManager.
|
default void |
jsConstructor()
This Method jsConstructor is mandatory to be able to construct the Object as a javascript object.
|
void |
setScriptManager(ScriptManager manager)
Set the ScriptManager.
|
default void jsConstructor()
void setScriptManager(ScriptManager manager)
manager - the ScriptManagerScriptManager getScriptManager()
XULScriptHelper getHelper()
getHelper in interface org.scripthelper.context.ScriptContextdefault void echo(java.lang.String message)
echo in interface org.scripthelper.context.ScriptContextmessage - the message textdefault void echo(java.lang.String message,
java.lang.String htmlColor)
echo in interface org.scripthelper.context.ScriptContextmessage - the message texthtmlColor - the message colordefault void error(java.lang.String message)
error in interface org.scripthelper.context.ScriptContextmessage - the message textCopyright © 2008-2020 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence