bibliothek.gui.dock.common.intern
Class CommonSingleDockableLayout

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

public class CommonSingleDockableLayout
extends Object

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

Author:
Benjamin Sigg

Constructor Summary
CommonSingleDockableLayout()
           
 
Method Summary
 String getArea()
          Gets the working-area of the dockable.
 String getId()
          Gets the unique identifier of the dockable
 boolean isAreaSet()
          Tells whether setArea(String) was ever called.
 void setArea(String area)
          Sets the working-area of the dockable.
 void setId(String id)
          Sets the unique identifier of the dockable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonSingleDockableLayout

public CommonSingleDockableLayout()
Method Detail

setId

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

Parameters:
id - the unique identifier

getId

public String getId()
Gets the unique identifier of the dockable

Returns:
the unique identifier

isAreaSet

public boolean isAreaSet()
Tells whether setArea(String) was ever called. This method returns false if this layout represents a layout that was created with a version of the framework that was before 1.1.0.

Returns:
whether setArea(String) was ever called

setArea

public void setArea(String area)
Sets the working-area of the dockable.

Parameters:
area - the working-area, can be null

getArea

public String getArea()
Gets the working-area of the dockable.

Returns:
the working-area, can be null