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

public Class DocumentViewerView

extends BaseDialog<Void>
Class Inheritance
Imports
java.util.Objects, javafx.fxml.FXML, javafx.scene.control.ButtonBar, .ButtonType, .ComboBox, .ToggleButton, .ToggleGroup, javafx.scene.layout.BorderPane, javafx.stage.Modality, org.jabref.gui.DialogService, .StateManager, org.jabref.gui.util.BaseDialog, .ViewModelListCellFactory, org.jabref.logic.l10n.Localization, org.jabref.logic.preferences.CliPreferences, org.jabref.model.entry.LinkedFile, com.airhacks.afterburner.injection.Injector, com.airhacks.afterburner.views.ViewLoader, jakarta.inject.Inject

Field Summary

Modifier and TypeField and Description
private ComboBox<LinkedFile>
private BorderPane
private ToggleButton
private ToggleButton
private CliPreferences
private StateManager
private ToggleGroup
private final PdfDocumentViewer
private DocumentViewerViewModel

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
gotoPage(int pageNumber)

public void
private void
private void
private void
private void
public void
Inherited from org.jabref.gui.util.BaseDialog:
bringToFrontcloseOnKeyBindingMatchfitWindowToContent

Field Detail

fileChoiceback to summary
private ComboBox<LinkedFile> fileChoice
Annotations
@FXML
mainPaneback to summary
private BorderPane mainPane
Annotations
@FXML
modeLiveback to summary
private ToggleButton modeLive
Annotations
@FXML
modeLockback to summary
private ToggleButton modeLock
Annotations
@FXML
preferencesback to summary
private CliPreferences preferences
Annotations
@Inject
stateManagerback to summary
private StateManager stateManager
Annotations
@Inject
toggleGroupModeback to summary
private ToggleGroup toggleGroupMode
Annotations
@FXML
viewerback to summary
private final PdfDocumentViewer viewer
viewModelback to summary
private DocumentViewerViewModel viewModel

Constructor Detail

DocumentViewerViewback to summary
public DocumentViewerView()

Method Detail

disableLiveModeback to summary
public void disableLiveMode()
gotoPageback to summary
public void gotoPage(int pageNumber)
highlightTextback to summary
public void highlightText(String text)
initializeback to summary
private void initialize()
Annotations
@FXML
setupFileChoiceback to summary
private void setupFileChoice()
setupModeButtonsback to summary
private void setupModeButtons()
setupViewerback to summary
private void setupViewer()
switchToFileback to summary
public void switchToFile(LinkedFile file)