com.jgoodies.looks.plastic

Class PlasticTextFieldUI

public final class PlasticTextFieldUI extends MetalTextFieldUI

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.3 $

Author: Karsten Lentzsch

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

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 JTextField.

Parameters: c the text field

Returns: the UI

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