Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.vlsolutions.swing.docking.DockableContainerFactory
com.vlsolutions.swing.docking.DefaultDockableContainerFactory
public class DefaultDockableContainerFactory
extends DockableContainerFactory
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 | |
Method Summary | |
SingleDockableContainer |
|
FloatingDockableContainer |
|
TabbedDockableContainer |
|
DockViewTitleBar |
|
Methods inherited from class com.vlsolutions.swing.docking.DockableContainerFactory | |
createDockableContainer , createDockableContainer , createFloatingDockableContainer , createTabbedDockableContainer , createTitleBar , getFactory , setFactory |
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 DockableContainerFactory
- See Also:
DockView
,TabbedDockView
,MaximizedDockView
,DetachedDockView
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.
- Overrides:
- createFloatingDockableContainer in interface DockableContainerFactory
public TabbedDockableContainer createTabbedDockableContainer()
Returns the container used for tabbed docking. Current implementation uses the DockTabbedPane class.
- Overrides:
- createTabbedDockableContainer in interface DockableContainerFactory
- See Also:
DockTabbedPane
public DockViewTitleBar createTitleBar()
This implementation of the factory method return a default DockViewTitleBar object.
- Overrides:
- createTitleBar in interface DockableContainerFactory
- Since:
- 2.1.3