bibliothek.gui.dock.perspective
Interface PerspectiveElement<L>

Type Parameters:
L - the kind of object that is used by the DockFactory with unique identifier getFactoryID() to store the layout
All Known Subinterfaces:
PerspectiveDockable<L>, PerspectiveStation<L>

public interface PerspectiveElement<L>

Representation of a DockElement

Author:
Benjamin Sigg

Method Summary
 PerspectiveDockable<L> asDockable()
          Returns the representation of this as PerspectiveDockable.
 PerspectiveStation<L> asStation()
          Returns the representation of this as PerspectiveStation
 String getFactoryID()
          Gets the identifier of the DockFactory that will be able to understand the layout information this element generates.
 

Method Detail

getFactoryID

String getFactoryID()
Gets the identifier of the DockFactory that will be able to understand the layout information this element generates.

Returns:
the factories identifier

asStation

PerspectiveStation<L> asStation()
Returns the representation of this as PerspectiveStation

Returns:
either this, a representation of this or null

asDockable

PerspectiveDockable<L> asDockable()
Returns the representation of this as PerspectiveDockable.

Returns:
either this, a representation of this or null