java.lang.Object
ij.Executer
- All Implemented Interfaces:
Runnable
Runs ImageJ menu commands in a separate thread.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an Executer to run the specified menu command in this thread using the active image.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 Summary
Modifier and TypeMethodDescriptionstatic void
addCommandListener
(CommandListener listener) Adds the specified command listener.static String
Returns the last command executed.static int
static boolean
Opens a .lut file from the ImageJ/luts directory and returns 'true' if successful.static void
removeCommandListener
(CommandListener listener) Removes the specified command listener.void
run()
static void
setAsRepeatCommand
(String cmd)
-
Constructor Details
-
Executer
Create an Executer to run the specified menu command in this thread using the active image. -
Executer
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 Details
-
run
public void run() -
loadLut
Opens a .lut file from the ImageJ/luts directory and returns 'true' if successful. -
getCommand
Returns the last command executed. Returns null if no command has been executed. -
setAsRepeatCommand
-
addCommandListener
Adds the specified command listener. -
removeCommandListener
Removes the specified command listener. -
getListenerCount
public static int getListenerCount()
-