protected void paintBorder(Graphics g, JComponent c) {
}
protected void paintBackground(Graphics g, JComponent c) {
HeaderBox headerBox = (HeaderBox) c;
Rectangle rect = new Rectangle(0, 0, c.getWidth(), c.getHeight());
if (headerBox.getModel().isPressed()) {
_painter.paintHeaderBoxBackground(c, g, rect, SwingConstants.HORIZONTAL, ThemePainter.STATE_PRESSED);
}
else if (headerBox.getModel().isSelected()) {
_painter.paintHeaderBoxBackground(c, g, rect, SwingConstants.HORIZONTAL, ThemePainter.STATE_SELECTED);
}
else if (headerBox.getModel().isRollover()) {
_painter.paintHeaderBoxBackground(c, g, rect, SwingConstants.HORIZONTAL, ThemePainter.STATE_ROLLOVER);
}
else {
_painter.paintHeaderBoxBackground(c, g, rect, SwingConstants.HORIZONTAL, ThemePainter.STATE_DEFAULT);
}