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

com.alee.laf.slider.AdaptiveSliderPainter Maven / Gradle / Ivy

package com.alee.laf.slider;

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

import javax.swing.*;

/**
 * Simple SliderPainter adapter class.
 * It is used to install simple non-specific painters into WebSliderUI.
 *
 * @author Alexandr Zernov
 */

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

    @Override
    public void setDragging ( final boolean dragging )
    {
        // Ignore this method in adaptive class
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy