com.vlsolutions.swing.docking

Class CompoundDockingPanel

Implemented Interfaces:
DockDropReceiver

public class CompoundDockingPanel
extends JPanel
implements DockDropReceiver

A specialized container used to nest dockables inside that sub-part of the desktop.

This component is used by the API (as the associate component of a CompoundDockable) and shouldn't be used outside this context.

Since:
2.1
See Also:
CompoundDockable

Constructor Summary

CompoundDockingPanel(CompoundDockable dockable)
Constructs a new CompoundDockingPanel, for a given dockable

Method Summary

CompoundDockable
getDockable()
Returns the compound dockable this container is for
void
processDockableDrag(DockDragEvent event)
act the same as a splitContainer : allow drop on the borders
void
processDockableDrop(DockDropEvent event)

Constructor Details

CompoundDockingPanel

public CompoundDockingPanel(CompoundDockable dockable)
Constructs a new CompoundDockingPanel, for a given dockable

Method Details

getDockable

public CompoundDockable getDockable()
Returns the compound dockable this container is for

processDockableDrag

public void processDockableDrag(DockDragEvent event)
act the same as a splitContainer : allow drop on the borders
Specified by:
processDockableDrag in interface DockDropReceiver

processDockableDrop

public void processDockableDrop(DockDropEvent event)
Specified by:
processDockableDrop in interface DockDropReceiver

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