|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.screen.window.DisplayerScreenDockWindow bibliothek.gui.dock.station.screen.window.AbstractScreenDockWindow bibliothek.gui.dock.station.screen.window.ScreenDockDialog
public class ScreenDockDialog
An implementation of ScreenDockWindow
which uses a JDialog
.
The dialog can be used without decorations, in that case the resizing
system of AbstractScreenDockWindow
is used.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class bibliothek.gui.dock.station.screen.window.DisplayerScreenDockWindow |
---|
DisplayerScreenDockWindow.Background |
Constructor Summary | |
---|---|
ScreenDockDialog(ScreenDockStation station,
WindowConfiguration configuration,
boolean undecorated)
Creates a new dialog. |
|
ScreenDockDialog(ScreenDockStation station,
WindowConfiguration configuration,
Dialog dialog,
boolean undecorated)
Creates a new dialog. |
|
ScreenDockDialog(ScreenDockStation station,
WindowConfiguration configuration,
Frame frame,
boolean undecorated)
Creates a new dialog. |
Method Summary | |
---|---|
void |
destroy()
Informs this window that it is no longer used by the station and will never be used again. |
JDialog |
getDialog()
Gets the dialog 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 |
updateTitleText()
Called when the text of the title should be updated. |
Methods inherited from class bibliothek.gui.dock.station.screen.window.AbstractScreenDockWindow |
---|
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, updateTitleIcon, validate |
Methods inherited from class bibliothek.gui.dock.station.screen.window.DisplayerScreenDockWindow |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScreenDockDialog(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 ScreenDockDialog(ScreenDockStation station, WindowConfiguration configuration, Frame frame, boolean undecorated)
station
- the station to which this dialog is responsibleconfiguration
- the configuration to apply during creation of this windowframe
- the owner of the dialogundecorated
- whether the dialog should suppress the default decorationspublic ScreenDockDialog(ScreenDockStation station, WindowConfiguration configuration, Dialog dialog, boolean undecorated)
station
- the station to which this dialog is responsibleconfiguration
- the configuration to apply during creation of this windowdialog
- the owner of this dialogundecorated
- whether the dialog should suppress the default decorationsMethod Detail |
---|
public void setPreventFocusStealing(boolean prevent)
ScreenDockWindow
prevent
- whether to attempt to prevent focus stealingpublic JDialog getDialog()
public void destroy()
ScreenDockWindow
destroy
in interface ScreenDockWindow
destroy
in class AbstractScreenDockWindow
public void toFront()
ScreenDockWindow
protected void updateTitleText()
AbstractScreenDockWindow
updateTitleText
in class AbstractScreenDockWindow
AbstractScreenDockWindow.getTitleText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |