|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.themes.basic.BasicCombiner
public class BasicCombiner
A simple implementation of Combiner
, which merges two Dockables
by creating a StackDockStation
, and putting the children onto this
station.
If the argument parent
in combiner
is a Dockable
, then it's title and icon are copied onto the new
station.
Constructor Summary | |
---|---|
BasicCombiner()
|
Method Summary | |
---|---|
Dockable |
combine(Dockable old,
Dockable drop,
DockStation parent)
Merges the Dockable old and drop into
a new Dockable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicCombiner()
Method Detail |
---|
public Dockable combine(Dockable old, Dockable drop, DockStation parent)
Combiner
old
and drop
into
a new Dockable.
combine
in interface Combiner
old
- a Dockable which sits on the DockStation parent
drop
- a Dockable that has currently no parent, and that was
dragged over old
parent
- a DockStation which will become the parent of the
returnvalue of this method
old
and drop
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |