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(java.awt.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, setFactory
public SingleDockableContainer createDockableContainer(Dockable dockable, DockableContainerFactory.ParentType parentType)
createDockableContainer
in class DockableContainerFactory
DockView
,
TabbedDockView
,
MaximizedDockView
,
DetachedDockView
public TabbedDockableContainer createTabbedDockableContainer()
Current implementation uses the DockTabbedPane class.
createTabbedDockableContainer
in class DockableContainerFactory
DockTabbedPane
public FloatingDockableContainer createFloatingDockableContainer(java.awt.Window owner)
The floating container must be an instanceof Dialog or Window.
createFloatingDockableContainer
in class DockableContainerFactory
public DockViewTitleBar createTitleBar()
createTitleBar
in class DockableContainerFactory
Copyright © 2010-2014 Pacific Biosciences. All Rights Reserved.