public class ScreenDockFrame extends AbstractScreenDockWindow
ScreenDockWindow which uses a JFrame.
The dialog can be used without decorations, in that case the resizing
system of AbstractScreenDockWindow is used.DisplayerScreenDockWindow.Background| Constructor and Description |
|---|
ScreenDockFrame(ScreenDockStation station,
WindowConfiguration configuration,
boolean undecorated)
Creates a new dialog.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Informs this window that it is no longer used by the station
and will never be used again.
|
JFrame |
getFrame()
Gets the frame which represents the window.
|
void |
setPreventFocusStealing(boolean prevent)
Tells this window that it should try not to steal the focus if possible.
|
void |
toFront()
Called when this window should become the focus owner and be shown
at the most prominent location.
|
protected void |
updateTitleIcon()
Called when the icon of the title should be updated.
|
protected void |
updateTitleText()
Called when the text of the title should be updated.
|
checkWindowBounds, checkWindowBoundsAsync, convertPointToScreen, createContent, createTitleMover, getComponent, getDisplayer, getDisplayerParent, getDockableInsets, getTitleIcon, getTitleText, getWindowBounds, getWindowComponent, init, invalidate, isVisible, setBackground, setController, setCursor, setDockable, setPaintCombining, setPaintRemoval, setShape, setTitleIcon, setTitleText, setVisible, setWindowBounds, setWindowBounds, showDisplayer, validateaddScreenDockWindowListener, contains, discardDisplayer, fireFullscreenChanged, fireShapeChanged, fireVisibilityChanged, fireWindowClosing, getConfiguration, getController, getDockable, getDockableDisplayer, getMinimumWindowSize, getNormalBounds, getOffsetDrop, getOffsetMove, getStation, getTitleCenter, inCombineArea, init, inTitleArea, isFullscreen, isMoveOnTitleGrab, isShowTitle, listeners, removeScreenDockWindowListener, setFullscreen, setFullscreenStrategy, setNormalBounds, setShowTitlepublic ScreenDockFrame(ScreenDockStation station, WindowConfiguration configuration, boolean undecorated)
station - the station to which this dialog is responsibleconfiguration - the configuration to apply during creation of this windowundecorated - whether the dialog should suppress the default decorationspublic JFrame getFrame()
public void destroy()
ScreenDockWindowdestroy in interface ScreenDockWindowdestroy in class AbstractScreenDockWindowpublic void toFront()
ScreenDockWindowprotected void updateTitleText()
AbstractScreenDockWindowupdateTitleText in class AbstractScreenDockWindowAbstractScreenDockWindow.getTitleText()public void setPreventFocusStealing(boolean prevent)
ScreenDockWindowprevent - whether to attempt to prevent focus stealingprotected void updateTitleIcon()
AbstractScreenDockWindowupdateTitleIcon in class AbstractScreenDockWindowAbstractScreenDockWindow.getTitleIcon()Copyright © 2017 Docking Frames. All rights reserved.