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.

Method Index

 o adjustWindowPlacement(Rectangle)
Moves and resizes the given Rectangle as necessary.
 o adjustWindowSize(Rectangle)
Sizes the given Rectangle, but does not move it.

Methods

 o adjustWindowPlacement
  public static void adjustWindowPlacement(Rectangle r)
Moves and resizes the given Rectangle as necessary. Windows will be staggered if possible.
 o 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