com.l2fprod.gui
Class DefaultWindowManager

java.lang.Object
  |
  +--com.l2fprod.gui.WindowManager
        |
        +--com.l2fprod.gui.DefaultWindowManager

public class DefaultWindowManager
extends WindowManager

DefaultWindowManager.
This is an implementation of the WindowManager. It currently implements the basic behaviors for managing SkinWindows.

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

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

Field Detail

SHADE_BOUNDS_PROPERTY

public static final java.lang.String SHADE_BOUNDS_PROPERTY
Description of the Field
Constructor Detail

DefaultWindowManager

public DefaultWindowManager()
Method Detail

setBoundsForWindow

public void setBoundsForWindow(java.awt.Container f,
                               int newX,
                               int newY,
                               int newWidth,
                               int newHeight)
Sets the BoundsForWindow attribute of the DefaultWindowManager object
Overrides:
setBoundsForWindow in class WindowManager
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

openWindow

public void openWindow(SkinWindow f)
Description of the Method
Overrides:
openWindow in class WindowManager
Parameters:
f - Description of Parameter

closeWindow

public void closeWindow(SkinWindow f)
Description of the Method
Overrides:
closeWindow in class WindowManager
Parameters:
f - Description of Parameter

maximizeWindow

public void maximizeWindow(SkinWindow f)
Description of the Method
Overrides:
maximizeWindow in class WindowManager
Parameters:
f - Description of Parameter

minimizeWindow

public void minimizeWindow(SkinWindow f)
Description of the Method
Overrides:
minimizeWindow in class WindowManager
Parameters:
f - Description of Parameter

shadeWindow

public void shadeWindow(SkinWindow w)
Description of the Method
Overrides:
shadeWindow in class WindowManager
Parameters:
w - Description of Parameter

unshadeWindow

public void unshadeWindow(SkinWindow w)
Description of the Method
Overrides:
unshadeWindow in class WindowManager
Parameters:
w - Description of Parameter

iconifyWindow

public void iconifyWindow(SkinWindow f)
Description of the Method
Overrides:
iconifyWindow in class WindowManager
Parameters:
f - Description of Parameter

deiconifyWindow

public void deiconifyWindow(SkinWindow f)
Description of the Method
Overrides:
deiconifyWindow in class WindowManager
Parameters:
f - Description of Parameter

activateWindow

public void activateWindow(SkinWindow f)
Description of the Method
Overrides:
activateWindow in class WindowManager
Parameters:
f - Description of Parameter

deactivateWindow

public void deactivateWindow(SkinWindow f)
Description of the Method
Overrides:
deactivateWindow in class WindowManager
Parameters:
f - Description of Parameter

beginDraggingWindow

public void beginDraggingWindow(SkinWindow w)
Description of the Method
Overrides:
beginDraggingWindow in class WindowManager
Parameters:
w - Description of Parameter

dragWindow

public void dragWindow(SkinWindow w,
                       int newX,
                       int newY)
Description of the Method
Overrides:
dragWindow in class WindowManager
Parameters:
w - Description of Parameter
newX - Description of Parameter
newY - Description of Parameter

endDraggingWindow

public void endDraggingWindow(SkinWindow w)
Description of the Method
Overrides:
endDraggingWindow in class WindowManager
Parameters:
w - Description of Parameter

beginResizingWindow

public void beginResizingWindow(SkinWindow w,
                                int direction)
Description of the Method
Overrides:
beginResizingWindow in class WindowManager
Parameters:
w - Description of Parameter
direction - Description of Parameter

resizeWindow

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

endResizingWindow

public void endResizingWindow(SkinWindow w)
Description of the Method
Overrides:
endResizingWindow in class WindowManager
Parameters:
w - Description of Parameter


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