com.alee.laf.table.AdaptiveTableHeaderPainter Maven / Gradle / Ivy
The newest version!
package com.alee.laf.table;
import com.alee.painter.AdaptivePainter;
import com.alee.painter.Painter;
import javax.swing.*;
import javax.swing.table.JTableHeader;
/**
* Simple {@link TableHeaderPainter} adapter class.
* It is used to install simple non-specific painters into {@link WebTableHeaderUI}.
*
* @param component type
* @param component UI type
* @author Alexandr Zernov
*/
public final class AdaptiveTableHeaderPainter extends AdaptivePainter
implements ITableHeaderPainter
{
/**
* Constructs new {@link AdaptiveTableHeaderPainter} for the specified painter.
*
* @param painter {@link Painter} to adapt
*/
public AdaptiveTableHeaderPainter ( final Painter painter )
{
super ( painter );
}
@Override
public void prepareToPaint ( final CellRendererPane rendererPane )
{
// Ignore this method in adaptive class
}
}