com.frinika.project.scripting
Interface ScriptListener

All Known Implementing Classes:
ScriptingDialog

public interface ScriptListener

Allows an object to get notified about start of scripts and exits of scripts.

Author:
Jens Gulden

Method Summary
 void scriptExited(FrinikaScript script, java.lang.Object returnValue)
          Invoked when the specified script has exited.
 void scriptStarted(FrinikaScript script)
          Invoked when the specified script has started.
 

Method Detail

scriptStarted

void scriptStarted(FrinikaScript script)
Invoked when the specified script has started.

Parameters:
script - script which just started to be executed by the script engine

scriptExited

void scriptExited(FrinikaScript script,
                  java.lang.Object returnValue)
Invoked when the specified script has exited.

Parameters:
script - script which just exited from execution by the script engine
returnValue - a returnValue of null indicates that the script exited with an error