Top Methods
org.jabref.gui

public Interface LibraryTabContainer

Known Direct Implementers
org.jabref.gui.frame.JabRefFrame
Annotations
@NullMarked
Imports
java.util.List, org.jabref.model.database.BibDatabaseContext, org.jspecify.annotations.NonNull, .NullMarked, .Nullable

Method Summary

Modifier and TypeMethod and Description
public void
addTab(BibDatabaseContext bibDatabaseContext, boolean raisePanel)

public void
addTab(LibraryTab libraryTab, boolean raisePanel)

public boolean

Returns:

true if closing the tab was successful
closeTab
(@Nullable LibraryTab
to be closed.
tab
)

Closes a designated libraryTab

public boolean
public @Nullable LibraryTab
public List<LibraryTab>
public void
refresh()

Refreshes the ui after changes to the preferences

public void

Method Detail

addTabback to summary
public void addTab(BibDatabaseContext bibDatabaseContext, boolean raisePanel)
addTabback to summary
public void addTab(LibraryTab libraryTab, boolean raisePanel)
closeTabback to summary
public boolean closeTab(@Nullable LibraryTab tab)

Closes a designated libraryTab

Parameters
tab:@Nullable LibraryTab

to be closed.

Returns:boolean

true if closing the tab was successful

closeTabsback to summary
public boolean closeTabs(@NonNull List<LibraryTab> tabs)
getCurrentLibraryTabback to summary
public @Nullable LibraryTab getCurrentLibraryTab()
getLibraryTabsback to summary
public List<LibraryTab> getLibraryTabs()
refreshback to summary
public void refresh()

Refreshes the ui after changes to the preferences

showLibraryTabback to summary
public void showLibraryTab(LibraryTab libraryTab)