bibliothek.gui.dock.station.toolbar
Class ToolbarGroupDockStationFactory
java.lang.Object
bibliothek.gui.dock.station.toolbar.ToolbarGroupDockStationFactory
- All Implemented Interfaces:
- bibliothek.gui.dock.DockFactory<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>, bibliothek.gui.dock.layout.DockConverter<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
public class ToolbarGroupDockStationFactory
- extends Object
- implements bibliothek.gui.dock.DockFactory<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
A factory used to store and load ToolbarGroupDockStations.
- Author:
- Benjamin Sigg
|
Field Summary |
static String |
ID
the unique, unmodifiable identifier of this factory |
|
Method Summary |
protected ToolbarGroupDockStation |
createStation()
Creates a new ToolbarGroupDockStation. |
void |
estimateLocations(ToolbarGroupDockStationLayout layout,
bibliothek.gui.dock.layout.LocationEstimationMap children)
|
String |
getID()
|
ToolbarGroupDockStationLayout |
getLayout(ToolbarGroupDockStation element,
Map<bibliothek.gui.Dockable,Integer> children)
|
ToolbarGroupDockStationLayout |
getPerspectiveLayout(bibliothek.gui.dock.perspective.PerspectiveElement element,
Map<bibliothek.gui.dock.perspective.PerspectiveDockable,Integer> children)
|
ToolbarGroupDockStation |
layout(ToolbarGroupDockStationLayout layout,
Map<Integer,bibliothek.gui.Dockable> children,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
|
ToolbarGroupDockStation |
layout(ToolbarGroupDockStationLayout layout,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
|
void |
layoutPerspective(bibliothek.gui.dock.perspective.PerspectiveElement perspective,
ToolbarGroupDockStationLayout layout,
Map<Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
|
bibliothek.gui.dock.perspective.PerspectiveElement |
layoutPerspective(ToolbarGroupDockStationLayout layout,
Map<Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
|
ToolbarGroupDockStationLayout |
read(DataInputStream in,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
|
ToolbarGroupDockStationLayout |
read(bibliothek.util.xml.XElement element,
bibliothek.gui.dock.station.support.PlaceholderStrategy strategy)
|
void |
setLayout(ToolbarGroupDockStation element,
ToolbarGroupDockStationLayout layout,
Map<Integer,bibliothek.gui.Dockable> children,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
|
void |
setLayout(ToolbarGroupDockStation element,
ToolbarGroupDockStationLayout layout,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
|
void |
write(ToolbarGroupDockStationLayout layout,
DataOutputStream out)
|
void |
write(ToolbarGroupDockStationLayout 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
ToolbarGroupDockStationFactory
public ToolbarGroupDockStationFactory()
getID
public String getID()
- Specified by:
getID in interface bibliothek.gui.dock.layout.DockConverter<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
getLayout
public ToolbarGroupDockStationLayout getLayout(ToolbarGroupDockStation element,
Map<bibliothek.gui.Dockable,Integer> children)
- Specified by:
getLayout in interface bibliothek.gui.dock.layout.DockConverter<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
getPerspectiveLayout
public ToolbarGroupDockStationLayout 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<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
setLayout
public void setLayout(ToolbarGroupDockStation element,
ToolbarGroupDockStationLayout layout,
Map<Integer,bibliothek.gui.Dockable> children,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
- Specified by:
setLayout in interface bibliothek.gui.dock.layout.DockConverter<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
setLayout
public void setLayout(ToolbarGroupDockStation element,
ToolbarGroupDockStationLayout layout,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
- Specified by:
setLayout in interface bibliothek.gui.dock.layout.DockConverter<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
write
public void write(ToolbarGroupDockStationLayout layout,
DataOutputStream out)
throws IOException
- Specified by:
write in interface bibliothek.gui.dock.layout.DockConverter<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
- Throws:
IOException
write
public void write(ToolbarGroupDockStationLayout layout,
bibliothek.util.xml.XElement element)
- Specified by:
write in interface bibliothek.gui.dock.layout.DockConverter<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
read
public ToolbarGroupDockStationLayout read(DataInputStream in,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
throws IOException
- Specified by:
read in interface bibliothek.gui.dock.layout.DockConverter<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
- Throws:
IOException
read
public ToolbarGroupDockStationLayout read(bibliothek.util.xml.XElement element,
bibliothek.gui.dock.station.support.PlaceholderStrategy strategy)
- Specified by:
read in interface bibliothek.gui.dock.layout.DockConverter<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
estimateLocations
public void estimateLocations(ToolbarGroupDockStationLayout layout,
bibliothek.gui.dock.layout.LocationEstimationMap children)
- Specified by:
estimateLocations in interface bibliothek.gui.dock.DockFactory<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
layout
public ToolbarGroupDockStation layout(ToolbarGroupDockStationLayout layout,
Map<Integer,bibliothek.gui.Dockable> children,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
- Specified by:
layout in interface bibliothek.gui.dock.DockFactory<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
layout
public ToolbarGroupDockStation layout(ToolbarGroupDockStationLayout layout,
bibliothek.gui.dock.station.support.PlaceholderStrategy placeholders)
- Specified by:
layout in interface bibliothek.gui.dock.DockFactory<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
layoutPerspective
public bibliothek.gui.dock.perspective.PerspectiveElement layoutPerspective(ToolbarGroupDockStationLayout layout,
Map<Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
- Specified by:
layoutPerspective in interface bibliothek.gui.dock.DockFactory<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
layoutPerspective
public void layoutPerspective(bibliothek.gui.dock.perspective.PerspectiveElement perspective,
ToolbarGroupDockStationLayout layout,
Map<Integer,bibliothek.gui.dock.perspective.PerspectiveDockable> children)
- Specified by:
layoutPerspective in interface bibliothek.gui.dock.DockFactory<ToolbarGroupDockStation,bibliothek.gui.dock.perspective.PerspectiveElement,ToolbarGroupDockStationLayout>
createStation
protected ToolbarGroupDockStation createStation()
- Creates a new
ToolbarGroupDockStation.
- Returns:
- the new station, not
null