com.alee.extended.button.AdaptiveSplitButtonPainter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weblaf-ui Show documentation
Show all versions of weblaf-ui Show documentation
WebLaf is a Java Swing Look and Feel and extended components library for cross-platform applications
package com.alee.extended.button;
import com.alee.painter.AdaptivePainter;
import com.alee.painter.Painter;
/**
* Simple SplitButtonPainter adapter class.
* It is used to install simple non-specific painters into WebSplitButtonUI.
*
* @author Mikle Garin
*/
public final class AdaptiveSplitButtonPainter extends AdaptivePainter
implements ISplitButtonPainter
{
/**
* Constructs new AdaptiveSplitButtonPainter for the specified painter.
*
* @param painter painter to adapt
*/
public AdaptiveSplitButtonPainter ( final Painter painter )
{
super ( painter );
}
@Override
public boolean isOnSplit ()
{
return false;
}
}