Class Executer

  • All Implemented Interfaces:

    public class Executerextends Objectimplements Runnable
    Runs ImageJ menu commands in a separate thread.
    • Constructor Detail

      • Executer

        public Executer(String cmd)
        Create an Executer to run the specified menu command in this thread using the active image.
      • Executer

        public Executer(String cmd,        ImagePlus imp)
        Create an Executer that runs the specified menu command in a separate thread using the specified image, or using the active image if 'imp' is null.
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
      • getCommand

        public static String getCommand()
        Returns the last command executed. Returns null if no command has been executed.
      • addCommandListener

        public static void addCommandListener(CommandListener listener)
        Adds the specified command listener.
      • removeCommandListener

        public static void removeCommandListener(CommandListener listener)
        Removes the specified command listener.

SCaVis 2.2 © jWork.ORG