public class DockStationDelegate extends Object
DockStation
s. Rather then using a utility class
with static methods, this class allows to override and modify the algorithms if necessary.Constructor and Description |
---|
DockStationDelegate() |
Modifier and Type | Method and Description |
---|---|
<T extends PlaceholderListItem<Dockable>> |
combine(PlaceholderList.Item item,
Combiner combiner,
AsideRequest request)
Can be called by
DockStation.aside(AsideRequest) if request contains a
location that points toward item . |
public <T extends PlaceholderListItem<Dockable>> void combine(PlaceholderList.Item item, Combiner combiner, AsideRequest request)
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)
.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