bibliothek.gui.dock.common.intern
Class CommonDockableLayout

java.lang.Object
  extended by bibliothek.gui.dock.common.intern.CommonDockableLayout

public class CommonDockableLayout
extends Object

An intermediate representation of the layout of a CommonDockable that is connected with a MultipleCDockable.

Author:
Benjamin Sigg

Constructor Summary
CommonDockableLayout()
           
 
Method Summary
 String getArea()
          Gets the unique id of the CWorkingArea the dockable was on.
 String getId()
          Gets the unique id of the dockable.
 MultipleCDockableLayout getLayout()
          Gets the layout of the MultipleCDockable that is associated with the CommonDockable for which this layout was created.
 void setArea(String area)
          Sets the unique id of the CWorkingArea the dockable was on.
 void setId(String id)
          Sets the unique id of the dockable.
 void setLayout(MultipleCDockableLayout layout)
          Sets the description of the layout of a MultipleCDockable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonDockableLayout

public CommonDockableLayout()
Method Detail

setLayout

public void setLayout(MultipleCDockableLayout layout)
Sets the description of the layout of a MultipleCDockable. The described dockable is connected with the CommonDockable for which this layout was created.

Parameters:
layout - the layout

getLayout

public MultipleCDockableLayout getLayout()
Gets the layout of the MultipleCDockable that is associated with the CommonDockable for which this layout was created.

Returns:
the layout

setId

public void setId(String id)
Sets the unique id of the dockable.

Parameters:
id - the unique id

getId

public String getId()
Gets the unique id of the dockable.

Returns:
the unique id

setArea

public void setArea(String area)
Sets the unique id of the CWorkingArea the dockable was on.

Parameters:
area - the id or null

getArea

public String getArea()
Gets the unique id of the CWorkingArea the dockable was on.

Returns:
the id of an area or null