public final class WindowTools
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
WindowTools() |
Modifier and Type | Method and Description |
---|---|
static void |
addScrollBars(java.awt.Container pane)
Adds AWT scroll bars to the given container.
|
static java.util.List<java.awt.Checkbox> |
getCheckboxes(ij.gui.GenericDialog gd) |
static java.util.List<java.awt.Choice> |
getChoices(ij.gui.GenericDialog gd) |
static java.util.List<java.awt.TextField> |
getNumericFields(ij.gui.GenericDialog gd) |
static void |
placeWindow(java.awt.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(java.lang.Throwable t)
Reports the given exception with stack trace in an ImageJ error dialog.
|
static void |
reportException(java.lang.Throwable t,
boolean quiet)
Reports the given exception with stack trace in an ImageJ error dialog.
|
static void |
reportException(java.lang.Throwable t,
boolean quiet,
java.lang.String msg)
Reports the given exception with stack trace in an ImageJ error dialog.
|
public static void addScrollBars(java.awt.Container pane)
public static void placeWindow(java.awt.Window w)
public static void reportException(java.lang.Throwable t)
public static void reportException(java.lang.Throwable t, boolean quiet)
public static void reportException(java.lang.Throwable t, boolean quiet, java.lang.String msg)
public static java.util.List<java.awt.TextField> getNumericFields(ij.gui.GenericDialog gd)
public static java.util.List<java.awt.Checkbox> getCheckboxes(ij.gui.GenericDialog gd)
public static java.util.List<java.awt.Choice> getChoices(ij.gui.GenericDialog gd)
Copyright © 2020 Open Microscopy Environment