public class MDIDesktop extends JSLDesktop
JSLDesktop.Factory
frame_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, JSLFrameOpened
protected void addInternal(JSLFrame f)
addInternal
in class JSLDesktop
public void updateLookAndFeel()
JSLDesktop
updateLookAndFeel
in class JSLDesktop
public JFrame getSelectedWindow()
JSLDesktop
owner
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 JSLDesktop
JSLDesktop.getSelectedWindow()
public JSLFrame getSelectedFrame()
JSLDesktop
getSelectedFrame
in class JSLDesktop
public JSLFrame[] getAllJSLFrames()
getAllJSLFrames
in class JSLDesktop
public void FrameActivated(JSLFrame f)
FrameActivated
in class JSLDesktop
public void FrameClosing(JSLFrame f)
FrameClosing
in class JSLDesktop
public void FrameClosed(JSLFrame f)
FrameClosed
in class JSLDesktop
protected Point getDefaultLocation(Dimension frameSize)
getDefaultLocation
in class JSLDesktop
JSLFrame.moveToDefaultLocation()
public Dimension getSize()
JSLDesktop
getSize
in class JSLDesktop
public JFrame getRootFrame()
JSLDesktop
owner
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 JSLDesktop
JSLDesktop.getSelectedWindow()
Copyright © 2014. All Rights Reserved.