This class consists of static utility methods.
| 101 | |
| 102 | /** This class consists of static utility methods. */ |
| 103 | public class IJ { |
| 104 | |
| 105 | /** SansSerif, plain, 10-point font */ |
| 106 | public static Font font10 = new Font("SansSerif", Font.PLAIN, 10); |
| 107 | /** SansSerif, plain, 12-point font */ |
| 108 | public static Font font12 = ImageJ.SansSerif12; |
| 109 | /** SansSerif, plain, 14-point font */ |
| 110 | public static Font font14 = ImageJ.SansSerif14; |
| 111 | |
| 112 | /** Image display modes */ |
| 113 | public static final int COMPOSITE=1, COLOR=2, GRAYSCALE=3; |
| 114 | |
| 115 | /** @deprecated */ |
| 116 | public static final String URL = "http://imagej.net/ij"; |
| 117 | |
| 118 | /** ImageJ website */ |
| 119 | public static final String URL2 = "http://imagej.net/ij"; |
| 120 | |
| 121 | public static final int ALL_KEYS = -1; |
| 122 | |
| 123 | /** Use setDebugMode(boolean) to enable/disable debug mode. */ |
| 124 | public static boolean debugMode; |
| 125 | |
| 126 | public static boolean hideProcessStackDialog; |
| 127 | |
| 128 | public static final char micronSymbol = '\u00B5'; |
| 129 | public static final char angstromSymbol = '\u00C5'; |
| 130 | public static final char degreeSymbol = '\u00B0'; |
| 131 | |
| 132 | private static ImageJ ij; |
| 133 | private static Applet applet; |
| 134 | private static ProgressBar progressBar; |
| 135 | private static TextPanel textPanel; |
| 136 | private static String osname, osarch; |
| 137 | private static boolean isMac, isWin, isLinux, is64Bit; |
| 138 | private static int javaVersion; |
| 139 | private static boolean controlDown, altDown, spaceDown, shiftDown; |
| 140 | private static boolean macroRunning; |
| 141 | private static Thread previousThread; |
| 142 | private static TextPanel logPanel; |
| 143 | private static ClassLoader classLoader; |
| 144 | private static boolean memMessageDisplayed; |
| 145 | private static long maxMemory; |
| 146 | private static boolean escapePressed; |
| 147 | private static boolean redirectErrorMessages; |
| 148 | private static boolean suppressPluginNotFoundError; |
| 149 | private static Hashtable commandTable; |
| 150 | private static Vector eventListeners = new Vector(); |
| 151 | private static String lastErrorMessage; |
| 152 | private static Properties properties; private static DecimalFormat[] df; |
| 153 | private static DecimalFormat[] sf; |
| 154 | private static DecimalFormatSymbols dfs; |
| 155 | private static boolean trustManagerCreated; |
| 156 | private static String smoothMacro; |
| 157 | private static Interpreter macroInterpreter; |
| 158 | private static boolean protectStatusBar; |
| 159 | private static Thread statusBarThread; |
| 160 |
nothing calls this directly
no test coverage detected