ij
public class Executer extends java.lang.Object implements java.lang.Runnable
Constructor and Description |
---|
Executer(java.lang.String cmd)
Create an Executer to run the specified menu command
in this thread using the active image.
|
Executer(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
static void |
addCommandListener(CommandListener listener)
Adds the specified command listener.
|
static java.lang.String |
getCommand()
Returns the last command executed.
|
static int |
getListenerCount() |
static boolean |
loadLut(java.lang.String name)
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() |
public Executer(java.lang.String cmd)
public Executer(java.lang.String cmd, ImagePlus imp)
public void run()
run
in interface java.lang.Runnable
public static boolean loadLut(java.lang.String name)
public static java.lang.String getCommand()
public static void addCommandListener(CommandListener listener)
public static void removeCommandListener(CommandListener listener)
public static int getListenerCount()