com.jgoodies.looks.plastic

Class PlasticFormattedTextFieldUI

public final class PlasticFormattedTextFieldUI extends BasicFormattedTextFieldUI

The JGoodies Plastic L&F implementation of TextFieldUI. In addition to its superclass MetalTextFieldUI, it can use a caret that selects all text when the field gains focus via the keyboard.

Version: $Revision: 1.4 $

Author: Karsten Lentzsch

Method Summary
protected CaretcreateCaret()
Creates the caret for a field.
static ComponentUIcreateUI(JComponent c)
Creates a UI for a JFormattedTextField.

Method Detail

createCaret

protected Caret createCaret()
Creates the caret for a field.

Returns: the caret

createUI

public static ComponentUI createUI(JComponent c)
Creates a UI for a JFormattedTextField.

Parameters: c the formatted text field

Returns: the UI

Copyright © 2001-2008 JGoodies Karsten Lentzsch. All Rights Reserved.