SynthFormattedTextFieldUIpublic class SynthFormattedTextFieldUI extends SynthTextFieldUI Provides the look and feel implementation for
JFormattedTextField . |
Methods Summary |
---|
public static javax.swing.plaf.ComponentUI | createUI(javax.swing.JComponent c)Creates a UI for a JFormattedTextField.
return new SynthFormattedTextFieldUI();
| protected java.lang.String | getPropertyPrefix()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 "FormattedTextField";
| void | paintBackground(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 void | paintBorder(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);
|
|