bibliothek.gui.dock.facile.state
Class StateManager.Location

java.lang.Object
  extended by bibliothek.gui.dock.facile.state.StateManager.Location
Enclosing class:
StateManager

public static class StateManager.Location
extends Object

Describes the location of a Dockable.

Author:
Benjamin Sigg

Constructor Summary
StateManager.Location(String root, DockableProperty location)
          Creates a new location.
 
Method Summary
 DockableProperty getLocation()
          Gets the exact location.
 String getRoot()
          Gets the name of the root-station.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateManager.Location

public StateManager.Location(String root,
                             DockableProperty location)
Creates a new location.

Parameters:
root - the name of the root station
location - the location relatively to the root station
Method Detail

getRoot

public String getRoot()
Gets the name of the root-station.

Returns:
the name

getLocation

public DockableProperty getLocation()
Gets the exact location.

Returns:
the location