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
JLFDesktopManager()
-
addToIconizedWindowList(JDesktopIcon)
- This function takes a JDesktopIcon and adds it to the list of iconized windows
it is called by JLFDesktopPaneUI.removeDesktopIcons()
deactivateFrame(JInternalFrame)
-
deiconifyFrame(JInternalFrame)
- replaces the frame in the parent and removed it from the iconizedWindowList
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()
getIconizedWindows()
- returns the list of iconized windows.
iconifyFrame(JInternalFrame)
- Removes the frame from it's parent and stores it for later use.
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
setDesktopUI(JLFDesktopPaneUI)
-
setTheDesktop(Container)
- this function takes the Container which will contain the InternalFrames
this should usually be a JDesktopPane
JLFDesktopManager
public JLFDesktopManager()
iconifyFrame
public void iconifyFrame(JInternalFrame f)
- Removes the frame from it's parent and stores it for later use.
- Overrides:
- iconifyFrame in class DefaultDesktopManager
deiconifyFrame
public void deiconifyFrame(JInternalFrame f)
- replaces the frame in the parent and removed it from the iconizedWindowList
- Overrides:
- deiconifyFrame in class DefaultDesktopManager
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
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
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()
setTheDesktop
public void setTheDesktop(Container c)
- this function takes the Container which will contain the InternalFrames
this should usually be a JDesktopPane
setDesktopUI
public void setDesktopUI(JLFDesktopPaneUI ui)
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
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