Package bibliothek.gui.dock.common
Interface MultipleCDockableLayout
public interface MultipleCDockableLayout
An intermediate representation of the layout of a
MultipleCDockable.
This layout should not have any references to the MultipleCDockable
it describes.- Author:
- Benjamin Sigg
-
Method Summary
Modifier and TypeMethodDescriptionvoidReads the content of this layout fromout.voidReads the content of this layout fromelement.voidWrites the content of this layout intoout.voidWrites the content of this layout intoelement.
-
Method Details
-
writeStream
Writes the content of this layout intoout.- Parameters:
out- the stream to write into- Throws:
IOException- if an I/O-error occurs
-
readStream
Reads the content of this layout fromout. All properties should be set to their default value or to the value read from the stream.- Parameters:
in- the stream to read- Throws:
IOException- if an I/O-error occurs
-
writeXML
Writes the content of this layout intoelement.- Parameters:
element- the xml element into which this method can write, the attributes ofelementshould not be changed
-
readXML
Reads the content of this layout fromelement. All properties should be set to their default value or to the value read fromelement. This method can assume that the xml-element was written by another layout of the same type, and that no attributes or elements have been deleted or altered by DockingFrames itself.- Parameters:
element- the element to read
-