| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private org. | |
| private final DialogService | |
| private final BibEntryTypesManager | |
| private final FieldPreferences | |
| private final FileUpdateMonitor | |
| private final ImportFormatPreferences | |
| private final KeyBindingRepository | |
| private static final Logger | |
| private final BibDatabaseMode | |
| private BibEntry | |
| private Optional | |
| private final ObjectProperty | |
| private final de. | |
| private final UndoManager |
| Access | Constructor and Description |
|---|---|
| public | SourceTab(BibDatabaseContext bibDatabaseContext, CountingUndoManager undoManager, FieldPreferences fieldPreferences, ImportFormatPreferences importFormatPreferences, FileUpdateMonitor fileMonitor, DialogService dialogService, StateManager stateManager, BibEntryTypesManager entryTypesManager, KeyBindingRepository keyBindingRepository)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | bindToEntry(BibEntry entry)
Implements abstract org. Updates the view with the contents of the given entry. |
| private String | |
| private void | |
| private void | |
| private void | |
| public boolean | shouldShow(BibEntry entry)
Implements abstract org. Decide whether to show this tab for the given entry. |
| private void | |
| private void |
| codeArea | back to summary |
|---|---|
| private org. | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| entryTypesManager | back to summary |
|---|---|
| private final BibEntryTypesManager entryTypesManager | |
| fieldPreferences | back to summary |
|---|---|
| private final FieldPreferences fieldPreferences | |
| fileMonitor | back to summary |
|---|---|
| private final FileUpdateMonitor fileMonitor | |
| importFormatPreferences | back to summary |
|---|---|
| private final ImportFormatPreferences importFormatPreferences | |
| keyBindingRepository | back to summary |
|---|---|
| private final KeyBindingRepository keyBindingRepository | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| mode | back to summary |
|---|---|
| private final BibDatabaseMode mode | |
| previousEntry | back to summary |
|---|---|
| private BibEntry previousEntry | |
| searchHighlightPattern | back to summary |
|---|---|
| private Optional<Pattern> searchHighlightPattern | |
| sourceIsValid | back to summary |
|---|---|
| private final ObjectProperty<de. | |
| sourceValidator | back to summary |
|---|---|
| private final de. | |
| undoManager | back to summary |
|---|---|
| private final UndoManager undoManager | |
| SourceTab | back to summary |
|---|---|
| public SourceTab(BibDatabaseContext bibDatabaseContext, CountingUndoManager undoManager, FieldPreferences fieldPreferences, ImportFormatPreferences importFormatPreferences, FileUpdateMonitor fileMonitor, DialogService dialogService, StateManager stateManager, BibEntryTypesManager entryTypesManager, KeyBindingRepository keyBindingRepository) | |
| bindToEntry | back to summary |
|---|---|
| protected void bindToEntry(BibEntry entry) Implements abstract org. Doc from org. Updates the view with the contents of the given entry.
| |
| getSourceString | back to summary |
|---|---|
| private String getSourceString(BibEntry entry, BibDatabaseMode type, FieldPreferences fieldPreferences) throws IOException | |
| highlightSearchPattern | back to summary |
|---|---|
| private void highlightSearchPattern() | |
| listenForSaveKeybinding | back to summary |
|---|---|
| private void listenForSaveKeybinding(KeyEvent event) | |
| setupSourceEditor | back to summary |
|---|---|
| private void setupSourceEditor() | |
| shouldShow | back to summary |
|---|---|
| public boolean shouldShow(BibEntry entry) Implements abstract org. Doc from org. Decide whether to show this tab for the given entry.
| |
| storeSource | back to summary |
|---|---|
| private void storeSource(BibEntry outOfFocusEntry, String text) | |
| updateCodeArea | back to summary |
|---|---|
| private void updateCodeArea() | |
| Modifier and Type | Field and Description |
|---|---|
| private final StandardActions |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| command | back to summary |
|---|---|
| private final StandardActions command | |
| EditAction | back to summary |
|---|---|
| public EditAction(StandardActions command) | |
| execute | back to summary |
|---|---|
public void execute()
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | cancelLatestCommittedText()
Implements javafx. Gets the latest committed text from the text editing node and removes it from the node's text body. |
| public int | getLocationOffset(int
the absolute x coordinate on screen x, int the absolute y coordinate on screen y)Implements javafx. Gets the offset within the composed text for the specified absolute x and y coordinates on the screen. |
| public String | getSelectedText()
Implements javafx. Gets the currently selected text from the text editing node. |
| public Point2D | getTextLocation(int
the offset within the composed text, if there is
composed text; null otherwise offset)Implements javafx. Gets the location of a specified offset in the current composed text, or of the selection in committed text. |
| InputMethodRequestsObject | back to summary |
|---|---|
| private InputMethodRequestsObject() | |
| cancelLatestCommittedText | back to summary |
|---|---|
| public void cancelLatestCommittedText() Implements javafx. Doc from javafx. Gets the latest committed text from the text editing node and removes it from the node's text body. This is used for the "Undo Commit" feature in some input methods, where the committed text reverts to its previous composed state. The composed text will be sent to the node using an InputMethodEvent.
| |
| getLocationOffset | back to summary |
|---|---|
| public int getLocationOffset(int x, int y) Implements javafx. Doc from javafx. Gets the offset within the composed text for the specified absolute x and y coordinates on the screen. This information is used, for example to handle mouse clicks and the mouse cursor. The offset is relative to the composed text, so offset 0 indicates the beginning of the composed text.
| |
| getSelectedText | back to summary |
|---|---|
| public String getSelectedText() Implements javafx. Doc from javafx. Gets the currently selected text from the text editing node. This may be used for a variety of purposes. One of them is the "Reconvert" feature in some input methods. In this case, the input method will typically send an input method event to replace the selected text with composed text. Depending on the input method's capabilities, this may be the original composed text for the selected text, the latest composed text entered anywhere in the text, or a version of the text that's converted back from the selected text. | |
| getTextLocation | back to summary |
|---|---|
| public Point2D getTextLocation(int offset) Implements javafx. Doc from javafx. Gets the location of a specified offset in the current composed text, or of the selection in committed text. This information is, for example, used to position the candidate window near the composed text, or a composition window near the location where committed text will be inserted. | |