Package bibliothek.gui.dock.common
Interface MultipleCDockable
- All Superinterfaces:
CDockable
- All Known Implementing Classes:
DefaultMultipleCDockable
A
MultipleCDockable is a CDockable which can have
many copies in an CControl. A MultipleCDockable can
be added or removed from an CControl at any time.- If a
CControlloads a layout, allMultipleCDockables are removed and new instances are created using a set ofMultipleCDockableFactorys - Many copies of one
MultipleCDockablecan be part of aCControl - When saving a layout, the contents of a
MultipleCDockableare written out by aMultipleCDockableFactory
- Author:
- Benjamin Sigg
-
Field Summary
Fields inherited from interface bibliothek.gui.dock.common.intern.CDockable
ACTION_KEY_CLOSE, ACTION_KEY_EXTERNALIZE, ACTION_KEY_MAXIMIZE, ACTION_KEY_MINIMIZE, ACTION_KEY_MINIMIZE_HOLD, ACTION_KEY_NORMALIZE, ACTION_KEY_UNEXTERNALIZE, ACTION_KEY_UNMAXIMIZE_EXTERNALIZED -
Method Summary
Modifier and TypeMethodDescriptionGets the factory that created this dockable.booleanTells whether thisMultipleCDockableshould be removed from theCControlwhen it is made invisible.Methods inherited from interface bibliothek.gui.dock.common.intern.CDockable
addCDockableLocationListener, addCDockablePropertyListener, addCDockableStateListener, addDoubleClickListener, addFocusListener, addKeyboardListener, addVetoClosingListener, asStation, getAction, getAndClearResizeRequest, getAutoBaseLocation, getBaseLocation, getColors, getControl, getControlAccess, getExtendedMode, getFocusComponent, getFonts, getGrouping, getMinimizedSize, getParentStation, getWorkingArea, hasParent, intern, isCloseable, isDockableVisible, isEnabled, isExternalizable, isMaximizable, isMinimizable, isNormalizeable, isResizeLockedHorizontally, isResizeLockedVertically, isShowing, isSingleTabShown, isStackable, isSticky, isStickySwitchable, isTitleShown, isVisible, removeCDockableLocationListener, removeCDockablePropertyListener, removeCDockableStateListener, removeDoubleClickListener, removeFocusListener, removeKeyboardListener, removeVetoClosingListener, setControlAccess, setExtendedMode, setLocation, setLocationsAside, setLocationsAside, setLocationsAsideFocused, setMinimizedSize, setSticky, setStickySwitchable, setVisible, setWorkingArea
-
Method Details
-
getFactory
MultipleCDockableFactory<?,?> getFactory()Gets the factory that created this dockable.- Returns:
- the factory, must not be
null
-
isRemoveOnClose
boolean isRemoveOnClose()Tells whether thisMultipleCDockableshould be removed from theCControlwhen it is made invisible. If in doubt, returntrue.- Returns:
trueif this dockable should be removed from the controller when made invisible.
-