|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.DefaultDesktopManager | +--org.jscroll.widgets.JScrollDesktopManager
This class provides a custom desktop manager for
RootDesktopPane
.
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 |
public JScrollDesktopManager(RootDesktopPane desktopPane)
desktopPane
- a reference to RootDesktopPaneMethod Detail |
public void maximizeFrame(JInternalFrame f)
maximizeFrame
in interface DesktopManager
maximizeFrame
in class DefaultDesktopManager
f
- the internal frame being maximizedpublic void activateFrame(JInternalFrame f)
activateFrame
in interface DesktopManager
activateFrame
in class DefaultDesktopManager
f
- the internal frame being activatedpublic void closeFrame(JInternalFrame f)
closeFrame
in interface DesktopManager
closeFrame
in class DefaultDesktopManager
f
- the internal frame being closed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |