- MostRecentlyUsedOrderDesktopManager
-
- All Implemented Interfaces and Traits:
- javax.swing.DesktopManager
public class MostRecentlyUsedOrderDesktopManager
A DesktopManager managing the internal frames in Desktop using a Most-Recently-Used order when changing
the active internal frame. A Deque (a stack-like data structure) is used to keep track of frames.
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.
At anytime, there is one frame selected (unless there are no (open) frames at all) and that frame is the top of
stack.
-
-
Methods Summary
Methods
Type Params |
Return Type |
Name and description |
|
void |
activateFrame(javax.swing.JInternalFrame f)
|
|
void |
beginDraggingFrame(javax.swing.JComponent f)
|
|
void |
beginResizingFrame(javax.swing.JComponent f, int direction)
|
|
void |
closeFrame(javax.swing.JInternalFrame f)
|
|
void |
deactivateFrame(javax.swing.JInternalFrame f)
|
|
void |
deiconifyFrame(javax.swing.JInternalFrame f)
|
|
void |
dragFrame(javax.swing.JComponent f, int newX, int newY)
|
|
void |
endDraggingFrame(javax.swing.JComponent f)
|
|
void |
endResizingFrame(javax.swing.JComponent f)
|
|
void |
iconifyFrame(javax.swing.JInternalFrame f)
|
|
void |
maximizeFrame(javax.swing.JInternalFrame f)
|
|
void |
minimizeFrame(javax.swing.JInternalFrame f)
|
|
void |
openFrame(javax.swing.JInternalFrame f)
|
|
void |
resizeFrame(javax.swing.JComponent f, int newX, int newY, int newWidth, int newHeight)
|
|
void |
setBoundsForFrame(javax.swing.JComponent f, int newX, int newY, int newWidth, int newHeight)
|
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
-
-
Constructor Detail
-
public MostRecentlyUsedOrderDesktopManager(javax.swing.DesktopManager delegate)
-
Method Detail
-
@java.lang.Override
public void activateFrame(javax.swing.JInternalFrame f)
-
@java.lang.Override
public void beginDraggingFrame(javax.swing.JComponent f)
-
@java.lang.Override
public void beginResizingFrame(javax.swing.JComponent f, int direction)
-
@java.lang.Override
public void closeFrame(javax.swing.JInternalFrame f)
-
@java.lang.Override
public void deactivateFrame(javax.swing.JInternalFrame f)
-
@java.lang.Override
public void deiconifyFrame(javax.swing.JInternalFrame f)
-
@java.lang.Override
public void dragFrame(javax.swing.JComponent f, int newX, int newY)
-
@java.lang.Override
public void endDraggingFrame(javax.swing.JComponent f)
-
@java.lang.Override
public void endResizingFrame(javax.swing.JComponent f)
-
@java.lang.Override
public void iconifyFrame(javax.swing.JInternalFrame f)
-
@java.lang.Override
public void maximizeFrame(javax.swing.JInternalFrame f)
-
@java.lang.Override
public void minimizeFrame(javax.swing.JInternalFrame f)
-
@java.lang.Override
public void openFrame(javax.swing.JInternalFrame f)
-
@java.lang.Override
public void resizeFrame(javax.swing.JComponent f, int newX, int newY, int newWidth, int newHeight)
-
@java.lang.Override
public void setBoundsForFrame(javax.swing.JComponent f, int newX, int newY, int newWidth, int newHeight)
ReadyAPI functional (soapui) SDK 3.20.1