Class TextFieldUIWithUndo

  • All Implemented Interfaces:

    @API(since = "5.3", status = API.Status.EXPERIMENTAL) 
    public class TextFieldUIWithUndo
    
                        

    Installs undo for all TextField Swing components.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static void install(UIDefaults defaults) Configures UIDefaults to use the patched class for TextFieldUI.
      static ComponentUI createUI(JComponent c) Creates a UI for a JTextField.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TextFieldUIWithUndo

        TextFieldUIWithUndo()
    • Method Detail

      • install

         static void install(UIDefaults defaults)

        Configures UIDefaults to use the patched class for TextFieldUI.

        Parameters:
        defaults - look and feel defaults
      • createUI

         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