Package bibliothek.gui.dock.common
Class CExternalizeArea
java.lang.Object
bibliothek.gui.dock.common.intern.AbstractCStation<CScreenDockStation>
bibliothek.gui.dock.common.CExternalizeArea
- All Implemented Interfaces:
CStation<CScreenDockStation>
- Author:
- Benjamin Sigg
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a newCStationPerspectivethat representsthisstation.Gets a unique path denoting the type of this station.protected voidinstall(CControlAccess access) Called when this station is added to aCControl.protected voiduninstall(CControlAccess access) Called when this station is removed from aCControl.Methods inherited from class bibliothek.gui.dock.common.intern.AbstractCStation
asDockable, getControl, getDropLocation, getStation, getStationLocation, getUniqueId, init, isWorkingArea, setControlAccess
-
Field Details
-
TYPE_ID
The result ofgetTypeId()
-
-
Constructor Details
-
CExternalizeArea
Creates a new area.- Parameters:
control- the owner of this areaid- the unique identifier of this area
-
-
Method Details
-
install
Description copied from class:AbstractCStationCalled when this station is added to aCControl.- Specified by:
installin classAbstractCStation<CScreenDockStation>- Parameters:
access- access to the internals of the new owner
-
uninstall
Description copied from class:AbstractCStationCalled when this station is removed from aCControl.- Specified by:
uninstallin classAbstractCStation<CScreenDockStation>- Parameters:
access- access to the internals of the old owner
-
createPerspective
Description copied from interface:CStationReturns a newCStationPerspectivethat representsthisstation. This method does not need to set any content of the new perspective. Basically this method just needs to tell the framework what type ofCStationPerspectiveis needed, not what its content is.- Returns:
- the new, empty perspective
- See Also:
-
getTypeId
Description copied from interface:CStationGets a unique path denoting the type of this station. This path will be given toMissingPerspectiveStrategy.createStation(String, Path)when loading a layout as aCPerspective.- Returns:
- the type of this station. Paths starting with "dock." are reserved for the
framework. A value of
nullwill just be ignored.
-