bibliothek.gui.dock.station.toolbar
Class ToolbarDockStationMerger
java.lang.Object
bibliothek.gui.dock.station.toolbar.AbstractToolbarMerger
bibliothek.gui.dock.station.toolbar.ToolbarDockStationMerger
- All Implemented Interfaces:
- bibliothek.gui.dock.control.relocator.Merger
public class ToolbarDockStationMerger
- extends AbstractToolbarMerger
An algorithm that allows to merge ToolbarDockStation
s together.
- Author:
- Herve Guillaume, Benjamin Sigg
Method Summary |
void |
merge(bibliothek.gui.dock.station.StationDropOperation operation,
bibliothek.gui.DockStation parent,
bibliothek.gui.DockStation child)
|
protected boolean |
validType(AbstractToolbarDockStation station)
Checks whether the type of station is valid for this merger. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToolbarDockStationMerger
public ToolbarDockStationMerger()
validType
protected boolean validType(AbstractToolbarDockStation station)
- Description copied from class:
AbstractToolbarMerger
- Checks whether the type of
station
is valid for this merger.
- Specified by:
validType
in class AbstractToolbarMerger
- Parameters:
station
- can either be the parent of the child that is merged
- Returns:
true
if the type is accepted
merge
public void merge(bibliothek.gui.dock.station.StationDropOperation operation,
bibliothek.gui.DockStation parent,
bibliothek.gui.DockStation child)