public final class WindowsXPTableHeaderUI
extends com.sun.java.swing.plaf.windows.WindowsTableHeaderUI
TableHeaderUI
.
A Windows table header that honors the XP header style even if the user
uses custom non-opaque renderers. The renderers should be a subclass of
JComponent
because we need to replace the border by the one
specified in the XP style.Thanks to Andrej Golovnin for his feedback and suggestions.
BasicTableHeaderUI.MouseInputHandler
header, mouseInputListener, rendererPane
Constructor and Description |
---|
WindowsXPTableHeaderUI() |
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent h) |
void |
installUI(JComponent c) |
void |
paint(Graphics g,
JComponent c) |
void |
uninstallUI(JComponent c) |
rolloverColumnUpdated
createMouseInputListener, getBaseline, getMaximumSize, getMinimumSize, getPreferredSize, getRolloverColumn, installDefaults, installKeyboardActions, installListeners, uninstallDefaults, uninstallKeyboardActions, uninstallListeners
contains, getAccessibleChild, getAccessibleChildrenCount, getBaselineResizeBehavior, update
public static ComponentUI createUI(JComponent h)
public void installUI(JComponent c)
installUI
in class com.sun.java.swing.plaf.windows.WindowsTableHeaderUI
public void uninstallUI(JComponent c)
uninstallUI
in class com.sun.java.swing.plaf.windows.WindowsTableHeaderUI
public void paint(Graphics g, JComponent c)
paint
in class BasicTableHeaderUI
Copyright © 2012 JGoodies. All Rights Reserved.