com.jgoodies.looks.plastic

Class PlasticTextAreaUI

public final class PlasticTextAreaUI extends BasicTextAreaUI

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.7 $

Author: Karsten Lentzsch

Method Summary
static ComponentUIcreateUI(JComponent c)
Creates a UI for a JTextArea.
voidinstallUI(JComponent c)
protected voidpropertyChange(PropertyChangeEvent evt)
This method gets called when a bound property is changed on the associated JTextComponent.

Method Detail

createUI

public static ComponentUI createUI(JComponent c)
Creates a UI for a JTextArea.

Parameters: c the text area

Returns: the UI

installUI

public void installUI(JComponent c)

propertyChange

protected void propertyChange(PropertyChangeEvent evt)
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 .

Parameters: evt the property change event

Copyright © 2001-2008 JGoodies Karsten Lentzsch. All Rights Reserved.