|
Gridarta Editor
|
Utility class for JTextComponent related functions. More...
Collaboration diagram for net.sf.gridarta.gui.utils.TextComponentUtils:Static Public Member Functions | |
| static void | setActionNextFocus (@NotNull final JTextField textField, @NotNull final Component nextComponent) |
| Transfers the focus to another component when ENTER is pressed. More... | |
| static void | setAutoSelectOnFocus (@NotNull final JTextComponent textComponent) |
| Selects all text of a JTextComponent when the component gains the focus. More... | |
Private Member Functions | |
| TextComponentUtils () | |
| Private constructor to prevent instantiation. More... | |
Utility class for JTextComponent related functions.
Definition at line 35 of file TextComponentUtils.java.
|
private |
Private constructor to prevent instantiation.
Definition at line 40 of file TextComponentUtils.java.
|
static |
Transfers the focus to another component when ENTER is pressed.
| textField | the text field to track |
| nextComponent | the component to transfer the focus to |
Definition at line 70 of file TextComponentUtils.java.
Here is the caller graph for this function:
|
static |
Selects all text of a JTextComponent when the component gains the focus.
| textComponent | the text component |
Definition at line 48 of file TextComponentUtils.java.
Referenced by net.sf.gridarta.gui.dialog.bookmarks.BookmarkDirectoryDialog.BookmarkDirectoryDialog(), net.sf.gridarta.gui.dialog.bookmarks.EditBookmarkDialog.EditBookmarkDialog(), net.sf.gridarta.gui.dialog.find.FindDialog< G, A, R >.FindDialog(), net.sf.gridarta.gui.dialog.golocation.GoLocationDialog< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.GoLocationDialog(), net.sf.gridarta.gui.dialog.gomap.GoMapDialog< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.GoMapDialog(), net.sf.gridarta.var.daimonin.gui.mappropertiesdialog.MapPropertiesDialog.MapPropertiesDialog(), net.sf.gridarta.var.atrinik.gui.mappropertiesdialog.MapPropertiesDialog.MapPropertiesDialog(), net.sf.gridarta.var.crossfire.gui.mappropertiesdialog.MapPropertiesDialog.MapPropertiesDialog(), net.sf.gridarta.mainactions.MassChangeDialog.MassChangeDialog(), net.sf.gridarta.mainactions.RandomFillDialog.RandomFillDialog(), and net.sf.gridarta.mainactions.TileStretchingDialog.TileStretchingDialog().
Here is the caller graph for this function: