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.


Constructor Index

 o Puppeteer(MesquiteModule)

Method Index

 o applyMacroFile(String, Commandable, CommandRecord)
Apply macro file to given commandable
 o dialogScript(Object, Frame, String)
Calls up a dialog box in which the user can enter a script to be sent to the passed object.
 o 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.
 o 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.
 o finalize()
 o returningPage(MesquiteModule)
This is for the paging system, which may be defunct.
 o sendCommands(Object, String, MesquiteInteger, String, boolean, NexusBlock, CommandRecord, CommandChecker)
 o sendCommandsOnNewThread(Object, String, MesquiteInteger, String, boolean, NexusBlock)
Sends commands to the object, but on a new thread.

Constructors

 o Puppeteer
 public Puppeteer(mesquite.lib.MesquiteModule ownerModule)

Methods

 o 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.

 o 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

 o 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.

 o applyMacroFile
 public void applyMacroFile(java.lang.String fileName,
                            mesquite.lib.Commandable obj,
                            mesquite.lib.CommandRecord commandRec)
Apply macro file to given commandable

 o returningPage
 protected void returningPage(mesquite.lib.MesquiteModule pagedModule)
This is for the paging system, which may be defunct.

 o 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.

 o 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)
 o finalize
 public void finalize() throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index