bibliothek.gui.dock
Interface DockElement

All Known Subinterfaces:
CommonDockable, CommonStation<S>, Dockable, DockStation
All Known Implementing Classes:
AbstractDockable, AbstractDockableStation, AbstractDockStation, CSplitDockStation, DefaultCommonDockable, DefaultDockable, FlapDockStation, ScreenDockStation, SecureCSplitDockStation, SecureFlapDockStation, SecureScreenDockStation, SecureSplitDockStation, SecureStackDockStation, SplitDockStation, StackDockStation

public interface DockElement

An element in the hierarchy of dockables and stations.

Author:
Benjamin Sigg

Method Summary
 Dockable asDockable()
          Returns this if this is an instance of Dockable.
 DockStation asDockStation()
          Returns this if this is an instance of DockStation.
 DockController getController()
          Gets the controller that currently is associated with this DockElement.
 String getFactoryID()
          Gets the unique name of the DockFactory which can read and write elements of this type.
 

Method Detail

asDockable

Dockable asDockable()
Returns this if this is an instance of Dockable. Otherwise null is returned.

Returns:
this or null

asDockStation

DockStation asDockStation()
Returns this if this is an instance of DockStation. Otherwise null is returned.

Returns:
this or null

getController

DockController getController()
Gets the controller that currently is associated with this DockElement.

Returns:
the controller or null

getFactoryID

String getFactoryID()
Gets the unique name of the DockFactory which can read and write elements of this type.

Returns:
the id of the factory