com.alee.laf.text
Class WebTextAreaUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
javax.swing.plaf.basic.BasicTextUI
javax.swing.plaf.basic.BasicTextAreaUI
com.alee.laf.text.WebTextAreaUI
- All Implemented Interfaces:
- BorderMethods, SwingMethods, javax.swing.SwingConstants, javax.swing.text.ViewFactory
public class WebTextAreaUI
- extends javax.swing.plaf.basic.BasicTextAreaUI
- implements BorderMethods, javax.swing.SwingConstants
User: mgarin Date: 17.08.11 Time: 23:01
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicTextUI |
javax.swing.plaf.basic.BasicTextUI.BasicCaret, javax.swing.plaf.basic.BasicTextUI.BasicHighlighter |
Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Methods inherited from class javax.swing.plaf.basic.BasicTextAreaUI |
create, getBaseline, getBaselineResizeBehavior, getMinimumSize, getPropertyPrefix, installDefaults, propertyChange |
Methods 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, paint, setView, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, 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 |
WebTextAreaUI
public WebTextAreaUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in class javax.swing.plaf.basic.BasicTextUI
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI
in class javax.swing.plaf.basic.BasicTextUI
getInputPrompt
public java.lang.String getInputPrompt()
setInputPrompt
public void setInputPrompt(java.lang.String inputPrompt)
getInputPromptFont
public java.awt.Font getInputPromptFont()
setInputPromptFont
public void setInputPromptFont(java.awt.Font inputPromptFont)
getInputPromptForeground
public java.awt.Color getInputPromptForeground()
setInputPromptForeground
public void setInputPromptForeground(java.awt.Color inputPromptForeground)
getInputPromptHorizontalPosition
public int getInputPromptHorizontalPosition()
setInputPromptHorizontalPosition
public void setInputPromptHorizontalPosition(int inputPromptHorizontalPosition)
getInputPromptVerticalPosition
public int getInputPromptVerticalPosition()
setInputPromptVerticalPosition
public void setInputPromptVerticalPosition(int inputPromptVerticalPosition)
isHideInputPromptOnFocus
public boolean isHideInputPromptOnFocus()
setHideInputPromptOnFocus
public void setHideInputPromptOnFocus(boolean hideInputPromptOnFocus)
getPainter
public Painter getPainter()
setPainter
public void setPainter(Painter painter)
updateBorder
public void updateBorder()
- Updates custom WebLaF border.
- Specified by:
updateBorder
in interface BorderMethods
paintBackground
protected void paintBackground(java.awt.Graphics g)
- Overrides:
paintBackground
in class javax.swing.plaf.basic.BasicTextUI
paintSafely
protected void paintSafely(java.awt.Graphics g)
- Overrides:
paintSafely
in class javax.swing.plaf.basic.BasicTextUI
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
- Overrides:
getPreferredSize
in class javax.swing.plaf.basic.BasicTextAreaUI