bibliothek.gui.dock.station.toolbar
Interface ToolbarContainerConverterCallback


@FrameworkOnly
public interface ToolbarContainerConverterCallback

An interface allowing a ToolbarContainerConverter to call some internal methods of ToolbarContainerDockStation.

Author:
Benjamin Sigg, Herve Guillaume

Method Summary
 void added(bibliothek.gui.dock.station.StationChildHandle dockable)
          Called after dockable was added to the list of dockables.
 void adding(bibliothek.gui.dock.station.StationChildHandle dockable)
          Called before dockable is added to the list of dockables.
 void finished(bibliothek.gui.dock.station.support.DockablePlaceholderList<bibliothek.gui.dock.station.StationChildHandle> list)
          Called after setDockables(DockablePlaceholderList) and after all children have been stored in list.
 void setDockables(bibliothek.gui.dock.station.support.DockablePlaceholderList<bibliothek.gui.dock.station.StationChildHandle> list)
          Replaces the list of dockables.
 bibliothek.gui.dock.station.StationChildHandle wrap(bibliothek.gui.Dockable dockable)
          Creates a new StationChildHandle for dockable, the new handle must not be added to any collection.
 

Method Detail

wrap

bibliothek.gui.dock.station.StationChildHandle wrap(bibliothek.gui.Dockable dockable)
Creates a new StationChildHandle for dockable, the new handle must not be added to any collection.

Parameters:
dockable - the element to wrap
Returns:
the new StationChildHandle, must not be null

adding

void adding(bibliothek.gui.dock.station.StationChildHandle dockable)
Called before dockable is added to the list of dockables.

Parameters:
dockable - the new element, not null

added

void added(bibliothek.gui.dock.station.StationChildHandle dockable)
Called after dockable was added to the list of dockables.

Parameters:
dockable - the new element, not null

setDockables

void setDockables(bibliothek.gui.dock.station.support.DockablePlaceholderList<bibliothek.gui.dock.station.StationChildHandle> list)
Replaces the list of dockables.

Parameters:
list - the new list of dockables, not null

finished

void finished(bibliothek.gui.dock.station.support.DockablePlaceholderList<bibliothek.gui.dock.station.StationChildHandle> list)
Called after setDockables(DockablePlaceholderList) and after all children have been stored in list.

Parameters:
list - the list whose creation was finished