org.joone.util
Class MacroPlugin
- java.lang.Object
-
- org.joone.util.MonitorPlugin
-
- org.joone.util.MacroPlugin
-
- All Implemented Interfaces:
- java.io.Serializable, java.util.EventListener, NeuralNetListener, MacroInterface
public class MacroPlugin extends MonitorPlugin implements MacroInterface
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description MacroPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description MacroManagergetMacroManager()Getter for property macroManager.voidrunMacro(java.lang.String text)Run a generic macro contained in a textvoidset(java.lang.String name, java.lang.Object jObject)Exports an internal variable in the script's namespacevoidsetMacroManager(MacroManager macroManager)Setter for property macroManager.-
Methods inherited from class org.joone.util.MonitorPlugin
cicleTerminated, errorChanged, getName, getNeuralNet, getRate, netStarted, netStopped, netStoppedError, setName, setNeuralNet, setRate
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.joone.engine.NeuralNetListener
cicleTerminated, errorChanged, netStarted, netStopped, netStoppedError
-
-
-
-
Method Detail
-
set
public void set(java.lang.String name, java.lang.Object jObject)Description copied from interface:MacroInterfaceExports an internal variable in the script's namespace- Specified by:
setin interfaceMacroInterface- Parameters:
name- - the name of the variable in the script's namespacejObject- - the value of the exported variable
-
runMacro
public void runMacro(java.lang.String text)
Run a generic macro contained in a text- Specified by:
runMacroin interfaceMacroInterface
-
getMacroManager
public MacroManager getMacroManager()
Getter for property macroManager.- Specified by:
getMacroManagerin interfaceMacroInterface- Returns:
- Value of property macroManager.
-
setMacroManager
public void setMacroManager(MacroManager macroManager)
Setter for property macroManager.- Specified by:
setMacroManagerin interfaceMacroInterface- Parameters:
macroManager- New value of property macroManager.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG