Package | Description |
---|---|
org.jdesktop.swingx |
Contains extensions to the Swing GUI toolkit, including new and enhanced
components that provide functionality commonly required by rich,
data-centric client applications.
|
org.jdesktop.swingx.prompt |
Modifier and Type | Method and Description |
---|---|
PromptSupport.FocusBehavior |
JXTextArea.getFocusBehavior() |
PromptSupport.FocusBehavior |
JXTextField.getFocusBehavior() |
PromptSupport.FocusBehavior |
JXFormattedTextField.getFocusBehavior() |
Modifier and Type | Method and Description |
---|---|
void |
JXTextArea.setFocusBehavior(PromptSupport.FocusBehavior focusBehavior) |
void |
JXTextField.setFocusBehavior(PromptSupport.FocusBehavior focusBehavior) |
void |
JXFormattedTextField.setFocusBehavior(PromptSupport.FocusBehavior focusBehavior) |
Modifier and Type | Method and Description |
---|---|
static PromptSupport.FocusBehavior |
PromptSupport.getFocusBehavior(JTextComponent textComponent)
Get the
PromptSupport.FocusBehavior of textComponent . |
static PromptSupport.FocusBehavior |
PromptSupport.FocusBehavior.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PromptSupport.FocusBehavior[] |
PromptSupport.FocusBehavior.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
PromptSupport.setFocusBehavior(PromptSupport.FocusBehavior focusBehavior,
JTextComponent textComponent)
Sets the
PromptSupport.FocusBehavior on textComponent and
repaints the component to reflect the changes, if it is the focus owner. |
Copyright © 2016. All rights reserved.