public final class WindowTools extends Object
Modifier | Constructor and Description |
---|---|
private |
WindowTools() |
Modifier and Type | Method and Description |
---|---|
static void |
addScrollBars(Container pane)
Adds AWT scroll bars to the given container.
|
static List<Checkbox> |
getCheckboxes(ij.gui.GenericDialog gd) |
static List<Choice> |
getChoices(ij.gui.GenericDialog gd) |
static List<TextField> |
getNumericFields(ij.gui.GenericDialog gd) |
static void |
placeWindow(Window w)
Places the given window at a nice location on screen, either centered
below the ImageJ window if there is one, or else centered on screen.
|
static void |
reportException(Throwable t)
Reports the given exception with stack trace in an ImageJ error dialog.
|
static void |
reportException(Throwable t,
boolean quiet)
Reports the given exception with stack trace in an ImageJ error dialog.
|
static void |
reportException(Throwable t,
boolean quiet,
String msg)
Reports the given exception with stack trace in an ImageJ error dialog.
|
public static void addScrollBars(Container pane)
public static void placeWindow(Window w)
public static void reportException(Throwable t)
public static void reportException(Throwable t, boolean quiet)
public static void reportException(Throwable t, boolean quiet, String msg)
Copyright © 2016 Open Microscopy Environment