public class InternalDockDialog extends AbstractScreenDockWindow
ScreenDockWindow that has a JDesktopPane as parent.DisplayerScreenDockWindow.Background| Constructor and Description |
|---|
InternalDockDialog(ScreenDockStation station,
WindowConfiguration configuration,
JDesktopPane desktop)
Creates the new dialog
|
InternalDockDialog(ScreenDockStation station,
WindowConfiguration configuration,
JDesktopPane desktop,
int layer)
Creates the new dialog
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
convertPointToScreen(Point point,
Component component)
Converts
point which is relative to component to a point on the screen. |
void |
destroy()
Informs this window that it is no longer used by the station
and will never be used again.
|
int |
getLayer()
Gets the layer at which this dialog appears in its parent
JDesktopPane. |
void |
setLayer(int layer)
Sets the layer at which this dialog appears.
|
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.
|
checkWindowBounds, checkWindowBoundsAsync, 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, updateTitleIcon, updateTitleText, 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 InternalDockDialog(ScreenDockStation station, WindowConfiguration configuration, JDesktopPane desktop)
station - the owner of this dialogconfiguration - the configuration to apply during creation of this windowdesktop - the parent of this dialogpublic InternalDockDialog(ScreenDockStation station, WindowConfiguration configuration, JDesktopPane desktop, int layer)
station - the owner of this dialogconfiguration - the configuration to apply during creation of this windowdesktop - the parent of this dialoglayer - the layer in which to show this dialog, a constant like JLayeredPane.MODAL_LAYERpublic int getLayer()
JDesktopPane.public void setLayer(int layer)
layer - the new layer, a constant like JLayeredPane.MODAL_LAYERprotected void convertPointToScreen(Point point, Component component)
AbstractScreenDockWindowpoint which is relative to component to a point on the screen.convertPointToScreen in class AbstractScreenDockWindowpoint - the point to modifycomponent - specifies the coordinate systemSwingUtilities.convertPointToScreen(Point, Component)public void destroy()
ScreenDockWindowdestroy in interface ScreenDockWindowdestroy in class AbstractScreenDockWindowpublic void toFront()
ScreenDockWindowpublic void setPreventFocusStealing(boolean prevent)
ScreenDockWindowprevent - whether to attempt to prevent focus stealingCopyright © 2017 Docking Frames. All rights reserved.