bibliothek.gui.dock.common.intern.station
Interface CommonStationDelegate


public interface CommonStationDelegate

Implements several methods that could be used by a CommonStation. Instances of this interface are most times used as delegate by a CommonStation.

Author:
Benjamin Sigg

Method Summary
 CDockable getDockable()
          Gets a result for CommonDockable.getDockable().
 DockActionSource[] getSources()
          Gets a result for CommonDockable.getSources().
 CStation<?> getStation()
          Gets a result for CommonDockable.getStation().
 boolean isTitleDisplayed(DockTitleVersion title)
          Decides whether to show title for the owner of this delegate.
 

Method Detail

getDockable

CDockable getDockable()
Gets a result for CommonDockable.getDockable().

Returns:
the dockable as it is seen by Common

getStation

CStation<?> getStation()
Gets a result for CommonDockable.getStation().

Returns:
the station as it is seen by Common

getSources

DockActionSource[] getSources()
Gets a result for CommonDockable.getSources().

Returns:
the sources for the owner of this delegate

isTitleDisplayed

boolean isTitleDisplayed(DockTitleVersion title)
Decides whether to show title for the owner of this delegate.

Parameters:
title - the title that might be shown
Returns:
true if the title should be visible, false otherwise