Package com.jgoodies.looks.plastic
Class PlasticTextAreaUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextAreaUI
com.jgoodies.looks.plastic.PlasticTextAreaUI
- All Implemented Interfaces:
ViewFactory
The JGoodies Plastic L&F implementation of
TextAreaUI.
In addition to its superclass BasicTextAreaUI, it updates the
background colors using behavior from BasicTextFieldUI.- Version:
- $Revision: 1.11 $
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUICreates a UI for a JTextArea.voidprotected voidThis method gets called when a bound property is changed on the associated JTextComponent.private static voidMethods inherited from class javax.swing.plaf.basic.BasicTextAreaUI
create, getBaseline, getBaselineResizeBehavior, getMinimumSize, getPreferredSize, getPropertyPrefix, installDefaultsMethods inherited from class javax.swing.plaf.basic.BasicTextUI
create, createCaret, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getNextVisualPositionFrom, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, installListeners, modelChanged, modelToView, modelToView, modelToView2D, paint, paintBackground, paintSafely, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel, viewToModel2DMethods inherited from class javax.swing.plaf.TextUI
getToolTipText2DMethods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
-
Constructor Details
-
PlasticTextAreaUI
public PlasticTextAreaUI()
-
-
Method Details
-
createUI
Creates a UI for a JTextArea.- Parameters:
c- the text area- Returns:
- the UI
-
installUI
- Overrides:
installUIin classBasicTextUI
-
propertyChange
This method gets called when a bound property is changed on the associated JTextComponent. In addition to the superclass behavior, this UI updates the background if the editable or enabled property changes .- Overrides:
propertyChangein classBasicTextAreaUI- Parameters:
evt- the property change event
-
updateBackground
-