Methods Summary |
---|
public static javax.swing.plaf.ComponentUI | createUI(javax.swing.JComponent h)
return new WindowsTableHeaderUI();
|
public void | installUI(javax.swing.JComponent c)
super.installUI(c);
if (XPStyle.getXP() != null) {
originalHeaderRenderer = header.getDefaultRenderer();
if (originalHeaderRenderer instanceof UIResource) {
header.setDefaultRenderer(new XPDefaultRenderer());
}
}
|
protected void | rolloverColumnUpdated(int oldColumn, int newColumn)
if (XPStyle.getXP() != null) {
header.repaint(header.getHeaderRect(oldColumn));
header.repaint(header.getHeaderRect(newColumn));
}
|
public void | uninstallUI(javax.swing.JComponent c)
if (header.getDefaultRenderer() instanceof XPDefaultRenderer) {
header.setDefaultRenderer(originalHeaderRenderer);
}
super.uninstallUI(c);
|