com.alee.laf.rootpane.AdaptiveRootPanePainter Maven / Gradle / Ivy
package com.alee.laf.rootpane;
import com.alee.painter.AdaptivePainter;
import com.alee.painter.Painter;
import javax.swing.*;
/**
* Simple {@link RootPanePainter} adapter class.
* It is used to install simple non-specific {@link Painter}s into {@link WRootPaneUI}.
*
* @param component type
* @param component UI type
* @author Alexandr Zernov
*/
public final class AdaptiveRootPanePainter extends AdaptivePainter
implements IRootPanePainter
{
/**
* Constructs new {@link AdaptiveRootPanePainter} for the specified painter.
*
* @param painter {@link Painter} to adapt
*/
public AdaptiveRootPanePainter ( final Painter painter )
{
super ( painter );
}
@Override
public boolean isDecorated ()
{
return false;
}
}