com.alee.laf.table.AdaptiveTablePainter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weblaf-ui Show documentation
Show all versions of weblaf-ui Show documentation
WebLaf is a Java Swing Look and Feel and extended components library for cross-platform applications
package com.alee.laf.table;
import com.alee.painter.AdaptivePainter;
import com.alee.painter.Painter;
import javax.swing.*;
/**
* Simple TablePainter adapter class.
* It is used to install simple non-specific painters into WebTableUI.
*
* @author Alexandr Zernov
*/
public final class AdaptiveTablePainter extends AdaptivePainter implements ITablePainter
{
/**
* Constructs new AdaptiveTablePainter for the specified painter.
*
* @param painter painter to adapt
*/
public AdaptiveTablePainter ( final Painter painter )
{
super ( painter );
}
@Override
public void prepareToPaint ( final CellRendererPane rendererPane )
{
// Ignore this method in adaptive class
}
}