com.vlsolutions.swing.docking
public class DockablePanel extends JPanel implements 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 | |
---|---|
Component | getComponent() |
DockKey | getDockKey() |
void | setComponent(Component comp) Removes all contained components (normally no more than one), and
put this comp on the center area of the BorderLayout.
|
void | setDockKey(DockKey key) |
comp
on the center area of the BorderLayout.