Class COM.tolstoy.imagemeister.WindowManager
All Packages Class Hierarchy This Package Previous Next Index
Class COM.tolstoy.imagemeister.WindowManager
java.lang.Object
|
+----COM.tolstoy.imagemeister.WindowManager
- public class WindowManager
- extends Object
This singleton is used to place and size windows correctly. You should call the methods of this
class before opening a viewer window.
-
adjustWindowPlacement(Rectangle)
- Moves and resizes the given Rectangle as necessary.
-
adjustWindowSize(Rectangle)
- Sizes the given Rectangle, but does not move it.
adjustWindowPlacement
public static void adjustWindowPlacement(Rectangle r)
- Moves and resizes the given Rectangle as necessary. Windows will be staggered if possible.
adjustWindowSize
public static void adjustWindowSize(Rectangle r)
- Sizes the given Rectangle, but does not move it.
All Packages Class Hierarchy This Package Previous Next Index