public class ToolbarContainerDockPerspective extends ListDockableStationPerspective
PerspectiveStation
describes the layout of a ToolbarContainerDockStation
.Constructor and Description |
---|
ToolbarContainerDockPerspective()
Creates a new, empty station.
|
ToolbarContainerDockPerspective(ToolbarContainerDockStationLayout layout,
java.util.Map<java.lang.Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
Creates a new station.
|
Modifier and Type | Method and Description |
---|---|
protected bibliothek.gui.dock.layout.DockableProperty |
getDockableProperty(int index,
bibliothek.util.Path placeholder,
bibliothek.gui.dock.perspective.PerspectiveDockable child,
bibliothek.gui.dock.perspective.PerspectiveDockable target)
Called by
ListDockableStationPerspective.getDockableProperty(PerspectiveDockable, PerspectiveDockable) , returns a new
DockableProperty which matches the location described by index and placeholder . |
java.lang.String |
getFactoryID() |
void |
read(ToolbarContainerDockStationLayout layout,
java.util.Map<java.lang.Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
Updates the layout of this station.
|
add, add, asDockable, asStation, getDockable, getDockableCount, getDockableProperty, getDockables, getParent, getPlaceholder, getPlaceholders, indexOf, remove, remove, replace, setDockables, setParent, setPlaceholders
public ToolbarContainerDockPerspective()
public ToolbarContainerDockPerspective(ToolbarContainerDockStationLayout layout, java.util.Map<java.lang.Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
layout
- the layout of the stationchildren
- the children of the stationpublic void read(ToolbarContainerDockStationLayout layout, java.util.Map<java.lang.Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
layout
- the new layoutchildren
- the new childrenpublic java.lang.String getFactoryID()
protected bibliothek.gui.dock.layout.DockableProperty getDockableProperty(int index, bibliothek.util.Path placeholder, bibliothek.gui.dock.perspective.PerspectiveDockable child, bibliothek.gui.dock.perspective.PerspectiveDockable target)
ListDockableStationPerspective
ListDockableStationPerspective.getDockableProperty(PerspectiveDockable, PerspectiveDockable)
, returns a new
DockableProperty
which matches the location described by index
and placeholder
.getDockableProperty
in class ListDockableStationPerspective
index
- the index of the item in the list of dockables, can be -1
placeholder
- the name of the item, can be null
child
- the child whose location is requestedtarget
- the item whose location is requested, this may be child
child