com.vlsolutions.swing.docking

Class TabFactory


public class TabFactory
extends DefaultDockableContainerFactory

A factory that replaces DockViews (with title headers) by tabbed panes with a single tab.

This factory provides a unified GUI for single AND tabbed components (with the exception of auto-hide and single-floating that still use the standard title bars).

It is still in an early stage and will be improved in future releases, depending on its adoption.

Since:
2.1.3

Field Summary

Fields inherited from class com.vlsolutions.swing.docking.DockableContainerFactory

PARENT_DESKTOP, PARENT_DETACHED_WINDOW, PARENT_SPLIT_CONTAINER, PARENT_TABBED_CONTAINER

Method Summary

SingleDockableContainer
createDockableContainer(Dockable dockable, int parentType)
Returns the component used to modify the expand panel size when expanded from the top.

Methods inherited from class com.vlsolutions.swing.docking.DefaultDockableContainerFactory

createDockableContainer, createFloatingDockableContainer, createTabbedDockableContainer, createTitleBar

Methods inherited from class com.vlsolutions.swing.docking.DockableContainerFactory

createDockableContainer, createDockableContainer, createFloatingDockableContainer, createTabbedDockableContainer, createTitleBar, getFactory, setFactory

Method Details

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 :
  • DockView for standard dockables
  • TabbedDockView for dockable contained in a tabContainer
  • MaximizedDockView for maximized dockables
  • DetachedDockView for floating dockables.
Overrides:
createDockableContainer in interface DefaultDockableContainerFactory

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