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.MouseInputHandlerheader, 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) |
rolloverColumnUpdatedcreateMouseInputListener, getBaseline, getMaximumSize, getMinimumSize, getPreferredSize, getRolloverColumn, installDefaults, installKeyboardActions, installListeners, uninstallDefaults, uninstallKeyboardActions, uninstallListenerscontains, getAccessibleChild, getAccessibleChildrenCount, getBaselineResizeBehavior, updatepublic static ComponentUI createUI(JComponent h)
public void installUI(JComponent c)
installUI in class com.sun.java.swing.plaf.windows.WindowsTableHeaderUIpublic void uninstallUI(JComponent c)
uninstallUI in class com.sun.java.swing.plaf.windows.WindowsTableHeaderUIpublic void paint(Graphics g, JComponent c)
paint in class BasicTableHeaderUICopyright © 2001-2014 JGoodies Software GmbH. All Rights Reserved.