public final class WindowTools
extends java.lang.Object
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(GenericDialog gd) |
static java.util.List<java.awt.Choice> |
getChoices(GenericDialog gd) |
static java.util.List<java.awt.TextField> |
getNumericFields(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(GenericDialog gd)
public static java.util.List<java.awt.Checkbox> getCheckboxes(GenericDialog gd)
public static java.util.List<java.awt.Choice> getChoices(GenericDialog gd)
Copyright © 2014 Open Microscopy Environment