|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.TextUI
org.jdesktop.swingx.plaf.PromptTextUI
org.jdesktop.swingx.plaf.PromptTextFieldUI
public class PromptTextFieldUI
PromptTextUI implementation for rendering prompts on
JTextFields and uses a JTextField as a prompt component.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jdesktop.swingx.plaf.PromptTextUI |
|---|
PromptTextUI.PainterHighlighter |
| Field Summary |
|---|
| Fields inherited from class org.jdesktop.swingx.plaf.PromptTextUI |
|---|
delegate, promptComponent |
| Constructor Summary | |
|---|---|
PromptTextFieldUI(javax.swing.plaf.TextUI delegate)
Creates a new PromptTextFieldUI. |
|
| Method Summary | |
|---|---|
protected javax.swing.text.JTextComponent |
createPromptComponent()
Returns a shared JTextField. |
javax.swing.text.JTextComponent |
getPromptComponent(javax.swing.text.JTextComponent txt)
Overrides getPromptComponent(JTextComponent) to additionally
update JTextField specific 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, paintPromptComponent, shouldPaintPrompt, toString, uninstallUI, update, viewToModel, viewToModel |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
createUI, getBaselineResizeBehavior |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PromptTextFieldUI(javax.swing.plaf.TextUI delegate)
PromptTextFieldUI.
delegate - | Method Detail |
|---|
public javax.swing.text.JTextComponent getPromptComponent(javax.swing.text.JTextComponent txt)
getPromptComponent(JTextComponent) to additionally
update JTextField specific properties.
getPromptComponent in class PromptTextUIprotected javax.swing.text.JTextComponent createPromptComponent()
JTextField.
createPromptComponent in class PromptTextUI
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||