public interface ScriptListener
Modifier and Type | Method and Description |
---|---|
default void |
alert(java.lang.String message,
javax.swing.JComponent root)
Alert with a message.
|
void |
print(java.lang.String message)
Print a message.
|
void |
setCurrentScript(ScriptHandle script)
Set the name of the current external script that is executed.
|
void |
setScriptManager(ScriptManager manager)
Set the script manager.
|
void |
showException(java.lang.String message,
java.lang.Throwable e)
Show an exception with a message.
|
void |
showException(java.lang.Throwable e)
Show an exception.
|
void setScriptManager(ScriptManager manager)
manager
- the script managervoid print(java.lang.String message)
message
- the messagedefault void alert(java.lang.String message, javax.swing.JComponent root)
message
- the message alterroot
- the root componentvoid setCurrentScript(ScriptHandle script)
script
- the scriptvoid showException(java.lang.String message, java.lang.Throwable e)
message
- the messagee
- the Throwablevoid showException(java.lang.Throwable e)
e
- the ThrowableCopyright © 2008-2020 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence