All Packages Class Hierarchy This Package Previous Next Index
Class mesquite.lib.Puppeteer
java.lang.Object
|
+----mesquite.lib.Puppeteer
- public class Puppeteer
- extends java.lang.Object
An object that handles scripting. Puppeteers are the main contollers of scripts (saved in Mesquite blocks of NEXUS files, or used to clone windows, or
in macros). It creates its own thread to pass commands.
-
Puppeteer(MesquiteModule)
-
-
applyMacroFile(String, Commandable, CommandRecord)
- Apply macro file to given commandable
-
dialogScript(Object, Frame, String)
- Calls up a dialog box in which the user can enter a script to be sent to the passed object.
-
execute(Object, String, MesquiteInteger, String, boolean)
- Execute the passed string of commands (currently at string location 'pos') until the String "endString' is reached, skipping commands if
the skip flag is set.
-
execute(Object, String, MesquiteInteger, String, boolean, NexusBlock, MesquiteFile)
- Execute the passed string of commands (currently at string location 'pos') until the String "endString' is reached, skipping commands if
the skip flag is set.
-
finalize()
-
-
returningPage(MesquiteModule)
- This is for the paging system, which may be defunct.
-
sendCommands(Object, String, MesquiteInteger, String, boolean, NexusBlock, CommandRecord, CommandChecker)
-
-
sendCommandsOnNewThread(Object, String, MesquiteInteger, String, boolean, NexusBlock)
- Sends commands to the object, but on a new thread.
Puppeteer
public Puppeteer(mesquite.lib.MesquiteModule ownerModule)
dialogScript
public void dialogScript(java.lang.Object baseObject,
java.awt.Frame f,
java.lang.String objectToCommand)
- Calls up a dialog box in which the user can enter a script to be sent to the passed object.
execute
public void execute(java.lang.Object baseObject,
java.lang.String commands,
mesquite.lib.MesquiteInteger pos,
java.lang.String endString,
boolean skip,
mesquite.lib.NexusBlock nblock,
mesquite.lib.MesquiteFile file)
- Execute the passed string of commands (currently at string location 'pos') until the String "endString' is reached, skipping commands if
the skip flag is set. The NexusBlock is passed currently only so that the commands may assign it a title
execute
public void execute(java.lang.Object baseObject,
java.lang.String commands,
mesquite.lib.MesquiteInteger pos,
java.lang.String endString,
boolean skip)
- Execute the passed string of commands (currently at string location 'pos') until the String "endString' is reached, skipping commands if
the skip flag is set.
applyMacroFile
public void applyMacroFile(java.lang.String fileName,
mesquite.lib.Commandable obj,
mesquite.lib.CommandRecord commandRec)
- Apply macro file to given commandable
returningPage
protected void returningPage(mesquite.lib.MesquiteModule pagedModule)
- This is for the paging system, which may be defunct.
sendCommandsOnNewThread
public void sendCommandsOnNewThread(java.lang.Object baseObject,
java.lang.String commands,
mesquite.lib.MesquiteInteger pos,
java.lang.String endString,
boolean skip,
mesquite.lib.NexusBlock nblock)
- Sends commands to the object, but on a new thread.
sendCommands
public void sendCommands(java.lang.Object mb,
java.lang.String block,
mesquite.lib.MesquiteInteger stringPos,
java.lang.String endString,
boolean skip,
mesquite.lib.NexusBlock nb,
mesquite.lib.CommandRecord commandRec,
mesquite.lib.CommandChecker checker)
finalize
public void finalize() throws java.lang.Throwable
- Overrides:
- finalize in class java.lang.Object
All Packages Class Hierarchy This Package Previous Next Index