bibliothek.gui.dock.perspective
Interface PerspectiveDockable

All Superinterfaces:
PerspectiveElement, PlaceholderListItem<PerspectiveDockable>
All Known Implementing Classes:
CGridPerspective.CommonSplitDockPerspective, CMinimizePerspective.CommonFlapDockPerspective, CStackPerspective, DefaultDockablePerspective, FlapDockPerspective, FrontendDockablePerspective, MultipleCDockablePerspective.Intern, SingleCDockablePerspective.Intern, SplitDockPerspective, StackDockPerspective

public interface PerspectiveDockable
extends PerspectiveElement, PlaceholderListItem<PerspectiveDockable>

A representation of a Dockable in a Perspective.

Author:
Benjamin Sigg

Method Summary
 PerspectiveStation getParent()
          Gets the parent DockStation of this Dockable.
 Path getPlaceholder()
          Gets the placeholder which is associated with this Dockable.
 void setParent(PerspectiveStation parent)
          Sets the parent DockStation of this Dockable.
 
Methods inherited from interface bibliothek.gui.dock.perspective.PerspectiveElement
asDockable, asStation, getFactoryID
 
Methods inherited from interface bibliothek.gui.dock.station.support.PlaceholderListItem
asDockable
 

Method Detail

getPlaceholder

Path getPlaceholder()
Gets the placeholder which is associated with this Dockable.

Returns:
the placeholder, can be null

getParent

PerspectiveStation getParent()
Gets the parent DockStation of this Dockable.

Returns:
the parent, may be null

setParent

void setParent(PerspectiveStation parent)
Sets the parent DockStation of this Dockable.

Parameters:
parent - the new parent, can be null