Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.astro.louisville.edu/software/astroimagej/imagej/api/ij/macro/MacroRunner.html
Дата изменения: Thu Dec 2 23:03:11 2010
Дата индексирования: Mon Oct 1 22:13:12 2012
Кодировка:

Поисковые слова: п р п р п р п р п р п р п р п р п р п
MacroRunner (ImageJ API)

ij.macro
Class MacroRunner

java.lang.Object
  extended by ij.macro.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
MacroRunner()
          Create a MacrRunner.
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
 void run()
           
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroRunner

public MacroRunner()
Create a MacrRunner.


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()
Specified by:
run in interface java.lang.Runnable