Interface CommonStationDelegate<S extends CommonDockStation<?,?>>
- Type Parameters:
S- the type ofDockStationthis delegate represents
public interface CommonStationDelegate<S extends CommonDockStation<?,?>>
Implements several methods that could be used by a
CommonDockStation. Instances
of this interface are most times used as delegate by a CommonDockStation.- Author:
- Benjamin Sigg
-
Method Summary
Modifier and TypeMethodDescriptionGets a result forCommonDockable.getDockable().Gets a result forCommonDockable.getSources().Gets a result forCommonDockStation.getStation().booleanisTitleDisplayed(DockTitleVersion title) Decides whether to showtitlefor the owner of this delegate.
-
Method Details
-
getDockable
CDockable getDockable()Gets a result forCommonDockable.getDockable().- Returns:
- the dockable as it is seen by Common
-
getStation
Gets a result forCommonDockStation.getStation().- Returns:
- the station as it is seen by Common
-
getSources
DockActionSource[] getSources()Gets a result forCommonDockable.getSources().- Returns:
- the sources for the owner of this delegate
-
isTitleDisplayed
Decides whether to showtitlefor the owner of this delegate.- Parameters:
title- the title that might be shown- Returns:
trueif the title should be visible,falseotherwise
-