org.sape.carbon.services.console
Class MDIDesktopManager

java.lang.Object
  |
  +--javax.swing.DefaultDesktopManager
        |
        +--org.sape.carbon.services.console.MDIDesktopManager
All Implemented Interfaces:
DesktopManager, Serializable

class MDIDesktopManager
extends DefaultDesktopManager

Private class used to replace the standard DesktopManager for JDesktopPane. Used to provide scrollbar functionality.


Field Summary
private  MDIDesktopPane desktop
           
 
Fields inherited from class javax.swing.DefaultDesktopManager
 
Constructor Summary
MDIDesktopManager(MDIDesktopPane desktop)
           
 
Method Summary
 void endDraggingFrame(JComponent f)
           
 void endResizingFrame(JComponent f)
           
private  JScrollPane getScrollPane()
           
private  Insets getScrollPaneInsets()
           
protected  void resizeDesktop()
           
 void setNormalSize()
           
 
Methods inherited from class javax.swing.DefaultDesktopManager
activateFrame, beginDraggingFrame, beginResizingFrame, closeFrame, deactivateFrame, deiconifyFrame, dragFrame, getBoundsForIconOf, getPreviousBounds, iconifyFrame, maximizeFrame, 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
 

Field Detail

desktop

private MDIDesktopPane desktop
Constructor Detail

MDIDesktopManager

public MDIDesktopManager(MDIDesktopPane desktop)
Method Detail

endResizingFrame

public void endResizingFrame(JComponent f)
Specified by:
endResizingFrame in interface DesktopManager
Overrides:
endResizingFrame in class DefaultDesktopManager

endDraggingFrame

public void endDraggingFrame(JComponent f)
Specified by:
endDraggingFrame in interface DesktopManager
Overrides:
endDraggingFrame in class DefaultDesktopManager

setNormalSize

public void setNormalSize()

getScrollPaneInsets

private Insets getScrollPaneInsets()

getScrollPane

private JScrollPane getScrollPane()

resizeDesktop

protected void resizeDesktop()


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.