public class DefaultDockableContainerFactory extends DockableContainerFactory
Uses DockView as a SingleDockableContainer,
and DockTabbedPane as a TabbedDockableContainer
Note : the API has changed between VLDocking 1.1 and 2.0 : the createDockableContainer now uses a second parameter to specify the context of the container creation.
DockableContainerFactory.ParentType| Constructor and Description |
|---|
DefaultDockableContainerFactory() |
| Modifier and Type | Method and Description |
|---|---|
SingleDockableContainer |
createDockableContainer(Dockable dockable,
DockableContainerFactory.ParentType parentType)
Returns the component used to modify the expand panel size when expanded from the top.
|
FloatingDockableContainer |
createFloatingDockableContainer(Window owner)
This method is called when a dockable is detached from the DockingDesktop and put
in the FLOATING state.
|
TabbedDockableContainer |
createTabbedDockableContainer()
Returns the container used for tabbed docking.
|
DockViewTitleBar |
createTitleBar()
This implementation of the factory method return a default DockViewTitleBar
object.
|
createDockableContainer, getFactory, setFactorypublic SingleDockableContainer createDockableContainer(Dockable dockable, DockableContainerFactory.ParentType parentType)
createDockableContainer in class DockableContainerFactoryDockView,
TabbedDockView,
MaximizedDockView,
DetachedDockViewpublic TabbedDockableContainer createTabbedDockableContainer()
Current implementation uses the DockTabbedPane class.
createTabbedDockableContainer in class DockableContainerFactoryDockTabbedPanepublic FloatingDockableContainer createFloatingDockableContainer(Window owner)
The floating container must be an instanceof Dialog or Window.
createFloatingDockableContainer in class DockableContainerFactorypublic DockViewTitleBar createTitleBar()
createTitleBar in class DockableContainerFactory© Copyright 2004-2013 Lilian Chamontin. All Rights Reserved.