Package org.apache.jorphan.gui.ui
Class TextAreaUIWithUndo
java.lang.Object
org.apache.jorphan.gui.ui.TextAreaUIWithUndo
Installs undo for all
TextArea Swing components.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUIcreateUI(JComponent component) Creates a UI for a JTextField.static voidinstall(UIDefaults defaults) ConfiguresUIDefaultsto use the patched class forTextFieldUI.
-
Field Details
-
UI_CLASS
- See Also:
-
BACKUP_UI_CLASS
- See Also:
-
-
Constructor Details
-
TextAreaUIWithUndo
public TextAreaUIWithUndo()
-
-
Method Details
-
install
ConfiguresUIDefaultsto 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:
component- the text field- Returns:
- the UI
-