public interface FlapWindowFactory
FlapWindowFactory creates instances of FlapWindow.| Modifier and Type | Method and Description |
|---|---|
FlapWindow |
create(FlapDockStation station,
ButtonPane buttonPane)
Creates a new window for
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. |
FlapWindow create(FlapDockStation station, ButtonPane buttonPane)
station.station - 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 stationboolean isValid(FlapWindow window, FlapDockStation station)
window can still be used by station.void install(FlapDockStation station)
station.station - a new client of this factoryvoid uninstall(FlapDockStation station)
station.station - a withdrawing clientCopyright © 2017 Docking Frames. All rights reserved.