public class EventListener extends java.lang.Object implements PlugIn, IJEventListener, ImageListener, RoiListener, CommandListener
BACKGROUND_COLOR_CHANGED, COLOR_PICKER_CLOSED, FOREGROUND_COLOR_CHANGED, LOG_WINDOW_CLOSED, TOOL_CHANGED| Constructor and Description |
|---|
EventListener() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
commandExecuting(java.lang.String command) |
void |
eventOccurred(int eventID) |
void |
imageClosed(ImagePlus imp) |
void |
imageOpened(ImagePlus imp) |
void |
imageUpdated(ImagePlus imp) |
void |
roiModified(ImagePlus img,
int id) |
void |
run(java.lang.String arg)
This method is called when the plugin is loaded.
|
public void run(java.lang.String arg)
PlugInpublic void eventOccurred(int eventID)
eventOccurred in interface IJEventListenerpublic void imageOpened(ImagePlus imp)
imageOpened in interface ImageListenerpublic void imageClosed(ImagePlus imp)
imageClosed in interface ImageListenerpublic void imageUpdated(ImagePlus imp)
imageUpdated in interface ImageListenerpublic java.lang.String commandExecuting(java.lang.String command)
commandExecuting in interface CommandListenerpublic void roiModified(ImagePlus img, int id)
roiModified in interface RoiListener