org.jvnet.substance
Class SubstanceTextAreaUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextAreaUI
org.jvnet.substance.SubstanceTextAreaUI
- All Implemented Interfaces:
- javax.swing.text.ViewFactory
public class SubstanceTextAreaUI
- extends javax.swing.plaf.basic.BasicTextAreaUI
UI for text areas in Substance look and feel.
- Author:
- Kirill Grouchnikov
| Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI |
javax.swing.plaf.basic.BasicTextUI.BasicCaret, javax.swing.plaf.basic.BasicTextUI.BasicHighlighter |
| Methods inherited from class javax.swing.plaf.basic.BasicTextAreaUI |
getBaseline, getBaselineResizeBehavior, getMinimumSize, getPreferredSize, getPropertyPrefix, propertyChange |
| Methods inherited from class javax.swing.plaf.basic.BasicTextUI |
create, createCaret, createKeymap, damageRange, damageRange, getComponent, getEditorKit, getKeymapName, getMaximumSize, getNextVisualPositionFrom, getRootView, getToolTipText, getVisibleEditorRect, installKeyboardActions, installUI, modelToView, modelToView, paint, paintBackground, setView, uninstallDefaults, uninstallKeyboardActions, 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 |
substanceFadeStateListener
protected org.jvnet.lafwidget.animation.FadeStateListener substanceFadeStateListener
- Listener for fade animations.
textArea
protected javax.swing.JTextArea textArea
- The associated text area.
substancePropertyChangeListener
protected java.beans.PropertyChangeListener substancePropertyChangeListener
- Property change listener.
SubstanceTextAreaUI
public SubstanceTextAreaUI(javax.swing.JComponent c)
- Simple constructor.
- Parameters:
c - Component (text area).
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installListeners
protected void installListeners()
- Overrides:
installListeners in class javax.swing.plaf.basic.BasicTextUI
uninstallListeners
protected void uninstallListeners()
- Overrides:
uninstallListeners in class javax.swing.plaf.basic.BasicTextUI
installDefaults
protected void installDefaults()
- Overrides:
installDefaults in class javax.swing.plaf.basic.BasicTextAreaUI
createHighlighter
protected javax.swing.text.Highlighter createHighlighter()
- Overrides:
createHighlighter in class javax.swing.plaf.basic.BasicTextUI
create
public javax.swing.text.View create(javax.swing.text.Element elem)
- Specified by:
create in interface javax.swing.text.ViewFactory- Overrides:
create in class javax.swing.plaf.basic.BasicTextAreaUI
modelChanged
protected void modelChanged()
- Overrides:
modelChanged in class javax.swing.plaf.basic.BasicTextUI
paintSafely
protected void paintSafely(java.awt.Graphics _g)
- Overrides:
paintSafely in class javax.swing.plaf.basic.BasicTextUI