Top Fields Constructors Methods
org.jabref.gui.documentviewer

public Class DocumentViewerViewModel

extends AbstractViewModel
Class Inheritance
Imports
java.io.IOException, java.nio.file.Path, java.util.List, .Objects, .Set, java.util.stream.Collectors, javafx.beans.property.BooleanProperty, .IntegerProperty, .ListProperty, .ObjectProperty, .SimpleBooleanProperty, .SimpleIntegerProperty, .SimpleListProperty, .SimpleObjectProperty, javafx.collections.FXCollections, .ListChangeListener, org.jabref.gui.AbstractViewModel, .StateManager, org.jabref.gui.util.UiTaskExecutor, org.jabref.logic.util.io.FileUtil, org.jabref.model.entry.BibEntry, .LinkedFile, org.jabref.preferences.PreferencesService, com.tobiasdiez.easybind.EasyBind, org.apache.pdfbox.Loader, org.apache.pdfbox.pdmodel.PDDocument, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final ObjectProperty<DocumentViewModel>
private final ObjectProperty<Integer>
private final ListProperty<LinkedFile>
private final BooleanProperty
private static final Logger
private final IntegerProperty
private final PreferencesService
private final StateManager

Constructor Summary

AccessConstructor and Description
public
DocumentViewerViewModel(StateManager stateManager, PreferencesService preferencesService)

Method Summary

Modifier and TypeMethod and Description
public ObjectProperty<DocumentViewModel>
public ObjectProperty<Integer>
public ListProperty<LinkedFile>
private int
public IntegerProperty
private void
private void
public void
setLiveMode(boolean value)

public void
public void
showPage(int pageNumber)

public void
public void

Field Detail

currentDocumentback to summary
private final ObjectProperty<DocumentViewModel> currentDocument
currentPageback to summary
private final ObjectProperty<Integer> currentPage
filesback to summary
private final ListProperty<LinkedFile> files
liveModeback to summary
private final BooleanProperty liveMode
LOGGERback to summary
private static final Logger LOGGER
maxPagesback to summary
private final IntegerProperty maxPages
preferencesServiceback to summary
private final PreferencesService preferencesService
stateManagerback to summary
private final StateManager stateManager

Constructor Detail

DocumentViewerViewModelback to summary
public DocumentViewerViewModel(StateManager stateManager, PreferencesService preferencesService)

Method Detail

currentDocumentPropertyback to summary
public ObjectProperty<DocumentViewModel> currentDocumentProperty()
currentPagePropertyback to summary
public ObjectProperty<Integer> currentPageProperty()
filesPropertyback to summary
public ListProperty<LinkedFile> filesProperty()
getCurrentPageback to summary
private int getCurrentPage()
maxPagesPropertyback to summary
public IntegerProperty maxPagesProperty()
setCurrentDocumentback to summary
private void setCurrentDocument(Path path)
setCurrentEntriesback to summary
private void setCurrentEntries(List<BibEntry> entries)
setLiveModeback to summary
public void setLiveMode(boolean value)
showNextPageback to summary
public void showNextPage()
showPageback to summary
public void showPage(int pageNumber)
showPreviousPageback to summary
public void showPreviousPage()
switchToFileback to summary
public void switchToFile(LinkedFile file)