public class SDIDesktop extends JSLDesktop
JSLDesktop.Factory| Modifier and Type | Field and Description |
|---|---|
protected JSLFrame |
toolbarFrame |
frame_count, in_fake_activation, windows, xdecoration, ydecoration| Constructor and Description |
|---|
SDIDesktop(boolean invisible,
String title,
JMenuBar menuBar,
JToolBar toolBar,
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 |
getInvisible()
Returns invisible window.
|
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 |
JSLFrameClosed(JSLFrameEvent e)
Invoked when an internal frame has been closed.
|
void |
updateLookAndFeel()
Notification from the UIManager that the L&F has changed.
|
add, closingProc, getAppConfig, getDefaultLoationInternal, getJSLFrameIterator, getRootFrame, isReadyToExit, JSLFrameActivated, JSLFrameClosing, JSLFrameDeactivated, JSLFrameDeiconified, JSLFrameIconified, JSLFrameOpenedprotected JSLFrame toolbarFrame
protected void addInternal(JSLFrame f)
addInternal in class JSLDesktoppublic void updateLookAndFeel()
JSLDesktopupdateLookAndFeel in class JSLDesktoppublic Dimension getSize()
JSLDesktopgetSize 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 JSLFrameClosed(JSLFrameEvent e)
JSLFrameListenerJSLFrameClosed in interface JSLFrameListenerJSLFrameClosed 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 JFrame getInvisible()
JSLDesktopgetInvisible in class JSLDesktopCopyright © 2014. All Rights Reserved.