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 DockViewUI.ViewAncestorListenerancestorListener
Ancestor listener used to install different borders depending on the usage of the dock view (docked, maximized, tabbed).
Constructor Summary
DockViewUI()
Method Summary
static ComponentUIcreateUI(JComponent c)
protected voidinstallMaximizedDockableBorder(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 voidinstallSingleDockableBorder(DockView v)
Installs a border when the DockView target is a SingleDockableContainer (not nested in a tabbed container )

default is a shadowed border.

protected voidinstallTabbedDockableBorder(DockView v)
Installs a border when the DockView target is included in a TabbedDockableContainer.
voidinstallUI(JComponent c)
voiduninstallUI(JComponent c)

Field Detail

ancestorListener

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

Constructor Detail

DockViewUI

public DockViewUI()

Method Detail

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-2007 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications