Package adams.scripting
Interface RemoteScriptingEngineHandler
-
- All Known Implementing Classes:
AbstractApplicationFrame
,AbstractTerminalApplication
,FlowRunner
,Main
public interface RemoteScriptingEngineHandler
Interface for remote scripting engine handlers, like applications.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addRemoteScriptingEngine(RemoteScriptingEngine value)
Adds the scripting engine to execute.void
addRemoteScriptingEngineUpdateListener(RemoteScriptingEngineUpdateListener l)
Adds the listener for remote scripting engine changes.RemoteScriptingEngine
getRemoteScriptingEngine()
Returns the current scripting engine if any.void
removeRemoteScriptingEngine(RemoteScriptingEngine value)
Removes the scripting engine (and stops it).void
removeRemoteScriptingEngineUpdateListener(RemoteScriptingEngineUpdateListener l)
Removes the listener for remote scripting engine changes.void
setRemoteScriptingEngine(RemoteScriptingEngine value)
Sets the scripting engine to execute.
-
-
-
Method Detail
-
addRemoteScriptingEngine
void addRemoteScriptingEngine(RemoteScriptingEngine value)
Adds the scripting engine to execute. Doesn't stop any running engines.- Parameters:
value
- the engine to add
-
removeRemoteScriptingEngine
void removeRemoteScriptingEngine(RemoteScriptingEngine value)
Removes the scripting engine (and stops it). Doesn't stop any running engines.- Parameters:
value
- the engine to remove
-
setRemoteScriptingEngine
void setRemoteScriptingEngine(RemoteScriptingEngine value)
Sets the scripting engine to execute. Any running engine is stopped first.- Parameters:
value
- the engine to use, null to turn off scripting
-
getRemoteScriptingEngine
RemoteScriptingEngine getRemoteScriptingEngine()
Returns the current scripting engine if any.- Returns:
- the engine in use, null if none running
-
addRemoteScriptingEngineUpdateListener
void addRemoteScriptingEngineUpdateListener(RemoteScriptingEngineUpdateListener l)
Adds the listener for remote scripting engine changes.- Parameters:
l
- the listener
-
removeRemoteScriptingEngineUpdateListener
void removeRemoteScriptingEngineUpdateListener(RemoteScriptingEngineUpdateListener l)
Removes the listener for remote scripting engine changes.- Parameters:
l
- the listener
-
-