Top Fields Constructors Methods
org.jabref.gui.documentviewer

public Class DocumentViewerView

extends BaseDialog<Void>
Class Inheritance
Imports
javafx.event.ActionEvent, javafx.fxml.FXML, javafx.scene.control.Button, .ButtonBar, .ButtonType, .ComboBox, .Label, .ScrollBar, .TextField, .ToggleButton, .ToggleGroup, javafx.scene.layout.BorderPane, javafx.stage.Modality, .Stage, org.jabref.gui.StateManager, org.jabref.gui.util.BaseDialog, .OnlyIntegerFormatter, .TaskExecutor, .ViewModelListCellFactory, org.jabref.logic.l10n.Localization, org.jabref.model.entry.LinkedFile, org.jabref.preferences.PreferencesService, com.airhacks.afterburner.views.ViewLoader, jakarta.inject.Inject

Field Summary

Modifier and TypeField and Description
private TextField
private ComboBox<LinkedFile>
private BorderPane
private Label
private ToggleButton
private ToggleButton
private Button
private PreferencesService
private Button
private ScrollBar
private StateManager
private TaskExecutor
private ToggleGroup
private DocumentViewerControl
private DocumentViewerViewModel

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
fitWidth(ActionEvent actionEvent)

public void
gotoPage(int pageNumber)

private void
public void
nextPage(ActionEvent actionEvent)

public void
private void
private void
private void
private void
private void
public void
public void
zoomIn(ActionEvent actionEvent)

public void
zoomOut(ActionEvent actionEvent)

Field Detail

currentPageback to summary
private TextField currentPage
Annotations
@FXML
fileChoiceback to summary
private ComboBox<LinkedFile> fileChoice
Annotations
@FXML
mainPaneback to summary
private BorderPane mainPane
Annotations
@FXML
maxPagesback to summary
private Label maxPages
Annotations
@FXML
modeLiveback to summary
private ToggleButton modeLive
Annotations
@FXML
modeLockback to summary
private ToggleButton modeLock
Annotations
@FXML
nextButtonback to summary
private Button nextButton
Annotations
@FXML
preferencesServiceback to summary
private PreferencesService preferencesService
Annotations
@Inject
previousButtonback to summary
private Button previousButton
Annotations
@FXML
scrollBarback to summary
private ScrollBar scrollBar
Annotations
@FXML
stateManagerback to summary
private StateManager stateManager
Annotations
@Inject
taskExecutorback to summary
private TaskExecutor taskExecutor
Annotations
@Inject
toggleGroupModeback to summary
private ToggleGroup toggleGroupMode
Annotations
@FXML
viewerback to summary
private DocumentViewerControl viewer
viewModelback to summary
private DocumentViewerViewModel viewModel

Constructor Detail

DocumentViewerViewback to summary
public DocumentViewerView()

Method Detail

disableLiveModeback to summary
public void disableLiveMode()
fitSinglePageback to summary
public void fitSinglePage(ActionEvent actionEvent)
fitWidthback to summary
public void fitWidth(ActionEvent actionEvent)
gotoPageback to summary
public void gotoPage(int pageNumber)
initializeback to summary
private void initialize()
Annotations
@FXML
nextPageback to summary
public void nextPage(ActionEvent actionEvent)
previousPageback to summary
public void previousPage(ActionEvent actionEvent)
setupFileChoiceback to summary
private void setupFileChoice()
setupModeButtonsback to summary
private void setupModeButtons()
setupPageControlsback to summary
private void setupPageControls()
setupScrollbarback to summary
private void setupScrollbar()
setupViewerback to summary
private void setupViewer()
switchToFileback to summary
public void switchToFile(LinkedFile file)
zoomInback to summary
public void zoomIn(ActionEvent actionEvent)
zoomOutback to summary
public void zoomOut(ActionEvent actionEvent)