Package org.apache.jorphan.gui.ui
Class TextFieldUIWithUndo
-
- All Implemented Interfaces:
@API(since = "5.3", status = API.Status.EXPERIMENTAL) public class TextFieldUIWithUndoInstalls undo for all
TextFieldSwing components.
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringUI_CLASSpublic final static StringBACKUP_UI_CLASS
-
Constructor Summary
Constructors Constructor Description TextFieldUIWithUndo()
-
Method Summary
Modifier and Type Method Description static voidinstall(UIDefaults defaults)Configures UIDefaults to use the patched class for TextFieldUI.static ComponentUIcreateUI(JComponent c)Creates a UI for a JTextField. -
-
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
-
-
-
-