bibliothek.gui
Class DockFrontend.RootInfo

java.lang.Object
  extended by bibliothek.gui.DockFrontend.RootInfo
Enclosing class:
DockFrontend

private class DockFrontend.RootInfo
extends java.lang.Object

Stores information about a root-station.

Author:
Benjamin Sigg

Field Summary
private  java.lang.String name
          the name of the root
private  DockStation station
          the root
 
Constructor Summary
DockFrontend.RootInfo(DockStation station, java.lang.String name)
          Creates a new object.
 
Method Summary
 java.lang.String getName()
          Gets the name of the station stored in this object.
 DockStation getStation()
          Gets the root-station.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

station

private DockStation station
the root


name

private java.lang.String name
the name of the root

Constructor Detail

DockFrontend.RootInfo

public DockFrontend.RootInfo(DockStation station,
                             java.lang.String name)
Creates a new object.

Parameters:
station - the root
name - the name of the root
Method Detail

getName

public java.lang.String getName()
Gets the name of the station stored in this object.

Returns:
the name

getStation

public DockStation getStation()
Gets the root-station.

Returns:
the root