|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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(CombinerSource source,
CombinerTarget target)
Merges two Dockables into a new Dockable. |
CombinerTarget |
prepare(CombinerSource source,
boolean force)
Prepares information telling how two Dockables may be combined. |
| Method Detail |
|---|
CombinerTarget prepare(CombinerSource source,
boolean force)
Dockables may be combined.
source - the Dockable which may be combined, their parent station and
other helpful information.force - if true then a combination must happen, otherwise the
result may be null indicating that a combination is not desired by
this Combiner.
Dockables, may be null to indicate that
a combination is not desired
Dockable combine(CombinerSource source,
CombinerTarget target)
Dockables into a new Dockable. This method may
set the DockController of the created element in order to initialize
it more efficiently.
source - information about the two Dockables that are going to be merged, not null. This
object may or may not have been created by this Combiner, some sanity checks are advised before using ittarget - information that was created by prepare(CombinerSource, boolean) using source, not null
Dockable, not null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||