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

com.alee.extended.button.AdaptiveSplitButtonPainter Maven / Gradle / Ivy

There is a newer version: 1.2.14
Show newest version
package com.alee.extended.button;

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

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

    @Override
    public boolean isOnMenu ()
    {
        return false;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy