com.vlsolutions.swing.docking

Class DefaultDockableContainerFactory

public class DefaultDockableContainerFactory extends DockableContainerFactory

Default implementation of the 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.

Constructor Summary
DefaultDockableContainerFactory()
Method Summary
SingleDockableContainercreateDockableContainer(Dockable dockable, int parentType)
Returns the component used to modify the expand panel size when expanded from the top.
FloatingDockableContainercreateFloatingDockableContainer(Window owner)
This method is called when a dockable is detached from the DockingDesktop and put in the FLOATING state.
TabbedDockableContainercreateTabbedDockableContainer()
Returns the container used for tabbed docking.
DockViewTitleBarcreateTitleBar()
This implementation of the factory method return a default DockViewTitleBar object.

Constructor Detail

DefaultDockableContainerFactory

public DefaultDockableContainerFactory()

Method Detail

createDockableContainer

public SingleDockableContainer createDockableContainer(Dockable dockable, int parentType)
Returns the component used to modify the expand panel size when expanded from the top. This implementation uses the following components :

See Also: DockView TabbedDockView MaximizedDockView DetachedDockView

createFloatingDockableContainer

public FloatingDockableContainer createFloatingDockableContainer(Window owner)
This method is called when a dockable is detached from the DockingDesktop and put in the FLOATING state.

The floating container must be an instanceof Dialog or Window.

createTabbedDockableContainer

public TabbedDockableContainer createTabbedDockableContainer()
Returns the container used for tabbed docking.

Current implementation uses the DockTabbedPane class.

See Also: DockTabbedPane

createTitleBar

public DockViewTitleBar createTitleBar()
This implementation of the factory method return a default DockViewTitleBar object.

Since: 2.1.3

© Copyright 2004-2007 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications