public class MDIDesktop extends JSLDesktop
JSLDesktop.Factoryframe_count, in_fake_activation, windows, xdecoration, ydecoration| Constructor and Description |
|---|
MDIDesktop(String title,
JMenuBar mb,
JToolBar tb,
Action exitAction) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInternal(JSLFrame f) |
void |
FrameActivated(JSLFrame f) |
void |
FrameClosed(JSLFrame f) |
void |
FrameClosing(JSLFrame f) |
JSLFrame[] |
getAllJSLFrames() |
protected Point |
getDefaultLocation(Dimension frameSize) |
JFrame |
getRootFrame()
Returns the root JFrame for the
owner parameter for
JDialog constructor to show a dialog window in the center of
screen. |
JSLFrame |
getSelectedFrame()
Returns the currently active JSLFrame, or last active JSLFrame if no
JSLFrame is currently active, or null if any JSLFrame has never been
activated.
|
JFrame |
getSelectedWindow()
Returns the current active JFrame.
|
Dimension |
getSize()
Returns the size of this component in the form of a Dimension object.
|
void |
updateLookAndFeel()
Notification from the UIManager that the L&F has changed.
|
add, closingProc, getAppConfig, getDefaultLoationInternal, getInvisible, getJSLFrameIterator, isReadyToExit, JSLFrameActivated, JSLFrameClosed, JSLFrameClosing, JSLFrameDeactivated, JSLFrameDeiconified, JSLFrameIconified, JSLFrameOpenedprotected void addInternal(JSLFrame f)
addInternal in class JSLDesktoppublic void updateLookAndFeel()
JSLDesktopupdateLookAndFeel in class JSLDesktoppublic JFrame getSelectedWindow()
JSLDesktopowner
parameter for JDialog constructor. In MDI mode returns the
root JFrame created. In SDI mode returns the current active JFrame (may
be the Toolbar frame).getSelectedWindow in class JSLDesktopJSLDesktop.getSelectedWindow()public JSLFrame getSelectedFrame()
JSLDesktopgetSelectedFrame in class JSLDesktoppublic JSLFrame[] getAllJSLFrames()
getAllJSLFrames in class JSLDesktoppublic void FrameActivated(JSLFrame f)
FrameActivated in class JSLDesktoppublic void FrameClosing(JSLFrame f)
FrameClosing in class JSLDesktoppublic void FrameClosed(JSLFrame f)
FrameClosed in class JSLDesktopprotected Point getDefaultLocation(Dimension frameSize)
getDefaultLocation in class JSLDesktopJSLFrame.moveToDefaultLocation()public Dimension getSize()
JSLDesktopgetSize in class JSLDesktoppublic JFrame getRootFrame()
JSLDesktopowner parameter for
JDialog constructor to show a dialog window in the center of
screen. In MDI mode returns the root JFrame created. In SDI mode returns
null.getRootFrame in class JSLDesktopJSLDesktop.getSelectedWindow()Copyright © 2014. All Rights Reserved.