|
static ImageJ | getInstance () |
|
static Object | runPlugIn (String className, String arg) |
|
static void | doCommand (String command) |
|
static void | run (String command) |
|
static void | run (String command, String options) |
|
static boolean | macroRunning () |
|
static java.applet.Applet | getApplet () |
|
static void | showStatus (String s) |
|
static void | write (String s) |
|
static synchronized void | log (String s) |
|
static void | setColumnHeadings (String headings) |
|
static boolean | isResultsWindow () |
|
static TextPanel | getTextPanel () |
|
static void | setTextPanel (TextPanel tp) |
|
static void | noImage () |
|
static void | outOfMemory (String name) |
|
static void | showProgress (double progress) |
|
static void | showProgress (int currentIndex, int finalIndex) |
|
static void | showMessage (String title, String msg) |
|
static void | showMessage (String msg) |
|
static void | error (String msg) |
|
static boolean | showMessageWithCancel (String title, String msg) |
|
static double | getNumber (String prompt, double defaultValue) |
|
static String | getString (String prompt, String defaultString) |
|
static synchronized void | wait (int msecs) |
|
static void | beep () |
|
static String | freeMemory () |
|
static long | maxMemory () |
|
static void | showTime (ImagePlus imp, long start, String str) |
|
static String | d2s (double n) |
|
static String | d2s (double n, int decimalPlaces) |
|
static void | register (Class c) |
|
static boolean | spaceBarDown () |
|
static boolean | altKeyDown () |
|
static boolean | shiftKeyDown () |
|
static void | setKeyDown (int key) |
|
static void | setKeyUp (int key) |
|
static void | setInputEvent (InputEvent e) |
|
static boolean | isMacintosh () |
|
static boolean | isMacOSX () |
|
static boolean | isWindows () |
|
static boolean | isJava2 () |
|
static boolean | isJava14 () |
|
static boolean | versionLessThan (String version) |
|
static int | setupDialog (ImagePlus imp, int flags) |
|
static void | makeRectangle (int x, int y, int width, int height) |
|
static void | makeOval (int x, int y, int width, int height) |
|
static void | makeLine (int x1, int y1, int x2, int y2) |
|
static void | setMinAndMax (double min, double max) |
|
static void | resetMinAndMax () |
|
static void | setThreshold (double lowerThreshold, double upperThresold) |
|
static void | resetThreshold () |
|
static void | selectWindow (int id) |
|
static void | setForegroundColor (int red, int green, int blue) |
|
static void | setBackgroundColor (int red, int green, int blue) |
|
static void | setTool (int id) |
|
static int | doWand (int x, int y) |
|
static void | setPasteMode (String mode) |
|
static ImagePlus | getImage () |
|
static String | getVersion () |
|
static String | getDirectory (String title) |
|
This class consists of static utility methods.
Definition at line 20 of file IJ.java.
static String getDirectory |
( |
String |
title | ) |
|
|
inlinestatic |
Returns the path to the plugins, macros, temp or image directory if title
is "plugins", "macros", "temp" or "image", otherwise, displays a dialog and returns the path to the directory selected by the user. Returns null if the specified directory is not found or the user cancels the dialog box. Also aborts the macro if the user cancels the dialog box.
Definition at line 760 of file IJ.java.
static void setPasteMode |
( |
String |
mode | ) |
|
|
inlinestatic |
Sets the transfer mode used by the Edit/Paste command, where mode is "Copy", "Blend", "Average", "Difference", "Transparent", "AND", "OR", "XOR", "Add", "Subtract", "Multiply", or "Divide".
Definition at line 712 of file IJ.java.