@API(since="5.3", status=EXPERIMENTAL) public class TextFieldUIWithUndo extends Object
TextField
Swing components.Modifier and Type | Field and Description |
---|---|
static String |
BACKUP_UI_CLASS |
static String |
UI_CLASS |
Constructor and Description |
---|
TextFieldUIWithUndo() |
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent c)
Creates a UI for a JTextField.
|
static void |
install(UIDefaults defaults)
Configures
UIDefaults to use the patched class for TextFieldUI . |
public static final String UI_CLASS
public static final String BACKUP_UI_CLASS
public static void install(UIDefaults defaults)
UIDefaults
to use the patched class for TextFieldUI
.defaults
- look and feel defaultspublic static ComponentUI createUI(JComponent c)
Note: this method is called by Swing.
c
- the text fieldCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.