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

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

package com.alee.laf.button;

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

import javax.swing.*;

/**
 * Simple ToggleButtonPainter adapter class.
 * It is used to install simple non-specific painters into WebToggleButtonUI.
 *
 * @param  component type
 * @param  component UI type
 * @author Mikle Garin
 */

public final class AdaptiveToggleButtonPainter extends AdaptivePainter
        implements IToggleButtonPainter
{
    /**
     * Constructs new AdaptiveToggleButtonPainter for the specified painter.
     *
     * @param painter painter to adapt
     */
    public AdaptiveToggleButtonPainter ( final Painter painter )
    {
        super ( painter );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy