com.alee.laf.text.TextFieldPainter 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.laf.text.AbstractTextFieldPainter;
import com.alee.laf.text.ITextFieldPainter;
import com.alee.laf.text.WebTextFieldUI;
import com.alee.managers.language.LM;
import com.alee.painter.decoration.IDecoration;
import javax.swing.*;
import java.awt.*;
/**
* @author Alexandr Zernov
*/
public class TextFieldPainter>
extends AbstractTextFieldPainter implements ITextFieldPainter, SwingConstants
{
@Override
public String getInputPrompt ()
{
return LM.get ( ui.getInputPrompt () );
}
@Override
public Component getTrailingComponent ()
{
return ui.getTrailingComponent ();
}
@Override
public Component getLeadingComponent ()
{
return ui.getLeadingComponent ();
}
}