EntryEditor.
Owns: field-level focus capture/restore across entry changes; tab-to-tab keyboard navigation
(Tab/Shift-Tab wrapping) and jump-to-field lookups. DOM traversal is delegated to EntryEditorFocusTraversal.
| Modifier and Type | Field and Description |
|---|---|
| private @Nullable Field | |
| private final NotificationService | |
| private final Node | |
| private final TabPane |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private Field | |
| pack-priv void | |
| private void | |
| private void | |
| private void | |
| private void | |
| pack-priv void | |
| private Optional | |
| private boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | restoreLastFocusedField()
Restores focus to the last captured field (if any) and moves the caret to the end. |
| private void | |
| pack-priv void | |
| pack-priv void | setupNavigationForTab(FieldsEditorTab tab)
Installs Tab/Shift-Tab wrapping key filters on every focusable node inside |
| lastFocusedField | back to summary |
|---|---|
| private @Nullable Field lastFocusedField | |
| notificationService | back to summary |
|---|---|
| private final NotificationService notificationService | |
| sceneSource | back to summary |
|---|---|
| private final Node sceneSource | |
| tabPane | back to summary |
|---|---|
| private final TabPane tabPane | |
| EntryEditorFocusUtils | back to summary |
|---|---|
| pack-priv EntryEditorFocusUtils(TabPane tabPane, Node sceneSource, NotificationService notificationService) | |
| addFieldViaAllFieldsTab | back to summary |
|---|---|
| private void addFieldViaAllFieldsTab(Field field) | |
| canonicalFieldForActiveMode | back to summary |
|---|---|
| private Field canonicalFieldForActiveMode(Field field, BibDatabaseMode mode) | |
| captureFocusedField | back to summary |
|---|---|
| pack-priv void captureFocusedField() | |
| findAndSetupTabNavigableNodes | back to summary |
|---|---|
| private void findAndSetupTabNavigableNodes(Parent parent) | |
| focusField | back to summary |
|---|---|
| private void focusField(Field field, Runnable onNotFound) | |
| focusFirstFieldInTab | back to summary |
|---|---|
| private void focusFirstFieldInTab(FieldsEditorTab tab) | |
| focusLastFieldInTab | back to summary |
|---|---|
| private void focusLastFieldInTab(FieldsEditorTab tab) | |
| focusOrAddField | back to summary |
|---|---|
| pack-priv void focusOrAddField(Field field) | |
| getTabContainingField | back to summary |
|---|---|
| private Optional | |
| isBoundaryFieldInCurrentTab | back to summary |
|---|---|
| private boolean isBoundaryFieldInCurrentTab(Node node, boolean first) | |
| isFirstFieldInCurrentTab | back to summary |
|---|---|
| pack-priv boolean isFirstFieldInCurrentTab(Node node) | |
| isLastFieldInCurrentTab | back to summary |
|---|---|
| pack-priv boolean isLastFieldInCurrentTab(Node node) | |
| moveToNextTabAndFocus | back to summary |
|---|---|
| pack-priv void moveToNextTabAndFocus() | |
| moveToPreviousTabAndFocus | back to summary |
|---|---|
| pack-priv void moveToPreviousTabAndFocus() | |
| restoreLastFocusedField | back to summary |
|---|---|
| pack-priv void restoreLastFocusedField() Restores focus to the last captured field (if any) and moves the caret to the end. Clears the captured field afterwards so a subsequent entry change starts clean. | |
| selectTabAndField | back to summary |
|---|---|
| private void selectTabAndField(FieldsEditorTab tab, Field field) | |
| setFocusToField | back to summary |
|---|---|
| pack-priv void setFocusToField(Field field) | |
| setupNavigationForTab | back to summary |
|---|---|
| pack-priv void setupNavigationForTab(FieldsEditorTab tab) Installs Tab/Shift-Tab wrapping key filters on every focusable node inside | |