
com.vlsolutions.swing.docking.DockableContainer Maven / Gradle / Ivy
/*
VLDocking Framework 3.0
Copyright Lilian Chamontin, 2004-2013
www.vldocking.com
[email protected]
------------------------------------------------------------------------
This software is distributed under the LGPL license
The fact that you are presently reading this and using this class means that you have had
knowledge of the LGPL license and that you accept its terms.
You can read the complete license here :
http://www.gnu.org/licenses/lgpl.html
*/
package com.vlsolutions.swing.docking;
/** A DockableContainer is the base interface of GUI components used to
* display Dockable
components.
*
* The components are usually displayed with decorations
* (a title bar, docking state management buttons, a drop shadow, ...)
*
* This interface is meant for API extenders that would like to create new kind of
* containers (via the sub-interfaces {@link SingleDockableContainer}
* and {@link TabbedDockableContainer} and the {@link DockableContainerFactory}).
*
* Usually, a DockableContainer also contains (or implements) one ore more
* DockableDragSource
s
* in order to achieve drag and drop operations.
*
*
* @see DockableDragSource
* @see DockableContainerFactory
* @author Lilian Chamontin, vlsolutions.
* @version 1.0
*/
public interface DockableContainer {
/** Invoked once after creation, in order to let this component register
* its DockableDragSources to the DockingDesktop, and have a reference of this
* Desktop.
*
*
basic implementation use a single DragSource, and thus calls
* desk.installDockableDragSource(dragSource).
*
*
* */
public void installDocking(DockingDesktop desktop);
/** Called once, when the dockablecontainer is no longer used by the desktop,
* in order to releases resources and listeners taken on installDocking().
* */
public void uninstallDocking(DockingDesktop desktop);
}