APIdia Launch Partner
Top Description Constructors Methods
javax.swing.plaf.synth

public Class SynthFormattedTextFieldUI

extends SynthTextFieldUI
Class Inheritance
Imports
java.awt.Graphics, javax.swing.JComponent, javax.swing.plaf.ComponentUI

Provides the Synth L&F UI delegate for javax.swing.JFormattedTextField.
Since
1.7

Constructor Summary

AccessConstructor and Description
public
SynthFormattedTextFieldUI()

Constructs a SynthFormattedTextFieldUI.

Method Summary

Modifier and TypeMethod and Description
public static ComponentUI

Returns:

the UI
createUI
(JComponent
the formatted text field
c
)

Hides javax.swing.plaf.synth.SynthTextFieldUI.createUI.

Creates a UI for a JFormattedTextField.

protected String

Returns:

the name "FormattedTextField"
getPropertyPrefix
()

Overrides javax.swing.plaf.basic.BasicTextFieldUI.getPropertyPrefix.

Fetches the name used as a key to lookup properties through the UIManager.

pack-priv void
public void
paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthTextFieldUI.paintBorder.

Implements javax.swing.plaf.synth.SynthUI.paintBorder.

Paints the border.

Inherited from javax.swing.plaf.synth.SynthTextFieldUI:
getContextinstallDefaultspaintpaintBackgroundpropertyChangeuninstallDefaultsupdateupdateStyle

Constructor Detail

SynthFormattedTextFieldUIback to summary
public SynthFormattedTextFieldUI()

Constructs a SynthFormattedTextFieldUI.

Method Detail

createUIback to summary
public static ComponentUI createUI(JComponent c)

Hides javax.swing.plaf.synth.SynthTextFieldUI.createUI.

Creates a UI for a JFormattedTextField.

Parameters
c:JComponent

the formatted text field

Returns:ComponentUI

the UI

getPropertyPrefixback to summary
protected String getPropertyPrefix()

Overrides javax.swing.plaf.basic.BasicTextFieldUI.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.

Returns:String

the name "FormattedTextField"

Annotations
@Override
paintBackgroundback to summary
pack-priv void paintBackground(SynthContext context, Graphics g, JComponent c)

Overrides javax.swing.plaf.synth.SynthTextFieldUI.paintBackground.

Annotations
@Override
paintBorderback to summary
public void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)

Overrides javax.swing.plaf.synth.SynthTextFieldUI.paintBorder.

Implements javax.swing.plaf.synth.SynthUI.paintBorder.

Doc from javax.swing.plaf.synth.SynthTextFieldUI.paintBorder.

Paints the border.

Annotations
@Override