|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlapLayoutManager
A FlapLayoutManager
stores properties of FlapDockStation
s
and can influence the behavior of a FlapDockStation
.
An implementation might be interested in these methods:
FlapDockStation.updateHold(Dockable)
when the hold property of a Dockable
needs to be changedFlapDockStation.updateWindowSize(Dockable)
when the size of a Dockable
needs to be updated
Method Summary | |
---|---|
int |
getSize(FlapDockStation station,
Dockable dockable)
Called when dockable is about to open and station
has to find out which size dockable should have. |
void |
install(FlapDockStation station)
Called before this manager is used. |
boolean |
isHold(FlapDockStation station,
Dockable dockable)
Called when dockable is added to station and
station does not know whether dockable should
be hold open even when it is not focused. |
void |
setHold(FlapDockStation station,
Dockable dockable,
boolean hold)
Called when the user changes the hold property of dockable . |
void |
setSize(FlapDockStation station,
Dockable dockable,
int size)
Called when the user changes the size of dockable . |
void |
uninstall(FlapDockStation station)
Called when this manager is no longer used. |
Method Detail |
---|
void install(FlapDockStation station)
station
- the station that will use this managervoid uninstall(FlapDockStation station)
station
- the station that will no longer use this managerboolean isHold(FlapDockStation station, Dockable dockable)
dockable
is added to station
and
station
does not know whether dockable
should
be hold open even when it is not focused.
station
- the callerdockable
- the new element on station
void setHold(FlapDockStation station, Dockable dockable, boolean hold)
dockable
.
station
- the callerdockable
- the child of station
whose property
has changedhold
- the new valueint getSize(FlapDockStation station, Dockable dockable)
dockable
is about to open and station
has to find out which size dockable
should have.
station
- the callerdockable
- the child of station
that is going to
be shown.
dockable
void setSize(FlapDockStation station, Dockable dockable, int size)
dockable
.
station
- the callerdockable
- the element whose size has been changedsize
- the new size
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |