Squiz Matrix
4.12.2
|
Static Public Member Functions | |
static String | load (Object ij, Applet applet) |
static String | getImagesURL () |
static String | getHomeDir () |
static String | getString (String key) |
static String | getString (String key, String defaultString) |
static boolean | getBoolean (String key, boolean defaultValue) |
static int | getInt (String key, int defaultValue) |
static double | getDouble (String key, double defaultValue) |
static Color | getColor (String key, Color defaultColor) |
static String | getFileSeparator () |
static void | set (String key, String text) |
static void | set (String key, double value) |
static void | set (String key, boolean value) |
static String | get (String key, String defaultValue) |
static double | get (String key, double defaultValue) |
static boolean | get (String key, boolean defaultValue) |
static void | savePrefs (Properties prefs, String path) throws IOException |
Static Public Attributes | |
static final String | PROPS_NAME = "IJ_Props.txt" |
static final String | PREFS_NAME = "IJ_Prefs.txt" |
static final String | DIR_IMAGE = "dir.image" |
static final String | FCOLOR = "fcolor" |
static final String | BCOLOR = "bcolor" |
static final String | ROICOLOR = "roicolor" |
static final String | JPEG = "jpeg" |
static final String | FPS = "fps" |
static final String | DIV_BY_ZERO_VALUE = "div-by-zero" |
static final String | NOISE_SD = "noise.sd" |
static final String | KEY_PREFIX = "." |
static final String | OPTIONS = "prefs.options" |
static String | separator = System.getProperty("file.separator") |
static boolean | usePointerCursor |
static boolean | antialiasedText |
static boolean | interpolateScaledImages |
static boolean | open100Percent |
static boolean | blackBackground |
static boolean | unweightedColor |
static boolean | blackCanvas |
This class contains the ImageJ preferences, which are loaded from the "IJ_Props.txt" and "IJ_Prefs.txt" files.
Definition at line 22 of file Prefs.java.
|
inlinestatic |
Uses the keyword key
to retrieve a string from the preferences file. Returns defaultValue
if the key is not found.
Definition at line 276 of file Prefs.java.
|
inlinestatic |
Uses the keyword key
to retrieve a number from the preferences file. Returns defaultValue
if the key is not found.
Definition at line 287 of file Prefs.java.
|
inlinestatic |
Uses the keyword key
to retrieve a boolean from the preferences file. Returns defaultValue
if the key is not found.
Definition at line 302 of file Prefs.java.
|
inlinestatic |
Finds a boolean in IJ_Props or IJ_Prefs.txt.
Definition at line 150 of file Prefs.java.
|
inlinestatic |
Finds a color in IJ_Props or IJ_Prefs.txt.
Definition at line 188 of file Prefs.java.
|
inlinestatic |
Looks up a real number in IJ_Props or IJ_Prefs.txt.
Definition at line 173 of file Prefs.java.
|
inlinestatic |
Returns the file.separator system property.
Definition at line 196 of file Prefs.java.
|
inlinestatic |
Returns the path to the ImageJ directory.
Definition at line 129 of file Prefs.java.
|
inlinestatic |
Returns the URL for the ImageJ sample images.
Definition at line 124 of file Prefs.java.
|
inlinestatic |
Finds an int in IJ_Props or IJ_Prefs.txt.
Definition at line 160 of file Prefs.java.
|
inlinestatic |
Finds an string in IJ_Props or IJ_Prefs.txt.
Definition at line 134 of file Prefs.java.
|
inlinestatic |
Finds an string in IJ_Props or IJ_Prefs.txt.
Definition at line 139 of file Prefs.java.
|
inlinestatic |
Finds and loads the ImageJ configuration file, "IJ_Props.txt".
Definition at line 66 of file Prefs.java.
|
inlinestatic |
Saves the value of the string text
in the preferences file using the keyword key
. This string can be retrieved using the appropriate get()
method.
Definition at line 253 of file Prefs.java.
|
inlinestatic |
Saves value
in the preferences file using the keyword key
. This value can be retrieved using the appropriate getPref()
method.
Definition at line 262 of file Prefs.java.
|
inlinestatic |
Saves the boolean variable value
in the preferences file using the keyword key
. This value can be retrieved using the appropriate getPref()
method.
Definition at line 269 of file Prefs.java.
|
static |
Display antialiased text
Definition at line 45 of file Prefs.java.
|
static |
Backgound is black in binary images
Definition at line 51 of file Prefs.java.
|
static |
Use black image border.
Definition at line 55 of file Prefs.java.
|
static |
Display images scaled <100% using bilinear interpolation
Definition at line 47 of file Prefs.java.
|
static |
Open images at 100% magnification
Definition at line 49 of file Prefs.java.
|
static |
file.separator system property
Definition at line 41 of file Prefs.java.
|
static |
Color to grayscale conversion is not weighted if the variable is true.
Definition at line 53 of file Prefs.java.
|
static |
Use pointer cursor instead of cross
Definition at line 43 of file Prefs.java.