com.l2fprod.gui
Class WindowManager

java.lang.Object
  |
  +--com.l2fprod.gui.WindowManager
Direct Known Subclasses:
DefaultWindowManager

public abstract class WindowManager
extends java.lang.Object

WindowManager.
WindowManager is responsible for implementing L&F specific behaviors for the system. SkinWindow implementations should delegate specific behaviors to the WindowManager. For instance, if a WindowManager was asked to iconify, it should try:

      WindowManager.getWindowManager().iconifyWindow(window);
 




Created on 27/05/2000 by Frederic Lavigne, fred@L2FProd.com

Version:
$Revision: 1.3 $, $Date: 2002/04/27 11:45:57 $

Constructor Summary
WindowManager()
           
 
Method Summary
abstract  void activateWindow(SkinWindow w)
          Description of the Method
abstract  void beginDraggingWindow(SkinWindow w)
          Description of the Method
abstract  void beginResizingWindow(SkinWindow w, int direction)
          Description of the Method
abstract  void closeWindow(SkinWindow w)
          Description of the Method
abstract  void deactivateWindow(SkinWindow w)
          Description of the Method
abstract  void deiconifyWindow(SkinWindow w)
          Description of the Method
abstract  void dragWindow(SkinWindow w, int newX, int newY)
          Description of the Method
abstract  void endDraggingWindow(SkinWindow w)
          Description of the Method
abstract  void endResizingWindow(SkinWindow w)
          Description of the Method
static WindowManager getWindowManager()
          Gets the WindowManager attribute of the WindowManager class
abstract  void iconifyWindow(SkinWindow w)
          Description of the Method
abstract  void maximizeWindow(SkinWindow w)
          Description of the Method
abstract  void minimizeWindow(SkinWindow w)
          Description of the Method
abstract  void openWindow(SkinWindow w)
          Description of the Method
abstract  void resizeWindow(SkinWindow w, int newX, int newY, int newWidth, int newHeight)
          Description of the Method
abstract  void setBoundsForWindow(java.awt.Container f, int newX, int newY, int newWidth, int newHeight)
          Sets the BoundsForWindow attribute of the WindowManager object
static void setWindowManager(WindowManager newManager)
          Sets the WindowManager attribute of the WindowManager class
abstract  void shadeWindow(SkinWindow w)
          Description of the Method
abstract  void unshadeWindow(SkinWindow w)
          Description of the Method
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowManager

public WindowManager()
Method Detail

setBoundsForWindow

public abstract void setBoundsForWindow(java.awt.Container f,
                                        int newX,
                                        int newY,
                                        int newWidth,
                                        int newHeight)
Sets the BoundsForWindow attribute of the WindowManager object
Parameters:
f - The new BoundsForWindow value
newX - The new BoundsForWindow value
newY - The new BoundsForWindow value
newWidth - The new BoundsForWindow value
newHeight - The new BoundsForWindow value

activateWindow

public abstract void activateWindow(SkinWindow w)
Description of the Method
Parameters:
w - Description of Parameter

deactivateWindow

public abstract void deactivateWindow(SkinWindow w)
Description of the Method
Parameters:
w - Description of Parameter

openWindow

public abstract void openWindow(SkinWindow w)
Description of the Method
Parameters:
w - Description of Parameter

closeWindow

public abstract void closeWindow(SkinWindow w)
Description of the Method
Parameters:
w - Description of Parameter

iconifyWindow

public abstract void iconifyWindow(SkinWindow w)
Description of the Method
Parameters:
w - Description of Parameter

deiconifyWindow

public abstract void deiconifyWindow(SkinWindow w)
Description of the Method
Parameters:
w - Description of Parameter

maximizeWindow

public abstract void maximizeWindow(SkinWindow w)
Description of the Method
Parameters:
w - Description of Parameter

minimizeWindow

public abstract void minimizeWindow(SkinWindow w)
Description of the Method
Parameters:
w - Description of Parameter

shadeWindow

public abstract void shadeWindow(SkinWindow w)
Description of the Method
Parameters:
w - Description of Parameter

unshadeWindow

public abstract void unshadeWindow(SkinWindow w)
Description of the Method
Parameters:
w - Description of Parameter

beginDraggingWindow

public abstract void beginDraggingWindow(SkinWindow w)
Description of the Method
Parameters:
w - Description of Parameter

dragWindow

public abstract void dragWindow(SkinWindow w,
                                int newX,
                                int newY)
Description of the Method
Parameters:
w - Description of Parameter
newX - Description of Parameter
newY - Description of Parameter

endDraggingWindow

public abstract void endDraggingWindow(SkinWindow w)
Description of the Method
Parameters:
w - Description of Parameter

beginResizingWindow

public abstract void beginResizingWindow(SkinWindow w,
                                         int direction)
Description of the Method
Parameters:
w - Description of Parameter
direction - Description of Parameter

resizeWindow

public abstract void resizeWindow(SkinWindow w,
                                  int newX,
                                  int newY,
                                  int newWidth,
                                  int newHeight)
Description of the Method
Parameters:
w - Description of Parameter
newX - Description of Parameter
newY - Description of Parameter
newWidth - Description of Parameter
newHeight - Description of Parameter

endResizingWindow

public abstract void endResizingWindow(SkinWindow w)
Description of the Method
Parameters:
w - Description of Parameter

setWindowManager

public static void setWindowManager(WindowManager newManager)
Sets the WindowManager attribute of the WindowManager class
Parameters:
newManager - The new WindowManager value

getWindowManager

public static WindowManager getWindowManager()
Gets the WindowManager attribute of the WindowManager class
Returns:
The WindowManager value


Copyright © 2000-2002 L2FProd.com. All Rights Reserved.