com.sibvisions.rad.ui.swing.ext
Class JVxDesktopManager

java.lang.Object
  extended by javax.swing.DefaultDesktopManager
      extended by com.sibvisions.rad.ui.swing.ext.JVxDesktopManager
All Implemented Interfaces:
Serializable, DesktopManager

public class JVxDesktopManager
extends DefaultDesktopManager

This class extends the DefaultDesktopManager to follow the MDI model more than the DefaultDesktopManager. Unlike the DefaultDesktopManager policy, MDI requires that the selected and activated child frames are the same, and that that frame always be the top-most window.

The maximized state is managed by the DesktopManager with MDI, instead of just being a property of the individual child frame. This means that if the currently selected window is maximized and another window is selected, that new window will be maximized.

See Also:
DefaultDesktopManager, Serialized Form

Constructor Summary
JVxDesktopManager()
           
 
Method Summary
 void activateFrame(JInternalFrame pFrame)
          
 void closeFrame(JInternalFrame pFrame)
          
 
Methods inherited from class javax.swing.DefaultDesktopManager
beginDraggingFrame, beginResizingFrame, deactivateFrame, deiconifyFrame, dragFrame, endDraggingFrame, endResizingFrame, 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
 

Constructor Detail

JVxDesktopManager

public JVxDesktopManager()
Method Detail

activateFrame

public void activateFrame(JInternalFrame pFrame)

Specified by:
activateFrame in interface DesktopManager
Overrides:
activateFrame in class DefaultDesktopManager

closeFrame

public void closeFrame(JInternalFrame pFrame)

Specified by:
closeFrame in interface DesktopManager
Overrides:
closeFrame in class DefaultDesktopManager


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.