|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.support.CombinerWrapper
public class CombinerWrapper
A CombinerWrapper encloses a Combiner and uses
the combiner as delegate. If the wrapper has no delegate, it uses
the DockUI to get a combiner from the current DockTheme.
| Constructor Summary | |
|---|---|
CombinerWrapper()
|
|
| Method Summary | |
|---|---|
Dockable |
combine(Dockable old,
Dockable drop,
DockStation parent,
PlaceholderMap placeholders)
Merges the Dockable old and drop into
a new Dockable. |
Combiner |
getDelegate()
Gets the delegate of this wrapper. |
void |
setDelegate(Combiner delegate)
Sets the delegate for this wrapper. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CombinerWrapper()
| Method Detail |
|---|
public Combiner getDelegate()
nullpublic void setDelegate(Combiner delegate)
delegate - the delegate or null if the default combiner
should be used
public Dockable combine(Dockable old,
Dockable drop,
DockStation parent,
PlaceholderMap placeholders)
Combinerold and drop into
a new Dockable. This method may set the DockController of
the create element in order to initialize it more efficiently
combine in interface Combinerold - a Dockable which was sitting on the DockStation parent.
The parent of old is currently set to null.drop - a Dockable that has currently no parent, and that was
dragged over oldparent - a DockStation which will become the parent of the
result of this methodplaceholders - a set of placeholders that were created earlier, not necessarily by a
DockStation that was created by this combiner. Might be null.
old and drop
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||