bibliothek.gui.dock.common.intern
Interface CommonDockable

All Superinterfaces:
Dockable, DockElement
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.
 
Methods inherited from interface bibliothek.gui.Dockable
accept, accept, addDockableListener, addDockHierarchyListener, addMouseInputListener, bind, getComponent, getController, getDockParent, getDockTitle, getGlobalActionOffers, getLocalActionOffers, getTitleIcon, getTitleText, listBoundTitles, removeDockableListener, removeDockHierarchyListener, removeMouseInputListener, setController, setDockParent, unbind
 
Methods inherited from interface bibliothek.gui.dock.DockElement
asDockable, asDockStation
 

Method Detail

getDockable

CDockable getDockable()
Gets the model of this dockable.

Returns:
the model

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