com.alee.laf.text.AdaptiveTextPanePainter 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.laf.text;
import com.alee.painter.AdaptivePainter;
import com.alee.painter.Painter;
import javax.swing.*;
/**
* Simple TextPanePainter adapter class.
* It is used to install simple non-specific painters into WebTextPaneUI.
*
* @author Alexandr Zernov
*/
public final class AdaptiveTextPanePainter extends AdaptivePainter
implements ITextPanePainter
{
/**
* Constructs new AdaptiveTextPanePainter for the specified painter.
*
* @param painter painter to adapt
*/
public AdaptiveTextPanePainter ( final Painter painter )
{
super ( painter );
}
@Override
public String getInputPrompt ()
{
return null;
}
@Override
public boolean isInputPromptVisible ()
{
return false;
}
}