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

com.alee.laf.viewport.AdaptiveViewportPainter Maven / Gradle / Ivy

package com.alee.laf.viewport;

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

import javax.swing.*;

/**
 * Simple {@link ViewportPainter} adapter class.
 * It is used to install simple non-specific painters into {@link WViewportUI}.
 *
 * @param  component type
 * @param  component UI type
 * @author Alexandr Zernov
 */

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy