bibliothek.gui.dock.common.intern.station
Interface CommonDockStation<S extends DockStation,C extends CommonDockStation<S,C>>

Type Parameters:
S - the kind of station this wrapps
C - the kind of CommonDockStation this is
All Superinterfaces:
CommonElement, DockElement, DockStation
All Known Implementing Classes:
CFlapDockStation, CScreenDockStation, CSplitDockStation, SecureCSplitDockStation

public interface CommonDockStation<S extends DockStation,C extends CommonDockStation<S,C>>
extends CommonElement, DockStation

An interface that can be implemented by classes that extend a DockStation and that represent a CStation.

Author:
Benjamin Sigg

Method Summary
 C asDockStation()
          Returns this as station of type C.
 S getDockStation()
          Gets this as S.
 CStation<S> getStation()
          Gets the model of this station.
 
Methods inherited from interface bibliothek.gui.dock.common.intern.CommonElement
asDockable
 
Methods inherited from interface bibliothek.gui.dock.DockElement
getFactoryID
 
Methods inherited from interface bibliothek.gui.DockStation
accept, addDockStationListener, canCompare, canDrag, canReplace, changed, compare, drag, draw, drop, drop, drop, forget, getController, getDirectActionOffers, getDockable, getDockableCount, getDockableProperty, getFrontDockable, getIndirectActionOffers, getPlaceholders, getStationBounds, getTheme, isInOverrideZone, isStationVisible, isVisible, move, move, prepareDrop, prepareMove, removeDockStationListener, replace, replace, requestChildDockTitle, setController, setFrontDockable, setPlaceholders, updateTheme
 
Methods inherited from interface bibliothek.gui.dock.DockElement
getFactoryID
 

Method Detail

getDockStation

S getDockStation()
Gets this as S.

Returns:
this

asDockStation

C asDockStation()
Returns this as station of type C. This method is not allowed to return null.

Specified by:
asDockStation in interface CommonElement
Specified by:
asDockStation in interface DockElement
Returns:
this

getStation

CStation<S> getStation()
Gets the model of this station.

Returns:
the model, may not be null