|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectij.Executer
public class Executer
Runs ImageJ menu commands in a separate thread.
| Constructor Summary | |
|---|---|
Executer(String cmd)
Create an Executer to run the specified menu command in this thread using the active image. |
|
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 Summary | |
|---|---|
static void |
addCommandListener(CommandListener listener)
Adds the specified command listener. |
static String |
getCommand()
Returns the last command executed. |
static int |
getListenerCount()
|
static boolean |
loadLut(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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Executer(String cmd)
public Executer(String cmd,
ImagePlus imp)
| Method Detail |
|---|
public void run()
run in interface Runnablepublic static boolean loadLut(String name)
public static String getCommand()
public static void addCommandListener(CommandListener listener)
public static void removeCommandListener(CommandListener listener)
public static int getListenerCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||