Package org.apache.jorphan.gui.ui
Class TextFieldUIWithUndo
java.lang.Object
org.apache.jorphan.gui.ui.TextFieldUIWithUndo
Installs undo for all
TextField
Swing components.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
Creates a UI for a JTextField.static void
install
(UIDefaults defaults) ConfiguresUIDefaults
to use the patched class forTextFieldUI
.
-
Field Details
-
UI_CLASS
- See Also:
-
BACKUP_UI_CLASS
- See Also:
-
-
Constructor Details
-
TextFieldUIWithUndo
public TextFieldUIWithUndo()
-
-
Method Details
-
install
ConfiguresUIDefaults
to use the patched class forTextFieldUI
.- Parameters:
defaults
- look and feel defaults
-
createUI
Creates a UI for a JTextField.Note: this method is called by Swing.
- Parameters:
c
- the text field- Returns:
- the UI
-