javax.swing.plaf.metal

Class MetalTextFieldUI

public class MetalTextFieldUI extends BasicTextFieldUI

A UI delegate for the {@link JTextField} component.
Constructor Summary
MetalTextFieldUI()
Constructs a new instance of MetalTextFieldUI.
Method Summary
static ComponentUIcreateUI(JComponent component)
Returns a new instance of MetalTextFieldUI.
voidpropertyChange(PropertyChangeEvent evt)
This method gets called when a bound property is changed on the associated JTextComponent.

Constructor Detail

MetalTextFieldUI

public MetalTextFieldUI()
Constructs a new instance of MetalTextFieldUI.

Method Detail

createUI

public static ComponentUI createUI(JComponent component)
Returns a new instance of MetalTextFieldUI.

Parameters: component the component for which we return an UI instance

Returns: A new instance of MetalTextFieldUI.

propertyChange

public void propertyChange(PropertyChangeEvent evt)
This method gets called when a bound property is changed on the associated JTextComponent. This is a hook which UI implementations may change to reflect how the UI displays bound properties of JTextComponent subclasses.