org.jdesktop.swingx.plaf
Class PromptTextAreaUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.TextUI
-
- org.jdesktop.swingx.plaf.PromptTextUI
-
- org.jdesktop.swingx.plaf.PromptTextAreaUI
-
public class PromptTextAreaUI extends PromptTextUI
PromptTextUIimplementation for rendering prompts onJTextAreas and uses aJTextAreaas a prompt component.
-
-
Constructor Summary
Constructors Constructor and Description PromptTextAreaUI(javax.swing.plaf.TextUI delegate)Creates a newPromptTextAreaUI.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description javax.swing.text.JTextComponentgetPromptComponent(javax.swing.text.JTextComponent txt)OverridesgetPromptComponent(JTextComponent)to additionally updateJTextAreaspecific properties.-
Methods inherited from class org.jdesktop.swingx.plaf.PromptTextUI
contains, damageRange, damageRange, equals, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getEditorKit, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, hashCode, installUI, modelToView, modelToView, paint, shouldPaintPrompt, toString, uninstallUI, update, viewToModel, viewToModel
-
-
-
-
Constructor Detail
-
PromptTextAreaUI
public PromptTextAreaUI(javax.swing.plaf.TextUI delegate)
Creates a newPromptTextAreaUI.- Parameters:
delegate-
-
-
Method Detail
-
getPromptComponent
public javax.swing.text.JTextComponent getPromptComponent(javax.swing.text.JTextComponent txt)
OverridesgetPromptComponent(JTextComponent)to additionally updateJTextAreaspecific properties.- Overrides:
getPromptComponentin classPromptTextUI- Returns:
- the adjusted prompt component
-
-
DataMelt 3.0 © DataMelt by jWork.ORG