FileDocCategorySizeDatePackage
SynthFormattedTextFieldUI.javaAPI DocJava SE 5 API1526Fri Aug 26 14:58:12 BST 2005javax.swing.plaf.synth

SynthFormattedTextFieldUI

public class SynthFormattedTextFieldUI extends SynthTextFieldUI
Provides the look and feel implementation for JFormattedTextField.
version
1.5, 12/19/03

Fields Summary
Constructors Summary
Methods Summary
public static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)
Creates a UI for a JFormattedTextField.

param
c the formatted text field
return
the UI

        return new SynthFormattedTextFieldUI();
    
protected java.lang.StringgetPropertyPrefix()
Fetches the name used as a key to lookup properties through the UIManager. This is used as a prefix to all the standard text properties.

return
the name "FormattedTextField"

	return "FormattedTextField";
    
voidpaintBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, javax.swing.JComponent c)

        context.getPainter().paintFormattedTextFieldBackground(context, g, 0,
                             0, c.getWidth(), c.getHeight());
    
public voidpaintBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)

        context.getPainter().paintFormattedTextFieldBorder(context, g, x, y,
                                                           w, h);