bibliothek.gui.dock.common.intern
Interface CommonDockable

All Superinterfaces:
Dockable, DockElement, DockElementRepresentative
All Known Implementing Classes:
DefaultCommonDockable

public interface CommonDockable
extends Dockable

Represents a CDockable.

Author:
Benjamin Sigg

Method Summary
 DockActionSource getClose()
          Gets the DockActionSource which shows the close-action.
 CDockable getDockable()
          Gets the model of this dockable.
 String getFactoryID()
          Gets the identifier of the DockFactory which can store and load this dockable.
 CStation getStation()
          Gets the model of this dockable as station.
 
Methods inherited from interface bibliothek.gui.Dockable
accept, accept, addDockableListener, addDockHierarchyListener, addMouseInputListener, bind, configureDisplayerHints, getComponent, getController, getDockParent, getDockTitle, getGlobalActionOffers, getLocalActionOffers, getTitleIcon, getTitleText, getTitleToolTip, listBoundTitles, removeDockableListener, removeDockHierarchyListener, removeMouseInputListener, setController, setDockParent, unbind
 
Methods inherited from interface bibliothek.gui.dock.DockElement
asDockable, asDockStation
 
Methods inherited from interface bibliothek.gui.dock.DockElementRepresentative
getElement, getPopupLocation, isUsedAsTitle
 

Method Detail

getDockable

CDockable getDockable()
Gets the model of this dockable.

Returns:
the model

getStation

CStation getStation()
Gets the model of this dockable as station.

Returns:
the model, may be null

getClose

DockActionSource getClose()
Gets the DockActionSource which shows the close-action.

Returns:
the action source

getFactoryID

String getFactoryID()
Gets the identifier of the DockFactory which can store and load this dockable. CommonDockables which show a SingleCDockable should return CommonSingleDockableFactory.BACKUP_FACTORY_ID and the others should return the id of MultipleCDockable.getFactory().

Specified by:
getFactoryID in interface DockElement
Returns:
the name of the factory