All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class java.awt.swing.jlf.JLFDesktopManager

java.lang.Object
    |
    +----java.awt.swing.DefaultDesktopManager
            |
            +----java.awt.swing.jlf.JLFDesktopManager

public class JLFDesktopManager
extends DefaultDesktopManager
This is an extension of the DefaultDesktopManager. It helps implement the JLF desktop management scheme. It is mostly concerned with iconization and deiconization of internal frames

See Also:
DefaultDesktopManager, JLFDesktopPaneUI, JLFDesktopMenu

Constructor Index

 o JLFDesktopManager()

Method Index

 o addToIconizedWindowList(JDesktopIcon)
This function takes a JDesktopIcon and adds it to the list of iconized windows it is called by JLFDesktopPaneUI.removeDesktopIcons()
 o deactivateFrame(JInternalFrame)
 o deiconifyFrame(JInternalFrame)
replaces the frame in the parent and removed it from the iconizedWindowList
 o getBoundsForIconOf(JInternalFrame)
this is an override of a function from BasicDesktopManager it works around a bug in the current implementation this may be removed later, but we might still want to keep our own this function is called by JLFDesktopManager.replaceIcon()
 o getIconizedWindows()
returns the list of iconized windows.
 o iconifyFrame(JInternalFrame)
Removes the frame from it's parent and stores it for later use.
 o replaceDesktopIcon(JDesktopIcon)
this function puts a DesktopIcon back into the frame this function is used when switching from JLF to another Look & Feel it is called by JLFDesktopPaneUI.replaceDesktopIcons
 o setDesktopUI(JLFDesktopPaneUI)
 o setTheDesktop(Container)
this function takes the Container which will contain the InternalFrames this should usually be a JDesktopPane

Constructors

 o JLFDesktopManager
public JLFDesktopManager()

Methods

 o iconifyFrame
public void iconifyFrame(JInternalFrame f)
Removes the frame from it's parent and stores it for later use.

Overrides:
iconifyFrame in class DefaultDesktopManager
 o deiconifyFrame
public void deiconifyFrame(JInternalFrame f)
replaces the frame in the parent and removed it from the iconizedWindowList

Overrides:
deiconifyFrame in class DefaultDesktopManager
 o replaceDesktopIcon
protected void replaceDesktopIcon(JDesktopIcon icon)
this function puts a DesktopIcon back into the frame this function is used when switching from JLF to another Look & Feel it is called by JLFDesktopPaneUI.replaceDesktopIcons

 o getIconizedWindows
public Vector getIconizedWindows()
returns the list of iconized windows. in JLF these windows will appear in the small menu in the top-right corner

 o addToIconizedWindowList
public void addToIconizedWindowList(JDesktopIcon icon)
This function takes a JDesktopIcon and adds it to the list of iconized windows it is called by JLFDesktopPaneUI.removeDesktopIcons()

 o setTheDesktop
public void setTheDesktop(Container c)
this function takes the Container which will contain the InternalFrames this should usually be a JDesktopPane

 o setDesktopUI
public void setDesktopUI(JLFDesktopPaneUI ui)
 o getBoundsForIconOf
protected Rectangle getBoundsForIconOf(JInternalFrame f)
this is an override of a function from BasicDesktopManager it works around a bug in the current implementation this may be removed later, but we might still want to keep our own this function is called by JLFDesktopManager.replaceIcon()

Overrides:
getBoundsForIconOf in class DefaultDesktopManager
 o deactivateFrame
public void deactivateFrame(JInternalFrame f)
Overrides:
deactivateFrame in class DefaultDesktopManager

All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Submit a bug or feature