bibliothek.gui.dock.station.toolbar
Class ToolbarContainerDockStationFactory
java.lang.Object
bibliothek.gui.dock.station.toolbar.ToolbarContainerDockStationFactory
- All Implemented Interfaces:
- bibliothek.gui.dock.DockFactory<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>, bibliothek.gui.dock.layout.DockConverter<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
public class ToolbarContainerDockStationFactory
- extends Object
- implements bibliothek.gui.dock.DockFactory<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
A factory used to read and write the layout of a
ToolbarContainerDockStation
.
- Author:
- Benjamin Sigg, Herve Guillaume
Field Summary |
static String |
ID
the unique, unmodifiable identifier of this factory |
Method Summary |
protected ToolbarContainerDockStation |
createStation()
Creates a new ToolbarContainerDockStation . |
void |
estimateLocations(ToolbarContainerDockStationLayout layout,
bibliothek.gui.dock.layout.LocationEstimationMap children)
|
String |
getID()
|
ToolbarContainerDockStationLayout |
getLayout(ToolbarContainerDockStation element,
Map<bibliothek.gui.Dockable,Integer> children)
|
ToolbarContainerDockStationLayout |
getPerspectiveLayout(bibliothek.gui.dock.perspective.PerspectiveElement element,
Map<bibliothek.gui.dock.perspective.PerspectiveDockable,Integer> children)
|
ToolbarContainerDockStation |
layout(ToolbarContainerDockStationLayout layout,
Map<Integer,bibliothek.gui.Dockable> children,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
|
ToolbarContainerDockStation |
layout(ToolbarContainerDockStationLayout layout,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
|
void |
layoutPerspective(bibliothek.gui.dock.perspective.PerspectiveElement perspective,
ToolbarContainerDockStationLayout layout,
Map<Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
|
bibliothek.gui.dock.perspective.PerspectiveElement |
layoutPerspective(ToolbarContainerDockStationLayout layout,
Map<Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
|
ToolbarContainerDockStationLayout |
read(DataInputStream in,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
|
ToolbarContainerDockStationLayout |
read(bibliothek.util.xml.XElement element,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
|
void |
setLayout(ToolbarContainerDockStation element,
ToolbarContainerDockStationLayout layout,
Map<Integer,bibliothek.gui.Dockable> children,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
|
void |
setLayout(ToolbarContainerDockStation element,
ToolbarContainerDockStationLayout layout,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
|
void |
write(ToolbarContainerDockStationLayout layout,
DataOutputStream out)
|
void |
write(ToolbarContainerDockStationLayout layout,
bibliothek.util.xml.XElement element)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
- the unique, unmodifiable identifier of this factory
- See Also:
- Constant Field Values
ToolbarContainerDockStationFactory
public ToolbarContainerDockStationFactory()
getID
public String getID()
- Specified by:
getID
in interface bibliothek.gui.dock.layout.DockConverter<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
getLayout
public ToolbarContainerDockStationLayout getLayout(ToolbarContainerDockStation element,
Map<bibliothek.gui.Dockable,Integer> children)
- Specified by:
getLayout
in interface bibliothek.gui.dock.layout.DockConverter<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
getPerspectiveLayout
public ToolbarContainerDockStationLayout getPerspectiveLayout(bibliothek.gui.dock.perspective.PerspectiveElement element,
Map<bibliothek.gui.dock.perspective.PerspectiveDockable,Integer> children)
- Specified by:
getPerspectiveLayout
in interface bibliothek.gui.dock.layout.DockConverter<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
setLayout
public void setLayout(ToolbarContainerDockStation element,
ToolbarContainerDockStationLayout layout,
Map<Integer,bibliothek.gui.Dockable> children,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
- Specified by:
setLayout
in interface bibliothek.gui.dock.layout.DockConverter<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
setLayout
public void setLayout(ToolbarContainerDockStation element,
ToolbarContainerDockStationLayout layout,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
- Specified by:
setLayout
in interface bibliothek.gui.dock.layout.DockConverter<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
write
public void write(ToolbarContainerDockStationLayout layout,
DataOutputStream out)
throws IOException
- Specified by:
write
in interface bibliothek.gui.dock.layout.DockConverter<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
- Throws:
IOException
write
public void write(ToolbarContainerDockStationLayout layout,
bibliothek.util.xml.XElement element)
- Specified by:
write
in interface bibliothek.gui.dock.layout.DockConverter<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
read
public ToolbarContainerDockStationLayout read(DataInputStream in,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
throws IOException
- Specified by:
read
in interface bibliothek.gui.dock.layout.DockConverter<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
- Throws:
IOException
read
public ToolbarContainerDockStationLayout read(bibliothek.util.xml.XElement element,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
- Specified by:
read
in interface bibliothek.gui.dock.layout.DockConverter<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
estimateLocations
public void estimateLocations(ToolbarContainerDockStationLayout layout,
bibliothek.gui.dock.layout.LocationEstimationMap children)
- Specified by:
estimateLocations
in interface bibliothek.gui.dock.DockFactory<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
layout
public ToolbarContainerDockStation layout(ToolbarContainerDockStationLayout layout,
Map<Integer,bibliothek.gui.Dockable> children,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
- Specified by:
layout
in interface bibliothek.gui.dock.DockFactory<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
layout
public ToolbarContainerDockStation layout(ToolbarContainerDockStationLayout layout,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
- Specified by:
layout
in interface bibliothek.gui.dock.DockFactory<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
layoutPerspective
public bibliothek.gui.dock.perspective.PerspectiveElement layoutPerspective(ToolbarContainerDockStationLayout layout,
Map<Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
- Specified by:
layoutPerspective
in interface bibliothek.gui.dock.DockFactory<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
layoutPerspective
public void layoutPerspective(bibliothek.gui.dock.perspective.PerspectiveElement perspective,
ToolbarContainerDockStationLayout layout,
Map<Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
- Specified by:
layoutPerspective
in interface bibliothek.gui.dock.DockFactory<ToolbarContainerDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarContainerDockStationLayout>
createStation
protected ToolbarContainerDockStation createStation()
- Creates a new
ToolbarContainerDockStation
.
- Returns:
- the new station, not
null