com.jgoodies.looks.windows
Class WindowsTextAreaUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.TextUI
          extended by javax.swing.plaf.basic.BasicTextUI
              extended by javax.swing.plaf.basic.BasicTextAreaUI
                  extended by com.sun.java.swing.plaf.windows.WindowsTextAreaUI
                      extended by com.jgoodies.looks.windows.WindowsTextAreaUI
All Implemented Interfaces:
ViewFactory

public final class WindowsTextAreaUI
extends com.sun.java.swing.plaf.windows.WindowsTextAreaUI

The JGoodies Windows L&F implementation of TextAreaUI. In addition to its superclass WindowsTextAreaUI, it updates the background colors using behavior from BasicTextFieldUI.

Version:
$Revision: 1.5 $
Author:
Karsten Lentzsch

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI
BasicTextUI.BasicCaret, BasicTextUI.BasicHighlighter
 
Constructor Summary
WindowsTextAreaUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
          Creates a UI for a JTextArea.
 void installUI(JComponent c)
           
protected  void propertyChange(PropertyChangeEvent evt)
          This method gets called when a bound property is changed on the associated JTextComponent.
 
Methods inherited from class com.sun.java.swing.plaf.windows.WindowsTextAreaUI
createCaret
 
Methods inherited from class javax.swing.plaf.basic.BasicTextAreaUI
create, getBaseline, getBaselineResizeBehavior, getMinimumSize, getPreferredSize, getPropertyPrefix, installDefaults
 
Methods inherited from class javax.swing.plaf.basic.BasicTextUI
create, createHighlighter, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getNextVisualPositionFrom, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, installListeners, modelChanged, modelToView, modelToView, paint, paintBackground, paintSafely, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, viewToModel, viewToModel
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsTextAreaUI

public WindowsTextAreaUI()
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)
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


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