Top Fields Constructors Methods
org.jabref.gui.entryeditor

public abstract Class EntryEditorTab

extends Tab
Class Inheritance
Known Direct Subclasses
org.jabref.gui.entryeditor.FieldsEditorTab, org.jabref.gui.entryeditor.LatexCitationsTab, org.jabref.gui.entryeditor.MathSciNetTab, org.jabref.gui.entryeditor.PreviewTab, org.jabref.gui.entryeditor.RelatedArticlesTab, org.jabref.gui.entryeditor.SciteTab, org.jabref.gui.entryeditor.SourceTab, org.jabref.gui.entryeditor.citationrelationtab.CitationRelationsTab, org.jabref.gui.entryeditor.fileannotationtab.FileAnnotationTab, org.jabref.gui.entryeditor.fileannotationtab.FulltextSearchResultsTab
Imports
javafx.scene.control.Tab, org.jabref.model.entry.BibEntry, org.jabref.model.entry.types.EntryType

Field Summary

Modifier and TypeField and Description
protected BibEntry
private EntryType
currentEntryType

Needed to track for which type of entry this tab was build and to rebuild it if the type changes

Inherited from javafx.scene.control.Tab:
CLOSED_EVENTSELECTION_CHANGED_EVENTTAB_CLOSE_REQUEST_EVENT

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected abstract void
bindToEntry(BibEntry entry)

Updates the view with the contents of the given entry.

protected void
handleFocus()

The tab just got the focus.

public void
notifyAboutFocus(BibEntry entry)

Notifies the tab that it got focus and should display the given entry.

public abstract boolean
shouldShow(BibEntry entry)

Decide whether to show this tab for the given entry.

Inherited from javafx.scene.control.Tab:
addEventFilteraddEventHandlerbuildEventDispatchChainclosablePropertycontentPropertycontextMenuPropertydisabledPropertydisablePropertygetClassCssMetaDatagetContentgetContextMenugetCssMetaDatagetGraphicgetIdgetOnClosedgetOnCloseRequestgetOnSelectionChangedgetPropertiesgetPseudoClassStatesgetStylegetStyleableParentgetStyleClassgetTabPanegetTextgetTooltipgetTypeSelectorgetUserDatagraphicPropertyhasPropertiesidPropertyisClosableisDisableisDisabledisSelectedonClosedPropertyonCloseRequestPropertyonSelectionChangedPropertyremoveEventFilterremoveEventHandlerselectedPropertysetClosablesetContentsetContextMenusetDisablesetGraphicsetIdsetOnClosedsetOnCloseRequestsetOnSelectionChangedsetStylesetTextsetTooltipsetUserDatastylePropertytabPanePropertytextPropertytooltipProperty

Field Detail

currentEntryback to summary
protected BibEntry currentEntry
currentEntryTypeback to summary
private EntryType currentEntryType

Needed to track for which type of entry this tab was build and to rebuild it if the type changes

Constructor Detail

EntryEditorTabback to summary
public EntryEditorTab()

Method Detail

bindToEntryback to summary
protected abstract void bindToEntry(BibEntry entry)

Updates the view with the contents of the given entry.

handleFocusback to summary
protected void handleFocus()

The tab just got the focus. Override this method if you want to perform a special action on focus (like selecting the first field in the editor)

notifyAboutFocusback to summary
public void notifyAboutFocus(BibEntry entry)

Notifies the tab that it got focus and should display the given entry.

shouldShowback to summary
public abstract boolean shouldShow(BibEntry entry)

Decide whether to show this tab for the given entry.