public abstract class AbstractToolbarMerger extends Object implements Merger
AbstractToolbarDockStations
together.| Constructor and Description |
|---|
AbstractToolbarMerger() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMerge(StationDropOperation operation,
DockStation parent,
DockStation child) |
protected abstract boolean |
validType(AbstractToolbarDockStation station)
Checks whether the type of
station is valid for this merger. |
protected abstract boolean validType(AbstractToolbarDockStation station)
station is valid for this merger.station - can either be the parent of the child that is mergedtrue if the type is acceptedpublic boolean canMerge(StationDropOperation operation, DockStation parent, DockStation child)
Copyright © 2018. All rights reserved.