public class PromptTextAreaUI extends PromptTextUI
PromptTextUI implementation for rendering prompts on
JTextAreas and uses a JTextArea as a prompt component.PromptTextUI.PainterHighlighterdelegate, promptComponent| Constructor | Description |
|---|---|
PromptTextAreaUI(TextUI delegate) |
Creates a new
PromptTextAreaUI. |
| Modifier and Type | Method | Description |
|---|---|---|
protected JTextComponent |
createPromptComponent() |
Returns a shared
JTextArea. |
JTextComponent |
getPromptComponent(JTextComponent txt) |
Overrides
getPromptComponent(JTextComponent) to additionally
update JTextArea specific properties. |
createUI, getBaselineResizeBehaviorclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontains, damageRange, damageRange, equals, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getEditorKit, getMaximumSize, getMinimumSize, getNextVisualPositionFrom, getPreferredSize, getRootView, getToolTipText, hashCode, installUI, modelToView, modelToView, paint, paintPromptComponent, shouldPaintPrompt, toString, uninstallUI, update, viewToModel, viewToModelgetToolTipText2D, modelToView2D, viewToModel2Dpublic PromptTextAreaUI(TextUI delegate)
PromptTextAreaUI.delegate - public JTextComponent getPromptComponent(JTextComponent txt)
getPromptComponent(JTextComponent) to additionally
update JTextArea specific properties.getPromptComponent in class PromptTextUIprotected JTextComponent createPromptComponent()
JTextArea.createPromptComponent in class PromptTextUICopyright © 2018. All rights reserved.