Verified Owner
Top Fields Constructors Methods
org.jabref.gui.entryeditor

public Class PreviewTab

extends TabWithPreviewPanel
Class Inheritance
Imports
javafx.scene.control.SplitPane, org.jabref.gui.StateManager, org.jabref.gui.icon.IconTheme, org.jabref.gui.preferences.GuiPreferences, org.jabref.gui.preview.PreviewPanel

Implementation Note

The Preview tab's visibility is driven by the "show preview as a separate tab" preference (its EntryEditorTabModel visibility bit is unused); the factory wires that gate.

Field Summary

Modifier and TypeField and Description
private final SplitPane
Inherited from org.jabref.gui.entryeditor.TabWithPreviewPanel:
previewPanelstateManager

Constructor Summary

AccessConstructor and Description
public
PreviewTab(GuiPreferences preferences, StateManager stateManager, PreviewPanel previewPanel)

Method Summary

Modifier and TypeMethod and Description
protected void
handleFocus()

Overrides org.jabref.gui.entryeditor.EntryEditorTab.handleFocus.

Override to perform a special action on focus (like selecting the first field in the editor).

Inherited from org.jabref.gui.entryeditor.TabWithPreviewPanel:
bindToEntryremovePreviewPanelFromOtherTabs

Field Detail

splitPaneback to summary
private final SplitPane splitPane

Constructor Detail

PreviewTabback to summary
public PreviewTab(GuiPreferences preferences, StateManager stateManager, PreviewPanel previewPanel)

Method Detail

handleFocusback to summary
protected void handleFocus()

Overrides org.jabref.gui.entryeditor.EntryEditorTab.handleFocus.

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

Override to perform a special action on focus (like selecting the first field in the editor).