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

com.alee.laf.menu.AdaptiveMenuPainter Maven / Gradle / Ivy

The newest version!
package com.alee.laf.menu;

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

import javax.swing.*;

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy