bibliothek.gui.dock.station.stack
Class StackDockStationLayout

java.lang.Object
  extended by bibliothek.gui.dock.station.stack.StackDockStationLayout
Direct Known Subclasses:
RetroStackDockStationLayout

public class StackDockStationLayout
extends Object

A layout of a StackDockStation, stores the order of all Dockables on the station.

Author:
Benjamin Sigg

Constructor Summary
StackDockStationLayout(int selected, PlaceholderMap placeholders)
          Creates a new layout.
 
Method Summary
 PlaceholderMap getPlaceholders()
          Gets all the items of this layout, including the encoded Dockables.
 int getSelected()
          Gets the name of the selected child.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackDockStationLayout

public StackDockStationLayout(int selected,
                              PlaceholderMap placeholders)
Creates a new layout.

Parameters:
selected - the name of the selected child
placeholders - all the items of this layout
Method Detail

getSelected

public int getSelected()
Gets the name of the selected child.

Returns:
the selected child

getPlaceholders

public PlaceholderMap getPlaceholders()
Gets all the items of this layout, including the encoded Dockables.

Returns:
the placeholders