|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.flap.DefaultFlapWindowFactory
public class DefaultFlapWindowFactory
This default implementation of FlapWindowFactory creates new DefaultFlapWindows.
| Constructor Summary | |
|---|---|
DefaultFlapWindowFactory()
|
|
| Method Summary | |
|---|---|
FlapWindow |
create(FlapDockStation station,
ButtonPane buttonPane)
Creates a new window for station. |
protected javax.swing.JDesktopPane |
getDesktopPaneOf(FlapDockStation station)
Searches the JDesktopPane which shows station. |
void |
install(FlapDockStation station)
Informs this factory that it will be used by station. |
boolean |
isValid(FlapWindow window,
FlapDockStation station)
Tells whether window can still be used by station. |
void |
uninstall(FlapDockStation station)
Informs this factory that it will no longer be used by station. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFlapWindowFactory()
| Method Detail |
|---|
public FlapWindow create(FlapDockStation station,
ButtonPane buttonPane)
FlapWindowFactorystation.
create in interface FlapWindowFactorystation - a known client of this factorybuttonPane - the panel which actually shows the buttons of
station, may be needed to calculate the location and
size of the window.
null if this factory is unable to create
a valid window for stationpublic void install(FlapDockStation station)
FlapWindowFactorystation.
install in interface FlapWindowFactorystation - a new client of this factory
public boolean isValid(FlapWindow window,
FlapDockStation station)
FlapWindowFactorywindow can still be used by station.
isValid in interface FlapWindowFactorywindow - a window create by this factory, was not yet destroiedstation - the owner of window
true if station can show another Dockable on
windowpublic void uninstall(FlapDockStation station)
FlapWindowFactorystation.
uninstall in interface FlapWindowFactorystation - a withdrawing clientprotected javax.swing.JDesktopPane getDesktopPaneOf(FlapDockStation station)
JDesktopPane which shows station.
station - the station whose parent is searched
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||