bibliothek.gui.dock.station.split
Class SplitDockStationLayout

java.lang.Object
  extended by bibliothek.gui.dock.station.split.SplitDockStationLayout

public class SplitDockStationLayout
extends Object

A layout storing the contents of a SplitDockStation.

Author:
Benjamin Sigg

Nested Class Summary
static class SplitDockStationLayout.Entry
          An entry in a tree, either a node or a leaf.
static class SplitDockStationLayout.Leaf
          A leaf in a tree, describes one Dockable.
static class SplitDockStationLayout.Node
          A node in a tree.
 
Constructor Summary
SplitDockStationLayout(SplitDockStationLayout.Entry root, int fullscreen)
          Creates a new layout
 
Method Summary
 int getFullscreen()
          Gets the id of the element which is in fullscreen-mode.
 SplitDockStationLayout.Entry getRoot()
          Gets the root of the tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitDockStationLayout

public SplitDockStationLayout(SplitDockStationLayout.Entry root,
                              int fullscreen)
Creates a new layout

Parameters:
root - the root of the tree, can be null
fullscreen - the id of the element which is in fullscreen-mode
Method Detail

getRoot

public SplitDockStationLayout.Entry getRoot()
Gets the root of the tree.

Returns:
the root, can be null

getFullscreen

public int getFullscreen()
Gets the id of the element which is in fullscreen-mode.

Returns:
the id of the element, -1 means that no element is set to fullscreen