Documentation of 'ij.macro.MacroRunner' Java class
MacroRunner
ij.macro

Class MacroRunner

  • All Implemented Interfaces:
    java.lang.Runnable


    public class MacroRunner
    extends java.lang.Object
    implements java.lang.Runnable
    This class runs macros in a separate thread.
    • Constructor Summary

      Constructors 
      Constructor and Description
      MacroRunner()
      Create a MacroRunner.
      MacroRunner(java.io.File file)
      Create a new object that interprets a macro file using a separate thread.
      MacroRunner(Program pgm, int address, java.lang.String name)
      Create a new object that runs a tokenized macro in a separate thread.
      MacroRunner(Program pgm, int address, java.lang.String name, Editor editor)
      Create a new object that runs a tokenized macro in debug mode if 'editor' is not null.
      MacroRunner(Program pgm, int address, java.lang.String name, java.lang.String argument)
      Create a new object that runs a tokenized macro in a separate thread, passing a string argument.
      MacroRunner(java.lang.String macro)
      Create a new object that interprets macro source in a separate thread.
      MacroRunner(java.lang.String macro, Editor editor)
      Create a new object that interprets macro source in debug mode if 'editor' is not null.
      MacroRunner(java.lang.String macro, java.lang.String argument)
      Create a new object that interprets macro source in a separate thread, and also passing a string argument.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Thread getThread() 
      void run() 
      void run(Program pgm, int address, java.lang.String name)
      Runs a tokenized macro on the current thread.
      void runShortcut(Program pgm, int address, java.lang.String name)
      Runs tokenized macro on current thread if pgm.queueCommands is true.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MacroRunner

        public MacroRunner()
        Create a MacroRunner.
      • MacroRunner

        public MacroRunner(java.lang.String macro)
        Create a new object that interprets macro source in a separate thread.
      • MacroRunner

        public MacroRunner(java.lang.String macro,
                           Editor editor)
        Create a new object that interprets macro source in debug mode if 'editor' is not null.
      • MacroRunner

        public MacroRunner(java.lang.String macro,
                           java.lang.String argument)
        Create a new object that interprets macro source in a separate thread, and also passing a string argument.
      • MacroRunner

        public MacroRunner(java.io.File file)
        Create a new object that interprets a macro file using a separate thread.
      • MacroRunner

        public MacroRunner(Program pgm,
                           int address,
                           java.lang.String name)
        Create a new object that runs a tokenized macro in a separate thread.
      • MacroRunner

        public MacroRunner(Program pgm,
                           int address,
                           java.lang.String name,
                           java.lang.String argument)
        Create a new object that runs a tokenized macro in a separate thread, passing a string argument.
      • MacroRunner

        public MacroRunner(Program pgm,
                           int address,
                           java.lang.String name,
                           Editor editor)
        Create a new object that runs a tokenized macro in debug mode if 'editor' is not null.
    • Method Detail

      • runShortcut

        public void runShortcut(Program pgm,
                                int address,
                                java.lang.String name)
        Runs tokenized macro on current thread if pgm.queueCommands is true.
      • run

        public void run(Program pgm,
                        int address,
                        java.lang.String name)
        Runs a tokenized macro on the current thread.
      • getThread

        public java.lang.Thread getThread()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.