public class MostRecentlyUsedOrderDesktopManager extends Object implements DesktopManager
activateFrame(JInternalFrame) puts the frame at top of stack : if frame was already present
 in stack, remove it then add it at top, otherwise, add it at top.deactivateFrame(JInternalFrame) is a noop on the stack, delegate to superclass.closeFrame(JInternalFrame) removes frame from the stack and selects the frame at top of stack.iconifyFrame(JInternalFrame> is like closeFrame as far as this manager is concerned,
 but with iconifyFrame on superclass called.deiconifyFrame delegates to superclass to bring back the frame on desktop, puts it at top of stack
 and makes sure it is selected.| Constructor and Description | 
|---|
| MostRecentlyUsedOrderDesktopManager(DesktopManager delegate) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | activateFrame(JInternalFrame f) | 
| void | beginDraggingFrame(JComponent f) | 
| void | beginResizingFrame(JComponent f,
                  int direction) | 
| void | closeFrame(JInternalFrame f) | 
| void | deactivateFrame(JInternalFrame f) | 
| void | deiconifyFrame(JInternalFrame f) | 
| void | dragFrame(JComponent f,
         int newX,
         int newY) | 
| void | endDraggingFrame(JComponent f) | 
| void | endResizingFrame(JComponent f) | 
| void | iconifyFrame(JInternalFrame f) | 
| void | maximizeFrame(JInternalFrame f) | 
| void | minimizeFrame(JInternalFrame f) | 
| void | openFrame(JInternalFrame f) | 
| void | resizeFrame(JComponent f,
           int newX,
           int newY,
           int newWidth,
           int newHeight) | 
| protected void | selectTopFrame(JInternalFrame previousTopFrame) | 
| void | setBoundsForFrame(JComponent f,
                 int newX,
                 int newY,
                 int newWidth,
                 int newHeight) | 
public MostRecentlyUsedOrderDesktopManager(DesktopManager delegate)
public void activateFrame(JInternalFrame f)
activateFrame in interface DesktopManagerpublic void beginDraggingFrame(JComponent f)
beginDraggingFrame in interface DesktopManagerpublic void beginResizingFrame(JComponent f, int direction)
beginResizingFrame in interface DesktopManagerpublic void deactivateFrame(JInternalFrame f)
deactivateFrame in interface DesktopManagerpublic void closeFrame(JInternalFrame f)
closeFrame in interface DesktopManagerpublic void iconifyFrame(JInternalFrame f)
iconifyFrame in interface DesktopManagerpublic void maximizeFrame(JInternalFrame f)
maximizeFrame in interface DesktopManagerpublic void minimizeFrame(JInternalFrame f)
minimizeFrame in interface DesktopManagerpublic void openFrame(JInternalFrame f)
openFrame in interface DesktopManagerpublic void resizeFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
resizeFrame in interface DesktopManagerpublic void setBoundsForFrame(JComponent f, int newX, int newY, int newWidth, int newHeight)
setBoundsForFrame in interface DesktopManagerpublic void deiconifyFrame(JInternalFrame f)
deiconifyFrame in interface DesktopManagerpublic void dragFrame(JComponent f, int newX, int newY)
dragFrame in interface DesktopManagerpublic void endDraggingFrame(JComponent f)
endDraggingFrame in interface DesktopManagerpublic void endResizingFrame(JComponent f)
endResizingFrame in interface DesktopManagerprotected void selectTopFrame(JInternalFrame previousTopFrame)
Copyright © 2019. All Rights Reserved.