Class AbstractCStation<S extends CommonDockStation<?,?>>

java.lang.Object
bibliothek.gui.dock.common.intern.AbstractCStation<S>
Type Parameters:
S - the kind of station this CStation is built upon
All Implemented Interfaces:
CStation<S>
Direct Known Subclasses:
CExternalizeArea

public abstract class AbstractCStation<S extends CommonDockStation<?,?>> extends Object implements CStation<S>
A simple implementation of CStation. This class adds a install(CControlAccess) and uninstall(CControlAccess) method, subclasses do not have to track or store the CControlAccess that is given in setControlAccess(CControlAccess).
Author:
Benjamin Sigg
  • Constructor Details

    • AbstractCStation

      public AbstractCStation(S station, String id, CLocation location)
      Creates a new station.
      Parameters:
      station - the internal representation of this station
      id - the unique id of this station
      location - a location that points directly to this station
    • AbstractCStation

      protected AbstractCStation()
      Creates a new station but does not yet initialize its fields. Subclasses should call init(CommonDockStation, String, CLocation).
  • Method Details