Package loci.plugins.util
Class WindowTools
java.lang.Object
loci.plugins.util.WindowTools
Utility methods for managing ImageJ dialogs and windows.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddScrollBars(Container pane) Adds AWT scroll bars to the given container.getCheckboxes(ij.gui.GenericDialog gd) getChoices(ij.gui.GenericDialog gd) getNumericFields(ij.gui.GenericDialog gd) static voidPlaces 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 voidReports the given exception with stack trace in an ImageJ error dialog.static voidreportException(Throwable t, boolean quiet) Reports the given exception with stack trace in an ImageJ error dialog.static voidreportException(Throwable t, boolean quiet, String msg) Reports the given exception with stack trace in an ImageJ error dialog.
-
Constructor Details
-
WindowTools
private WindowTools()
-
-
Method Details
-
addScrollBars
Adds AWT scroll bars to the given container. -
placeWindow
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. -
reportException
Reports the given exception with stack trace in an ImageJ error dialog. -
reportException
Reports the given exception with stack trace in an ImageJ error dialog. -
reportException
Reports the given exception with stack trace in an ImageJ error dialog. -
getNumericFields
-
getCheckboxes
-
getChoices
-