bibliothek.gui.dock.common.perspective
Interface CDockablePerspective

All Superinterfaces:
CElementPerspective
All Known Implementing Classes:
AbstractCDockablePerspective, CGridPerspective, CWorkingPerspective, MultipleCDockablePerspective, SingleCDockablePerspective

public interface CDockablePerspective
extends CElementPerspective

Represents a CDockable in a CPerspective.

Author:
Benjamin Sigg

Method Summary
 LocationHistory getLocationHistory()
          Gets information about the locations this dockable had in the past.
 CStationPerspective getParent()
          Gets the next parent of this perspective that represents a CStation.
 CStationPerspective getWorkingArea()
          Gets the working-area of this element
 void setWorkingArea(CStationPerspective workingArea)
          Sets the working-area of this element.
 
Methods inherited from interface bibliothek.gui.dock.common.perspective.CElementPerspective
asDockable, asStation, intern
 

Method Detail

getParent

CStationPerspective getParent()
Gets the next parent of this perspective that represents a CStation. This method may jump over some parents to get to the next station.

Returns:
the next station, may be null

setWorkingArea

void setWorkingArea(CStationPerspective workingArea)
Sets the working-area of this element. This user will not be able drag this element away from that working-area.

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

getWorkingArea

CStationPerspective getWorkingArea()
Gets the working-area of this element

Returns:
the area, can be null
See Also:
setWorkingArea(CStationPerspective)

getLocationHistory

LocationHistory getLocationHistory()
Gets information about the locations this dockable had in the past.

Returns:
the locations, not null