Main Page Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix ] Distribution Issues

    All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.tolstoy.imagemeister.WindowManager

    java.lang.Object
       |
       +----com.tolstoy.imagemeister.WindowManager

Summary

    public class  WindowManager
         extends java.lang.Object
    {
              // Fields 5
         private static final String copyright;
         private static int curX;
         private static int curY;
         private static final int kStartX;
         private static final int kStartY;

              // Constructors 1
         private WindowManager();

              // Methods 2
         public static void adjustWindowPlacement(Rectangle);
         public static void adjustWindowSize(Rectangle);

    }

This singleton is used to place and size windows correctly. You should call the methods of this class before opening a viewer window.

Author:
  Copyright (c) 1997,1998,1999,2000 Samizdat Productions. All Rights Reserved.

Fields

### · copyright | Summary | Top

       private static final String copyright

### · kStartX | Summary | Top

       private static final int kStartX

### · kStartY | Summary | Top

       private static final int kStartY

### · curX | Summary | Top

       private static int curX

### · curY | Summary | Top

       private static int curY

Constructors

### · WindowManager | Summary | Top

       private WindowManager()

Methods

### · adjustWindowPlacement | Summary | Top

       public static void adjustWindowPlacement(Rectangle r)

> Moves and resizes the given Rectangle as necessary. Windows will be staggered if possible. Not yet implemented.

### · adjustWindowSize | Summary | Top

       public static void adjustWindowSize(Rectangle r)

> Sizes the given Rectangle, but does not move it. Not yet implemented.

    All Packages  This Package  Class Hierarchy  Class Search  Index

Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7