public class ToolbarContainerDockPerspective extends ListDockableStationPerspective
PerspectiveStation describes the layout of a ToolbarContainerDockStation.| Constructor and Description |
|---|
ToolbarContainerDockPerspective()
Creates a new, empty station.
|
ToolbarContainerDockPerspective(ToolbarContainerDockStationLayout layout,
Map<Integer,PerspectiveDockable> children)
Creates a new station.
|
| Modifier and Type | Method and Description |
|---|---|
protected DockableProperty |
getDockableProperty(int index,
Path placeholder,
PerspectiveDockable child,
PerspectiveDockable target)
Called by
ListDockableStationPerspective.getDockableProperty(PerspectiveDockable, PerspectiveDockable), returns a new
DockableProperty which matches the location described by index and placeholder. |
String |
getFactoryID() |
void |
read(ToolbarContainerDockStationLayout layout,
Map<Integer,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, setPlaceholderspublic ToolbarContainerDockPerspective()
public ToolbarContainerDockPerspective(ToolbarContainerDockStationLayout layout, Map<Integer,PerspectiveDockable> children)
layout - the layout of the stationchildren - the children of the stationpublic void read(ToolbarContainerDockStationLayout layout, Map<Integer,PerspectiveDockable> children)
layout - the new layoutchildren - the new childrenpublic String getFactoryID()
protected DockableProperty getDockableProperty(int index, Path placeholder, PerspectiveDockable child, PerspectiveDockable target)
ListDockableStationPerspectiveListDockableStationPerspective.getDockableProperty(PerspectiveDockable, PerspectiveDockable), returns a new
DockableProperty which matches the location described by index and placeholder.getDockableProperty in class ListDockableStationPerspectiveindex - the index of the item in the list of dockables, can be -1placeholder - the name of the item, can be nullchild - the child whose location is requestedtarget - the item whose location is requested, this may be childchildCopyright © 2018. All rights reserved.