com.vlsolutions.swing.docking.ui
public class DockViewTitleBarUI extends PanelUI implements PropertyChangeListener
Since: 2.0
UNKNOWN: 2006/12/01 Lilian Chamontin : added client property support for dockKey, and react to visibleTitleBar 2007/01/08 Lilian Chamontin : added support for autohide/dock disabled when hidden
| Field Summary | |
|---|---|
| protected DockViewTitleBar | titleBar |
| Constructor Summary | |
|---|---|
| DockViewTitleBarUI(DockViewTitleBar tb) | |
| Method Summary | |
|---|---|
| protected void | configureAttachButton(JButton btn) installs the icons and tooltip suitable for an attach button |
| protected void | configureButtons(DockViewTitleBar tb) Update the buttons to track state changes (for example, the maximize button can become "restore"
when the view is maximized. |
| protected void | configureCloseButton(JButton btn) installs the icons and tooltip suitable for a close button |
| protected void | configureDockButton(JButton btn) installs the icons and tooltip suitable for a dock button |
| protected void | configureFloatButton(JButton btn) installs the icons and tooltip suitable for a float button |
| protected void | configureHideButton(JButton btn) installs the icons and tooltip suitable for a hide button |
| protected void | configureMaximizeButton(JButton btn) installs the icons and tooltip suitable for a maximize button |
| protected void | configureRestoreButton(JButton btn) installs the icons and tooltip suitable for a restore button. |
| static ComponentUI | createUI(JComponent c) |
| protected void | installBackground() Installs the default background of the title bar |
| protected void | installButtons() configure the title bar buttons |
| protected void | installLabel() Installs default on the titlebar label |
| protected void | installTitleBorder(JComponent c) installs the border of the title bar |
| void | installUI(JComponent c) |
| void | paint(Graphics g, JComponent c) Custom title bar painting : uses a gradient from the background color
to the control highlight color. |
| void | propertyChange(PropertyChangeEvent e) Listen to property changes in the DockKey or the title bar |
| protected void | uninstallTitleBorder(JComponent c) uninstalls the icons and tooltip suitable for a close button |
| void | uninstallUI(JComponent c) |