configureAttachButton
protected void configureAttachButton(JButton btn)
installs the icons and tooltip suitable for an attach button
configureButtons
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.
configureCloseButton
protected void configureCloseButton(JButton btn)
installs the icons and tooltip suitable for a close button
configureDockButton
protected void configureDockButton(JButton btn)
installs the icons and tooltip suitable for a dock button
configureFloatButton
protected void configureFloatButton(JButton btn)
installs the icons and tooltip suitable for a float button
configureHideButton
protected void configureHideButton(JButton btn)
installs the icons and tooltip suitable for a hide button
configureMaximizeButton
protected void configureMaximizeButton(JButton btn)
installs the icons and tooltip suitable for a maximize button
configureRestoreButton
protected void configureRestoreButton(JButton btn)
installs the icons and tooltip suitable for a restore button.
createUI
public static ComponentUI createUI(JComponent c)
installBackground
protected void installBackground()
Installs the default background of the title bar
installButtons
protected void installButtons()
configure the title bar buttons
installLabel
protected void installLabel()
Installs default on the titlebar label
installTitleBorder
protected void installTitleBorder(JComponent c)
installs the border of the title bar
installUI
public void installUI(JComponent c)
paint
public void paint(Graphics g,
JComponent c)
Custom title bar painting : uses a gradient from the background color
to the control highlight color.
propertyChange
public void propertyChange(PropertyChangeEvent e)
Listen to property changes in the DockKey or the title bar
uninstallTitleBorder
protected void uninstallTitleBorder(JComponent c)
uninstalls the icons and tooltip suitable for a close button
uninstallUI
public void uninstallUI(JComponent c)