Class PlasticTextAreaUI

All Implemented Interfaces:
ViewFactory

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.11 $
  • Constructor Details

    • PlasticTextAreaUI

      public PlasticTextAreaUI()
  • Method Details

    • 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)
      Overrides:
      installUI in class BasicTextUI
    • 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 .
      Overrides:
      propertyChange in class BasicTextAreaUI
      Parameters:
      evt - the property change event
    • updateBackground

      private static void updateBackground(JTextComponent c)