Class PlasticFormattedTextFieldUI

All Implemented Interfaces:
ViewFactory

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

    • PlasticFormattedTextFieldUI

      public PlasticFormattedTextFieldUI()
  • Method Details

    • createUI

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

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