Class TextFieldUIWithUndo

java.lang.Object
org.apache.jorphan.gui.ui.TextFieldUIWithUndo

@API(since="5.3", status=EXPERIMENTAL) public class TextFieldUIWithUndo extends Object
Installs undo for all TextField Swing components.
  • Field Details

  • Constructor Details

    • TextFieldUIWithUndo

      public TextFieldUIWithUndo()
  • Method Details

    • install

      public static void install(UIDefaults defaults)
      Configures UIDefaults to use the patched class for TextFieldUI.
      Parameters:
      defaults - look and feel defaults
    • createUI

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

      Note: this method is called by Swing.

      Parameters:
      c - the text field
      Returns:
      the UI