@API(since="5.3", status=EXPERIMENTAL) public class TextAreaUIWithUndo extends Object
TextArea
Swing components.Modifier and Type | Field and Description |
---|---|
static String |
BACKUP_UI_CLASS |
static String |
UI_CLASS |
Constructor and Description |
---|
TextAreaUIWithUndo() |
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent component)
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 component)
Note: this method is called by Swing.
component
- the text fieldCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.