All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alee.laf.text.AdaptiveTextAreaPainter Maven / Gradle / Ivy

Go to download

WebLaf is a Java Swing Look and Feel and extended components library for cross-platform applications

There is a newer version: 2.2.1
Show newest version
package com.alee.laf.text;

import com.alee.painter.AdaptivePainter;
import com.alee.painter.Painter;

import javax.swing.*;

/**
 * Simple TextAreaPainter adapter class.
 * It is used to install simple non-specific painters into WebTextAreaUI.
 *
 * @author Alexandr Zernov
 */

public final class AdaptiveTextAreaPainter extends AdaptivePainter
        implements ITextAreaPainter
{
    /**
     * Constructs new AdaptiveTextAreaPainter for the specified painter.
     *
     * @param painter painter to adapt
     */
    public AdaptiveTextAreaPainter ( final Painter painter )
    {
        super ( painter );
    }

    @Override
    public String getInputPrompt ()
    {
        return null;
    }

    @Override
    public boolean isInputPromptVisible ()
    {
        return false;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy