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