com.alee.extended.button.AdaptiveSplitButtonPainter Maven / Gradle / Ivy
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