bibliothek.gui.dock.station.toolbar
Interface ToolbarContainerConverter

All Known Implementing Classes:
DefaultToolbarContainerConverter

public interface ToolbarContainerConverter

A helper interface used by the ToolbarContainerDockStation to read and write PlaceholderMaps.

Author:
Benjamin Sigg, Herve Guillaume

Method Summary
 bibliothek.gui.dock.station.support.PlaceholderMap getPlaceholders(ToolbarContainerDockStation station)
          Called by ToolbarContainerDockStation.getPlaceholders()
 bibliothek.gui.dock.station.support.PlaceholderMap getPlaceholders(ToolbarContainerDockStation station, Map<bibliothek.gui.Dockable,Integer> children)
          Called by ToolbarContainerDockStation.getPlaceholders(Map)
 void setPlaceholders(ToolbarContainerDockStation station, bibliothek.gui.dock.station.support.PlaceholderMap map)
          Called by ToolbarContainerDockStation.setPlaceholders(PlaceholderMap)
 void setPlaceholders(ToolbarContainerDockStation station, ToolbarContainerConverterCallback callback, bibliothek.gui.dock.station.support.PlaceholderMap map, Map<Integer,bibliothek.gui.Dockable> children)
          Called by ToolbarContainerDockStation.setPlaceholders(PlaceholderMap, Map)
 

Method Detail

getPlaceholders

bibliothek.gui.dock.station.support.PlaceholderMap getPlaceholders(ToolbarContainerDockStation station)
Called by ToolbarContainerDockStation.getPlaceholders()

Parameters:
station - the calling station
Returns:
the placeholders

getPlaceholders

bibliothek.gui.dock.station.support.PlaceholderMap getPlaceholders(ToolbarContainerDockStation station,
                                                                   Map<bibliothek.gui.Dockable,Integer> children)
Called by ToolbarContainerDockStation.getPlaceholders(Map)

Parameters:
station - the calling station
children - identifiers for the children of the station
Returns:
the placeholders

setPlaceholders

void setPlaceholders(ToolbarContainerDockStation station,
                     bibliothek.gui.dock.station.support.PlaceholderMap map)
Called by ToolbarContainerDockStation.setPlaceholders(PlaceholderMap)

Parameters:
station - the calling station
map - the placeholders to read

setPlaceholders

void setPlaceholders(ToolbarContainerDockStation station,
                     ToolbarContainerConverterCallback callback,
                     bibliothek.gui.dock.station.support.PlaceholderMap map,
                     Map<Integer,bibliothek.gui.Dockable> children)
Called by ToolbarContainerDockStation.setPlaceholders(PlaceholderMap, Map)

Parameters:
station - the calling station
callback - offers methods to call private methods of station
children - the new children of station
map - the placeholders to read