Class RootStationAdjacentFactory
java.lang.Object
bibliothek.gui.dock.common.intern.RootStationAdjacentFactory
- All Implemented Interfaces:
AdjacentDockFactory<Path>,DockConverter<DockElement,PerspectiveElement, Path>
This factory stores the property
CStation.getTypeId() for any
CStation that is found.- Author:
- Benjamin Sigg
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetID()getLayout(DockElement element, Map<Dockable, Integer> children) getPerspectiveLayout(PerspectiveElement element, Map<PerspectiveDockable, Integer> children) booleaninterested(DockElement element) booleaninterested(PerspectiveElement element) read(XElement element, PlaceholderStrategy placeholders) read(DataInputStream in, PlaceholderStrategy placeholders) voidsetLayout(DockElement element, Path layout, PlaceholderStrategy placeholders) voidsetLayout(DockElement element, Path layout, Map<Integer, Dockable> children, PlaceholderStrategy placeholders) voidvoidwrite(Path layout, DataOutputStream out)
-
Field Details
-
FACTORY_ID
The unique identifier of this factory- See Also:
-
-
Constructor Details
-
RootStationAdjacentFactory
public RootStationAdjacentFactory()
-
-
Method Details
-
interested
- Specified by:
interestedin interfaceAdjacentDockFactory<Path>
-
interested
- Specified by:
interestedin interfaceAdjacentDockFactory<Path>
-
getID
- Specified by:
getIDin interfaceDockConverter<DockElement,PerspectiveElement, Path>
-
getLayout
- Specified by:
getLayoutin interfaceDockConverter<DockElement,PerspectiveElement, Path>
-
getPerspectiveLayout
public Path getPerspectiveLayout(PerspectiveElement element, Map<PerspectiveDockable, Integer> children) - Specified by:
getPerspectiveLayoutin interfaceDockConverter<DockElement,PerspectiveElement, Path>
-
read
- Specified by:
readin interfaceDockConverter<DockElement,PerspectiveElement, Path> - Throws:
IOException
-
read
- Specified by:
readin interfaceDockConverter<DockElement,PerspectiveElement, Path>
-
setLayout
public void setLayout(DockElement element, Path layout, Map<Integer, Dockable> children, PlaceholderStrategy placeholders) - Specified by:
setLayoutin interfaceDockConverter<DockElement,PerspectiveElement, Path>
-
setLayout
- Specified by:
setLayoutin interfaceDockConverter<DockElement,PerspectiveElement, Path>
-
write
- Specified by:
writein interfaceDockConverter<DockElement,PerspectiveElement, Path> - Throws:
IOException
-
write
- Specified by:
writein interfaceDockConverter<DockElement,PerspectiveElement, Path>
-