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 appers 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, validate
addScreenDockWindowListener, 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, setShowTitle
public 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_LAYER
public int getLayer()
JDesktopPane
.public void setLayer(int layer)
layer
- the new layer, a constant like JLayeredPane.MODAL_LAYER
protected void convertPointToScreen(Point point, Component component)
AbstractScreenDockWindow
point
which is relative to component
to a point on the screen.convertPointToScreen
in class AbstractScreenDockWindow
point
- the point to modifycomponent
- specifies the coordinate systemSwingUtilities.convertPointToScreen(Point, Component)
public void destroy()
ScreenDockWindow
destroy
in interface ScreenDockWindow
destroy
in class AbstractScreenDockWindow
public void toFront()
ScreenDockWindow
public void setPreventFocusStealing(boolean prevent)
ScreenDockWindow
prevent
- whether to attempt to prevent focus stealing