|
||||||||||
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.InternalScreenDockWindowFactory
public class InternalScreenDockWindowFactory
A simple factory creating new instances of InternalDockDialog
.
InternalBoundaryRestriction
Constructor Summary | |
---|---|
InternalScreenDockWindowFactory(JDesktopPane desktop)
Creates the factory. |
Method Summary | |
---|---|
ScreenDockWindow |
createWindow(ScreenDockStation station,
WindowConfiguration configuration)
Creates a new window which will be used by station . |
int |
getScreenDockWindowLayer()
Gets the layer in which new InternalDockDialog s will appear. |
void |
setScreenDockWindowLayer(int screenDockWindowLayer)
Sets the layer in which new InternalDockDialog s will appear. |
ScreenDockWindow |
updateWindow(ScreenDockWindow window,
WindowConfiguration configuration,
ScreenDockStation station)
This method is called if the result of ScreenDockStation.getOwner() changed, i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InternalScreenDockWindowFactory(JDesktopPane desktop)
desktop
as parent.
desktop
- the parent for new windowsMethod Detail |
---|
public void setScreenDockWindowLayer(int screenDockWindowLayer)
InternalDockDialog
s 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_LAYER
public int getScreenDockWindowLayer()
InternalDockDialog
s will appear.
setScreenDockWindowLayer(int)
public ScreenDockWindow updateWindow(ScreenDockWindow window, WindowConfiguration configuration, ScreenDockStation station)
ScreenDockWindowFactory
ScreenDockStation.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 ScreenDockWindowFactory
window
- the currently shown windowconfiguration
- the configuration that was used to create window
station
- the owner of the window
null
or window
means that nothing happenspublic ScreenDockWindow createWindow(ScreenDockStation station, WindowConfiguration configuration)
ScreenDockWindowFactory
station
.
createWindow
in interface ScreenDockWindowFactory
station
- the owner of the windowconfiguration
- information about how the window has to look depending on its future
Dockable
and on the current ScreenDockWindowConfiguration
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |