com.vlsolutions.swing.docking

Class DockablePanel

public class DockablePanel extends JPanel implements Dockable

A basic implementation of Dockable.

It's a JPanel with a BorderLayout, and it can display a single Dockable.

This class is provided as an intermediary between a User Component and the docking desktop (for example, for application that don't want to be too tied with the DockingFramework).

Constructor Summary
DockablePanel()
DockablePanel(Component contained, DockKey key)
Method Summary
ComponentgetComponent()
DockKeygetDockKey()
voidsetComponent(Component comp)
Removes all contained components (normally no more than one), and put this comp on the center area of the BorderLayout.
voidsetDockKey(DockKey key)

Constructor Detail

DockablePanel

public DockablePanel()

DockablePanel

public DockablePanel(Component contained, DockKey key)

Method Detail

getComponent

public Component getComponent()

getDockKey

public DockKey getDockKey()

setComponent

public void setComponent(Component comp)
Removes all contained components (normally no more than one), and put this comp on the center area of the BorderLayout.

setDockKey

public void setDockKey(DockKey key)
© Copyright 2004-2005 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications