public class DockViewUI extends PanelUI
Default behaviour in to install a shadow border on the dockview, but this can be replaced by overriding the 3 installXXXDockableBorder methods.
| Modifier and Type | Field and Description |
|---|---|
protected com.vldocking.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 and Description |
|---|
DockViewUI() |
| Modifier and Type | Method and Description |
|---|---|
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)
|
protected void |
installSingleDockableBorder(DockView v)
Installs a border when the DockView target is a SingleDockableContainer
(not nested in a tabbed container )
|
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) |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, updateprotected com.vldocking.swing.docking.ui.DockViewUI.ViewAncestorListener ancestorListener
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI in class ComponentUIpublic void uninstallUI(JComponent c)
uninstallUI in class ComponentUIprotected void installSingleDockableBorder(DockView v)
default is a shadowed border.
protected void installTabbedDockableBorder(DockView v)
Default is a shadow border without top and left shadows
protected void installMaximizedDockableBorder(DockView v)
Default is a shadow border without top and left shadows
© Copyright 2004-2013 Lilian Chamontin. All Rights Reserved.