Package ij.gui
Class GUI
- java.lang.Object
-
- ij.gui.GUI
-
public class GUI extends java.lang.ObjectThis class consists of static GUI utility methods.
-
-
Constructor Summary
Constructors Constructor Description GUI()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcenter(java.awt.Window win)Positions the specified window in the center of the screen.static java.awt.ImagecreateBlankImage(int width, int height)Creates a white AWT Image image of the specified size.static voidfix(java.awt.Scrollbar sb)Lightens overly dark scrollbar background on Windows 8.static java.awt.RectanglegetMaxWindowBounds()static java.awt.RectanglegetUnionOfBounds()static java.awt.RectanglegetZeroBasedMaxBounds()static booleanshowCompositeAdvisory(ImagePlus imp, java.lang.String title)
-
-
-
Method Detail
-
center
public static void center(java.awt.Window win)
Positions the specified window in the center of the screen.
-
getMaxWindowBounds
public static java.awt.Rectangle getMaxWindowBounds()
-
getZeroBasedMaxBounds
public static java.awt.Rectangle getZeroBasedMaxBounds()
-
getUnionOfBounds
public static java.awt.Rectangle getUnionOfBounds()
-
createBlankImage
public static java.awt.Image createBlankImage(int width, int height)Creates a white AWT Image image of the specified size.
-
fix
public static void fix(java.awt.Scrollbar sb)
Lightens overly dark scrollbar background on Windows 8.
-
showCompositeAdvisory
public static boolean showCompositeAdvisory(ImagePlus imp, java.lang.String title)
-
-