com.vlsolutions.swing.docking
Class DefaultDockableContainerFactory

java.lang.Object
  extended by com.vlsolutions.swing.docking.DockableContainerFactory
      extended by com.vlsolutions.swing.docking.DefaultDockableContainerFactory
Direct Known Subclasses:
TabFactory

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.


Field Summary
 
Fields inherited from class com.vlsolutions.swing.docking.DockableContainerFactory
PARENT_DESKTOP, PARENT_DETACHED_WINDOW, PARENT_SPLIT_CONTAINER, PARENT_TABBED_CONTAINER
 
Constructor Summary
DefaultDockableContainerFactory()
           
 
Method Summary
 SingleDockableContainer createDockableContainer(Dockable dockable, int 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.
 
Methods inherited from class com.vlsolutions.swing.docking.DockableContainerFactory
createDockableContainer, getFactory, setFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 :

Specified by:
createDockableContainer in class DockableContainerFactory
See Also:
DockView, TabbedDockView, MaximizedDockView, DetachedDockView

createTabbedDockableContainer

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

Current implementation uses the DockTabbedPane class.

Specified by:
createTabbedDockableContainer in class DockableContainerFactory
See Also:
DockTabbedPane

createFloatingDockableContainer

public FloatingDockableContainer createFloatingDockableContainer(java.awt.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.

Specified by:
createFloatingDockableContainer in class DockableContainerFactory

createTitleBar

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

Specified by:
createTitleBar in class DockableContainerFactory
Since:
2.1.3


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