com.alee.laf.radiobutton.AdaptiveRadioButtonPainter Maven / Gradle / Ivy
package com.alee.laf.radiobutton;
import com.alee.api.annotations.Nullable;
import com.alee.painter.AdaptivePainter;
import com.alee.painter.Painter;
import javax.swing.*;
import java.awt.*;
/**
* Simple {@link RadioButtonPainter} adapter class.
* It is used to install simple non-specific painters into {@link WRadioButtonUI}.
*
* @param component type
* @param component UI type
* @author Alexandr Zernov
*/
public final class AdaptiveRadioButtonPainter>
extends AdaptivePainter implements IRadioButtonPainter
{
/**
* Constructs new {@link AdaptiveRadioButtonPainter} for the specified painter.
*
* @param painter painter to adapt
*/
public AdaptiveRadioButtonPainter ( final Painter painter )
{
super ( painter );
}
@Nullable
@Override
public Rectangle getIconBounds ()
{
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy