Top Description Fields Constructors Methods
org.jabref.gui.entryeditor

pack-priv abstract Class FieldsEditorTab

extends EntryEditorTab
implements OffersPreview
Class Inheritance
All Implemented Interfaces
org.jabref.gui.entryeditor.OffersPreview
Known Direct Subclasses
org.jabref.gui.entryeditor.OptionalFieldsTabBase, org.jabref.gui.entryeditor.OtherFieldsTab, org.jabref.gui.entryeditor.RequiredFieldsTab, org.jabref.gui.entryeditor.UserDefinedFieldsTab, org.jabref.gui.entryeditor.CommentsTab, org.jabref.gui.entryeditor.DeprecatedFieldsTab
Imports
java.util.ArrayList, .Collection, .LinkedHashMap, .List, .Map, .Objects, .SequencedSet, java.util.stream.Stream, javax.swing.undo.UndoManager, javafx.collections.ObservableList, javafx.geometry.VPos, javafx.scene.Node, .Parent, javafx.scene.control.Label, .ScrollPane, .SplitPane, javafx.scene.layout.ColumnConstraints, .GridPane, .Priority, .Region, .RowConstraints, org.jabref.gui.DialogService, .StateManager, org.jabref.gui.autocompleter.SuggestionProviders, org.jabref.gui.fieldeditors.FieldEditorFX, .FieldEditors, .FieldNameLabel, org.jabref.gui.preview.PreviewPanel, org.jabref.gui.theme.ThemeManager, org.jabref.gui.undo.RedoAction, .UndoAction, org.jabref.gui.util.TaskExecutor, org.jabref.logic.journals.JournalAbbreviationRepository, org.jabref.logic.pdf.search.IndexingTaskManager, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.Field, org.jabref.preferences.PreferencesService, com.tobiasdiez.easybind.EasyBind, com.tobiasdiez.easybind.Subscription

A single tab displayed in the EntryEditor holding several FieldEditors.

Field Summary

Modifier and TypeField and Description
protected final BibDatabaseContext
private final DialogService
private com.tobiasdiez.easybind.Subscription
protected final Map<Field, FieldEditorFX>
private Collection<Field>
protected GridPane
private final IndexingTaskManager
private final boolean
private final JournalAbbreviationRepository
private final PreferencesService
private PreviewPanel
private final RedoAction
private final StateManager
private final SuggestionProviders
private final TaskExecutor
private final ThemeManager
private final UndoAction
private final UndoManager
Inherited from org.jabref.gui.entryeditor.EntryEditorTab:
currentEntry

Constructor Summary

AccessConstructor and Description
public
FieldsEditorTab(boolean compressed, BibDatabaseContext databaseContext, SuggestionProviders suggestionProviders, UndoManager undoManager, UndoAction undoAction, RedoAction redoAction, DialogService dialogService, PreferencesService preferences, StateManager stateManager, ThemeManager themeManager, TaskExecutor taskExecutor, JournalAbbreviationRepository journalAbbreviationRepository, IndexingTaskManager indexingTaskManager)

Method Summary

Modifier and TypeMethod and Description
private static void
addColumn(GridPane gridPane, int columnIndex, List<Label> nodes)

private static void
addColumn(GridPane gridPane, int columnIndex, Stream<Parent> nodes)

protected void
bindToEntry(BibEntry entry)

Implements abstract org.jabref.gui.entryeditor.EntryEditorTab.bindToEntry.

Updates the view with the contents of the given entry.

protected Label
protected abstract SequencedSet<Field>
public Collection<Field>
private void
public void
nextPreviewStyle()

Implements org.jabref.gui.entryeditor.OffersPreview.nextPreviewStyle.

Switch to next Preview style - should be overriden if a EntryEditorTab is actually showing a preview

public void
previousPreviewStyle()

Implements org.jabref.gui.entryeditor.OffersPreview.previousPreviewStyle.

Switch to previous Preview style - should be overriden if a EntryEditorTab is actually showing a preview

public void
requestFocus(Field fieldName)

private void
protected static void
setCompressedRowLayout(GridPane gridPane, int rows)

private void
protected void
setupPanel(BibEntry entry, boolean compressed)

public boolean
shouldShow(BibEntry entry)

Implements abstract org.jabref.gui.entryeditor.EntryEditorTab.shouldShow.

