|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.station.toolbar.ListDockableStationPerspective
bibliothek.gui.dock.station.toolbar.ToolbarDockPerspective
public class ToolbarDockPerspective
A PerspectiveStation
representing a ToolbarDockStation
.
Constructor Summary | |
---|---|
ToolbarDockPerspective()
Creates a new, empty station. |
|
ToolbarDockPerspective(ToolbarDockStationLayout layout,
Map<Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
Creates a new station. |
Method Summary | |
---|---|
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 . |
ExpandedState |
getExpandedState()
Gets the preferred size of this station. |
String |
getFactoryID()
|
bibliothek.gui.dock.station.support.PlaceholderMap |
getPlaceholders(Map<bibliothek.gui.dock.perspective.PerspectiveDockable,Integer> children)
Converts the list of children of this perspective into a PlaceholderMap . |
void |
read(ToolbarDockStationLayout layout,
Map<Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
Updates the layout of this station. |
void |
setExpandedState(ExpandedState state)
Sets the preferred size of this station. |
Methods inherited from class bibliothek.gui.dock.station.toolbar.ListDockableStationPerspective |
---|
add, add, asDockable, asStation, getDockable, getDockableCount, getDockableProperty, getDockables, getParent, getPlaceholder, getPlaceholders, indexOf, remove, remove, replace, setDockables, setParent, setPlaceholders |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToolbarDockPerspective()
public ToolbarDockPerspective(ToolbarDockStationLayout layout, Map<Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
layout
- the layout of the stationchildren
- the children of the stationMethod Detail |
---|
public void read(ToolbarDockStationLayout layout, Map<Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
layout
- the new layoutchildren
- the new childrenpublic bibliothek.gui.dock.station.support.PlaceholderMap getPlaceholders(Map<bibliothek.gui.dock.perspective.PerspectiveDockable,Integer> children)
PlaceholderMap
.
children
- the unique identifier of each child
public String getFactoryID()
public void setExpandedState(ExpandedState state)
state
- the preferred size, not null
public ExpandedState getExpandedState()
null
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |