bibliothek.gui.dock.common
Class CExternalizeArea

java.lang.Object
  extended by bibliothek.gui.dock.common.intern.AbstractCStation<ScreenDockStation>
      extended by bibliothek.gui.dock.common.CExternalizeArea
All Implemented Interfaces:
CStation<ScreenDockStation>

public class CExternalizeArea
extends AbstractCStation<ScreenDockStation>

This CStation handles those CDockables whose mode is ExtendedMode.EXTERNALIZED.

Author:
Benjamin Sigg

Constructor Summary
CExternalizeArea(CControl control, java.lang.String id)
          Creates a new area.
CExternalizeArea(ScreenDockStation station, java.lang.String id, CLocation location)
          Creates a new area.
 
Method Summary
 CStationPerspective createPerspective()
          Returns a new CStationPerspective that represents this station.
protected  void install(CControlAccess access)
          Called when this station is added to a CControl.
protected  void uninstall(CControlAccess access)
          Called when this station is removed from a CControl.
 
Methods inherited from class bibliothek.gui.dock.common.intern.AbstractCStation
asDockable, getControl, getStation, getStationLocation, getUniqueId, init, isWorkingArea, setControl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CExternalizeArea

public CExternalizeArea(CControl control,
                        java.lang.String id)
Creates a new area.

Parameters:
control - the owner of this area
id - the unique identifier of this area

CExternalizeArea

public CExternalizeArea(ScreenDockStation station,
                        java.lang.String id,
                        CLocation location)
Creates a new area.

Parameters:
station - the station which is used as delegate by this area
id - the unique identifier of this area
location - a location that points directly to this station, is used as starting location when building the CLocation object for a child of this station
Method Detail

install

protected void install(CControlAccess access)
Description copied from class: AbstractCStation
Called when this station is added to a CControl.

Specified by:
install in class AbstractCStation<ScreenDockStation>
Parameters:
access - access to the internals of the new owner

uninstall

protected void uninstall(CControlAccess access)
Description copied from class: AbstractCStation
Called when this station is removed from a CControl.

Specified by:
uninstall in class AbstractCStation<ScreenDockStation>
Parameters:
access - access to the internals of the old owner

createPerspective

public CStationPerspective createPerspective()
Description copied from interface: CStation
Returns a new CStationPerspective that represents this station. This method does not need to set any content of the new perspective. Basically this method just needs to tell the framework what type of CStationPerspective is needed, not what its content is.

Returns:
the new, empty perspective