Decide whether to show this tab for the given entry.

Inherited from org.jabref.gui.entryeditor.EntryEditorTab:
handleFocusnotifyAboutFocus

Field Detail

databaseContextback to summary
protected final BibDatabaseContext databaseContext
dialogServiceback to summary
private final DialogService dialogService
dividerPositionSubscriptionback to summary
private com.tobiasdiez.easybind.Subscription dividerPositionSubscription
editorsback to summary
protected final Map<Field, FieldEditorFX> editors
fieldsback to summary
private Collection<Field> fields
gridPaneback to summary
protected GridPane gridPane
indexingTaskManagerback to summary
private final IndexingTaskManager indexingTaskManager
isCompressedback to summary
private final boolean isCompressed
journalAbbreviationRepositoryback to summary
private final JournalAbbreviationRepository journalAbbreviationRepository
preferencesback to summary
private final PreferencesService preferences
previewPanelback to summary
private PreviewPanel previewPanel
redoActionback to summary
private final RedoAction redoAction
stateManagerback to summary
private final StateManager stateManager
suggestionProvidersback to summary
private final SuggestionProviders suggestionProviders
taskExecutorback to summary
private final TaskExecutor taskExecutor
themeManagerback to summary
private final ThemeManager themeManager
undoActionback to summary
private final UndoAction undoAction
undoManagerback to summary
private final UndoManager undoManager

Constructor Detail

FieldsEditorTabback to summary
public FieldsEditorTab(boolean compressed, BibDatabaseContext databaseContext, SuggestionProviders suggestionProviders, UndoManager undoManager, UndoAction undoAction, RedoAction redoAction, DialogService dialogService, PreferencesService preferences, StateManager stateManager, ThemeManager themeManager, TaskExecutor taskExecutor, JournalAbbreviationRepository journalAbbreviationRepository, IndexingTaskManager indexingTaskManager)

Method Detail

addColumnback to summary
private static void addColumn(GridPane gridPane, int columnIndex, List<Label> nodes)
addColumnback to summary
private static void addColumn(GridPane gridPane, int columnIndex, Stream<Parent> nodes)
bindToEntryback to summary
protected void bindToEntry(BibEntry entry)

Implements abstract org.jabref.gui.entryeditor.EntryEditorTab.bindToEntry.

Doc from org.jabref.gui.entryeditor.EntryEditorTab.bindToEntry.

Updates the view with the contents of the given entry.

Annotations
@Override
createLabelAndEditorback to summary
protected Label createLabelAndEditor(BibEntry entry, Field field)
determineFieldsToShowback to summary
protected abstract SequencedSet<Field> determineFieldsToShow(BibEntry entry)
getShownFieldsback to summary
public Collection<Field> getShownFields()
initPanelback to summary
private void initPanel()
nextPreviewStyleback to summary
public void nextPreviewStyle()

Implements org.jabref.gui.entryeditor.OffersPreview.nextPreviewStyle.

Doc from org.jabref.gui.entryeditor.OffersPreview.nextPreviewStyle.

Switch to next Preview style - should be overriden if a EntryEditorTab is actually showing a preview

Annotations
@Override
previousPreviewStyleback to summary
public void previousPreviewStyle()

Implements org.jabref.gui.entryeditor.OffersPreview.previousPreviewStyle.

Doc from org.jabref.gui.entryeditor.OffersPreview.previousPreviewStyle.

Switch to previous Preview style - should be overriden if a EntryEditorTab is actually showing a preview

Annotations
@Override
requestFocusback to summary
public void requestFocus(Field fieldName)
savePreviewWidthDividerPositionback to summary
private void savePreviewWidthDividerPosition(Number position)
setCompressedRowLayoutback to summary
protected static void setCompressedRowLayout(GridPane gridPane, int rows)
setRegularRowLayoutback to summary
private void setRegularRowLayout(GridPane gridPane)
setupPanelback to summary
protected void setupPanel(BibEntry entry, boolean compressed)
shouldShowback to summary
public boolean shouldShow(BibEntry entry)

Implements abstract org.jabref.gui.entryeditor.EntryEditorTab.shouldShow.

Doc from org.jabref.gui.entryeditor.EntryEditorTab.shouldShow.

Decide whether to show this tab for the given entry.

Annotations
@Override