public class DefaultToolbarContainerConverter extends Object implements ToolbarContainerConverter
ToolbarContainerConverter
. This converter
supports all features necessary to read and write PlaceholderMap
s.Constructor and Description |
---|
DefaultToolbarContainerConverter() |
Modifier and Type | Method and Description |
---|---|
bibliothek.gui.dock.station.support.PlaceholderMap |
getPlaceholders(ToolbarContainerDockPerspective station,
Map<bibliothek.gui.dock.perspective.PerspectiveDockable,Integer> children)
Called by
DockConverter.getPerspectiveLayout(bibliothek.gui.dock.perspective.PerspectiveElement, Map) |
bibliothek.gui.dock.station.support.PlaceholderMap |
getPlaceholders(ToolbarContainerDockStation station)
|
bibliothek.gui.dock.station.support.PlaceholderMap |
getPlaceholders(ToolbarContainerDockStation station,
Map<bibliothek.gui.Dockable,Integer> children)
|
void |
setPlaceholders(ToolbarContainerDockStation station,
bibliothek.gui.dock.station.support.PlaceholderMap map)
|
void |
setPlaceholders(ToolbarContainerDockStation station,
ToolbarContainerConverterCallback callback,
bibliothek.gui.dock.station.support.PlaceholderMap map,
Map<Integer,bibliothek.gui.Dockable> children)
|
public bibliothek.gui.dock.station.support.PlaceholderMap getPlaceholders(ToolbarContainerDockStation station)
ToolbarContainerConverter
getPlaceholders
in interface ToolbarContainerConverter
station
- the calling stationpublic bibliothek.gui.dock.station.support.PlaceholderMap getPlaceholders(ToolbarContainerDockStation station, Map<bibliothek.gui.Dockable,Integer> children)
ToolbarContainerConverter
getPlaceholders
in interface ToolbarContainerConverter
station
- the calling stationchildren
- identifiers for the children of the stationpublic bibliothek.gui.dock.station.support.PlaceholderMap getPlaceholders(ToolbarContainerDockPerspective station, Map<bibliothek.gui.dock.perspective.PerspectiveDockable,Integer> children)
ToolbarContainerConverter
DockConverter.getPerspectiveLayout(bibliothek.gui.dock.perspective.PerspectiveElement, Map)
getPlaceholders
in interface ToolbarContainerConverter
station
- the calling stationchildren
- identifiers for the children of the stationpublic void setPlaceholders(ToolbarContainerDockStation station, bibliothek.gui.dock.station.support.PlaceholderMap map)
ToolbarContainerConverter
setPlaceholders
in interface ToolbarContainerConverter
station
- the calling stationmap
- the placeholders to readpublic void setPlaceholders(ToolbarContainerDockStation station, ToolbarContainerConverterCallback callback, bibliothek.gui.dock.station.support.PlaceholderMap map, Map<Integer,bibliothek.gui.Dockable> children)
ToolbarContainerConverter
setPlaceholders
in interface ToolbarContainerConverter
station
- the calling stationcallback
- offers methods to call private methods of station
map
- the placeholders to readchildren
- the new children of station