com.alee.laf.checkbox.AdaptiveCheckBoxPainter Maven / Gradle / Ivy
package com.alee.laf.checkbox;
import com.alee.painter.AdaptivePainter;
import com.alee.painter.Painter;
import javax.swing.*;
import java.awt.*;
/**
* Simple {@link CheckBoxPainter} adapter class.
* It is used to install simple non-specific painters into {@link WCheckBoxUI}.
*
* @param component type
* @param component UI type
* @author Alexandr Zernov
*/
public final class AdaptiveCheckBoxPainter>
extends AdaptivePainter implements ICheckBoxPainter
{
/**
* Constructs new {@link AdaptiveCheckBoxPainter} for the specified painter.
*
* @param painter painter to adapt
*/
public AdaptiveCheckBoxPainter ( final Painter painter )
{
super ( painter );
}
@Override
public Rectangle getIconBounds ()
{
return null;
}
}