com.vlsolutions.swing.docking.ui

Class DockViewUI


public class DockViewUI
extends PanelUI

This is the UI delegate for the DockView class.

Default behaviour in to install a shadow border on the dockview, but this can be replaced by overriding the 3 installXXXDockableBorder methods.

Since:
2.0

Field Summary

protected com.vlsolutions.swing.docking.ui.DockViewUI.ViewAncestorListener
ancestorListener
Ancestor listener used to install different borders depending on the usage of the dock view (docked, maximized, tabbed).

Constructor Summary

DockViewUI()

Method Summary

static ComponentUI
createUI(JComponent c)
protected void
installMaximizedDockableBorder(DockView v)
Installs a border when the DockView target is unique on the desktop (mamimized, or alone)

Default is a shadow border without top and left shadows

protected void
installSingleDockableBorder(DockView v)
Installs a border when the DockView target is a SingleDockableContainer (not nested in a tabbed container )

default is a shadowed border.

protected void
installTabbedDockableBorder(DockView v)
Installs a border when the DockView target is included in a TabbedDockableContainer.
void
installUI(JComponent c)
void
uninstallUI(JComponent c)

Field Details

ancestorListener

protected com.vlsolutions.swing.docking.ui.DockViewUI.ViewAncestorListener ancestorListener
Ancestor listener used to install different borders depending on the usage of the dock view (docked, maximized, tabbed).

Constructor Details

DockViewUI

public DockViewUI()

Method Details

createUI

public static ComponentUI createUI(JComponent c)

installMaximizedDockableBorder

protected void installMaximizedDockableBorder(DockView v)
Installs a border when the DockView target is unique on the desktop (mamimized, or alone)

Default is a shadow border without top and left shadows


installSingleDockableBorder

protected void installSingleDockableBorder(DockView v)
Installs a border when the DockView target is a SingleDockableContainer (not nested in a tabbed container )

default is a shadowed border.


installTabbedDockableBorder

protected void installTabbedDockableBorder(DockView v)
Installs a border when the DockView target is included in a TabbedDockableContainer.

Default is a shadow border without top and left shadows


installUI

public void installUI(JComponent c)

uninstallUI

public void uninstallUI(JComponent c)

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