|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.station.flap.DefaultFlapWindowFactory
public class DefaultFlapWindowFactory
This default implementation of FlapWindowFactory
creates new DefaultFlapWindow
s.
Constructor Summary | |
---|---|
DefaultFlapWindowFactory()
|
Method Summary | |
---|---|
FlapWindow |
create(FlapDockStation station,
ButtonPane buttonPane)
Creates a new window for station . |
protected 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)
FlapWindowFactory
station
.
create
in interface FlapWindowFactory
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 station
public void install(FlapDockStation station)
FlapWindowFactory
station
.
install
in interface FlapWindowFactory
station
- a new client of this factorypublic boolean isValid(FlapWindow window, FlapDockStation station)
FlapWindowFactory
window
can still be used by station
.
isValid
in interface FlapWindowFactory
window
- a window create by this factory, was not yet destroied
station
- the owner of window
true
if station
can show another Dockable
on
window
public void uninstall(FlapDockStation station)
FlapWindowFactory
station
.
uninstall
in interface FlapWindowFactory
station
- a withdrawing clientprotected 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 |