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 RootPanePainter adapter class.
* It is used to install simple non-specific painters into WebRootPaneUI.
*
* @author Alexandr Zernov
*/
public final class AdaptiveRootPanePainter extends AdaptivePainter
implements IRootPanePainter
{
/**
* Constructs new AdaptiveRootPanePainter for the specified painter.
*
* @param painter painter to adapt
*/
public AdaptiveRootPanePainter ( final Painter painter )
{
super ( painter );
}
@Override
public boolean isDecorated ()
{
return false;
}
}