All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alee.laf.button.AdaptiveButtonPainter Maven / Gradle / Ivy

package com.alee.laf.button;

import com.alee.painter.AdaptivePainter;
import com.alee.painter.Painter;

import javax.swing.*;

/**
 * Simple {@link IButtonPainter} adapter class.
 * It is used to install simple non-specific painters into {@link WButtonUI}.
 *
 * @param  component type
 * @param  component UI type
 * @author Mikle Garin
 */
public final class AdaptiveButtonPainter>
        extends AdaptivePainter implements IButtonPainter
{
    /**
     * Constructs new {@link AdaptiveButtonPainter} for the specified {@link Painter}.
     *
     * @param painter {@link Painter} to adapt
     */
    public AdaptiveButtonPainter ( final Painter painter )
    {
        super ( painter );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy