public class InternalScreenDockWindowFactory extends Object implements ScreenDockWindowFactory
InternalDockDialog.InternalBoundaryRestriction| Constructor and Description |
|---|
InternalScreenDockWindowFactory(JDesktopPane desktop)
Creates the factory.
|
| Modifier and Type | Method and Description |
|---|---|
ScreenDockWindow |
createWindow(ScreenDockStation station,
WindowConfiguration configuration)
Creates a new window which will be used by
station. |
int |
getScreenDockWindowLayer()
Gets the layer in which new
InternalDockDialogs will appear. |
void |
setScreenDockWindowLayer(int screenDockWindowLayer)
Sets the layer in which new
InternalDockDialogs will appear. |
ScreenDockWindow |
updateWindow(ScreenDockWindow window,
WindowConfiguration configuration,
ScreenDockStation station)
This method is called if the result of
ScreenDockStation.getOwner() changed, i.e. |
public InternalScreenDockWindowFactory(JDesktopPane desktop)
desktop as parent.desktop - the parent for new windowspublic void setScreenDockWindowLayer(int screenDockWindowLayer)
InternalDockDialogs will appear. The default value
for this property is JLayeredPane.MODAL_LAYER. Please have a look at
JLayeredPane.setLayer(java.awt.Component, int) to learn more about the meaning
of this integer.screenDockWindowLayer - the layer, a constant like JLayeredPane.MODAL_LAYERpublic int getScreenDockWindowLayer()
InternalDockDialogs will appear.setScreenDockWindowLayer(int)public ScreenDockWindow updateWindow(ScreenDockWindow window, WindowConfiguration configuration, ScreenDockStation station)
ScreenDockWindowFactoryScreenDockStation.getOwner() changed, i.e. if
the ScreenDockStation has a new owner. This method may replace the existing window
with a new window if necessary.updateWindow in interface ScreenDockWindowFactorywindow - the currently shown windowconfiguration - the configuration that was used to create windowstation - the owner of the windownull or window means that nothing happenspublic ScreenDockWindow createWindow(ScreenDockStation station, WindowConfiguration configuration)
ScreenDockWindowFactorystation.createWindow in interface ScreenDockWindowFactorystation - the owner of the windowconfiguration - information about how the window has to look depending on its future
Dockable and on the current ScreenDockWindowConfiguration.Copyright © 2017 Docking Frames. All rights reserved.