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 Type
    Method
    Description
    void
    Reads the content of this layout from out.
    void
    readXML(XElement element)
    Reads the content of this layout from element.
    void
    Writes the content of this layout into out.
    void
    writeXML(XElement element)
    Writes the content of this layout into element.
  • Method Details

    • writeStream

      void writeStream(DataOutputStream out) throws IOException
      Writes the content of this layout into out.
      Parameters:
      out - the stream to write into
      Throws:
      IOException - if an I/O-error occurs
    • readStream

      void readStream(DataInputStream in) throws IOException
      Reads the content of this layout from out. 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

      void writeXML(XElement element)
      Writes the content of this layout into element.
      Parameters:
      element - the xml element into which this method can write, the attributes of element should not be changed
    • readXML

      void readXML(XElement element)
      Reads the content of this layout from element. All properties should be set to their default value or to the value read from element. 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