Class PlasticTextFieldUI

All Implemented Interfaces:
ViewFactory

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.9 $
  • Constructor Details

    • PlasticTextFieldUI

      public PlasticTextFieldUI()
  • Method Details

    • createUI

      public static ComponentUI createUI(JComponent c)
      Creates a UI for a JTextField.
      Parameters:
      c - the text field
      Returns:
      the UI
    • createCaret

      protected Caret createCaret()
      Creates the caret for a field.
      Overrides:
      createCaret in class BasicTextUI
      Returns:
      the caret