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, JSLFrameOpened
protected JSLFrame toolbarFrame
protected void addInternal(JSLFrame f)
addInternal
in class JSLDesktop
public void updateLookAndFeel()
JSLDesktop
updateLookAndFeel
in class JSLDesktop
public Dimension getSize()
JSLDesktop
getSize
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 JSLFrameClosed(JSLFrameEvent e)
JSLFrameListener
JSLFrameClosed
in interface JSLFrameListener
JSLFrameClosed
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 JFrame getInvisible()
JSLDesktop
getInvisible
in class JSLDesktop
Copyright © 2014. All Rights Reserved.