bibliothek.gui.dock.station
Class DockStationDelegate
java.lang.Object
bibliothek.gui.dock.station.DockStationDelegate
public class DockStationDelegate
- extends Object
A set of algorithms that are useful for DockStation
s. Rather then using a utility class
with static methods, this class allows to override and modify the algorithms if necessary.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DockStationDelegate
public DockStationDelegate()
combine
public <T extends PlaceholderListItem<Dockable>> void combine(PlaceholderList.Item item,
Combiner combiner,
AsideRequest request)
- Can be called by
DockStation.aside(AsideRequest)
if request
contains a
location that points toward item
. The method first tries to call
DockStation.aside(AsideRequest)
of the Dockable
represented by
item
, and if that fails it tries to call Combiner.aside(AsideRequest)
.
- Parameters:
item
- the item which should contain the new locationcombainer
- the Combiner
to ask if there is no DockStation
to ask, not null
request
- information about the location to create