org.jscroll.widgets
Class JScrollDesktopManager

java.lang.Object
  |
  +--javax.swing.DefaultDesktopManager
        |
        +--org.jscroll.widgets.JScrollDesktopManager
All Implemented Interfaces:
DesktopManager, Serializable

public class JScrollDesktopManager
extends DefaultDesktopManager

This class provides a custom desktop manager for RootDesktopPane.

Version:
1.0 9-Aug-2001
Author:
Tom Tessier
See Also:
Serialized Form

Constructor Summary
JScrollDesktopManager(RootDesktopPane desktopPane)
          creates the JScrollDesktopManager
 
Method Summary
 void activateFrame(JInternalFrame f)
          insures that the associated toolbar and menu buttons of the internal frame are activated as well
 void closeFrame(JInternalFrame f)
          closes the internal frame and removes any associated button and menu components
 void maximizeFrame(JInternalFrame f)
          maximizes the internal frame to the viewport bounds rather than the desktop bounds
 
Methods inherited from class javax.swing.DefaultDesktopManager
beginDraggingFrame, beginResizingFrame, deactivateFrame, deiconifyFrame, dragFrame, endDraggingFrame, endResizingFrame, getBoundsForIconOf, getPreviousBounds, iconifyFrame, minimizeFrame, openFrame, removeIconFor, resizeFrame, setBoundsForFrame, setPreviousBounds, setWasIcon, wasIcon
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JScrollDesktopManager

public JScrollDesktopManager(RootDesktopPane desktopPane)
creates the JScrollDesktopManager

Parameters:
desktopPane - a reference to RootDesktopPane
Method Detail

maximizeFrame

public void maximizeFrame(JInternalFrame f)
maximizes the internal frame to the viewport bounds rather than the desktop bounds

Specified by:
maximizeFrame in interface DesktopManager
Overrides:
maximizeFrame in class DefaultDesktopManager
Parameters:
f - the internal frame being maximized

activateFrame

public void activateFrame(JInternalFrame f)
insures that the associated toolbar and menu buttons of the internal frame are activated as well

Specified by:
activateFrame in interface DesktopManager
Overrides:
activateFrame in class DefaultDesktopManager
Parameters:
f - the internal frame being activated

closeFrame

public void closeFrame(JInternalFrame f)
closes the internal frame and removes any associated button and menu components

Specified by:
closeFrame in interface DesktopManager
Overrides:
closeFrame in class DefaultDesktopManager
Parameters:
f - the internal frame being closed


Copyright © 2001-2003 JScroll.org. All Rights Reserved.