bibliothek.gui.dock.station
Interface Combiner

All Known Implementing Classes:
BasicCombiner, BubbleCombiner, CombinerWrapper, FlatCombiner

public interface Combiner

A Combiner merges two Dockables into one Dockable. How this is done, is up to the Combiner, but most Combiners will create a new DockStation and put the Dockables onto this new station.


Method Summary
 Dockable combine(Dockable old, Dockable drop, DockStation parent)
          Merges the Dockable old and drop into a new Dockable.
 

Method Detail

combine

Dockable combine(Dockable old,
                 Dockable drop,
                 DockStation parent)
Merges the Dockable old and drop into a new Dockable.

Parameters:
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
Returns:
The combination of old and drop