Verified Owner
Top Fields Constructors Methods
org.jabref.gui.preferences.groups

public Class GroupsTabViewModel

extends Object
implements PreferenceTabViewModel
Class Inheritance
All Implemented Interfaces
org.jabref.gui.preferences.PreferenceTabViewModel
Imports
javafx.beans.property.BooleanProperty, .SimpleBooleanProperty, org.jabref.gui.groups.GroupViewMode, .GroupsPreferences, org.jabref.gui.preferences.PreferenceTabViewModel

Field Summary

Modifier and TypeField and Description
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty
private final GroupsPreferences
private final BooleanProperty
private final BooleanProperty
private final BooleanProperty

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public BooleanProperty
public BooleanProperty
public BooleanProperty
public BooleanProperty
public BooleanProperty
public void
setValues()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.setValues.

This method is called when the dialog is opened, or if it is made visible after being hidden.

public BooleanProperty
public void
storeSettings()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.storeSettings.

This method is called when the user presses OK in the Preferences dialog.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

autoAssignGroupPropertyback to summary
private final BooleanProperty autoAssignGroupProperty
autoIncludeSelectedEntriesPropertyback to summary
private final BooleanProperty autoIncludeSelectedEntriesProperty
displayGroupCountPropertyback to summary
private final BooleanProperty displayGroupCountProperty
groupsPreferencesback to summary
private final GroupsPreferences groupsPreferences
groupViewModeIntersectionPropertyback to summary
private final BooleanProperty groupViewModeIntersectionProperty
groupViewModeUnionPropertyback to summary
private final BooleanProperty groupViewModeUnionProperty
showAiChatButtonPropertyback to summary
private final BooleanProperty showAiChatButtonProperty

Constructor Detail

GroupsTabViewModelback to summary
public GroupsTabViewModel(GroupsPreferences groupsPreferences)

Method Detail

autoAssignGroupPropertyback to summary
public BooleanProperty autoAssignGroupProperty()
autoIncludeSelectedEntriesPropertyback to summary
public BooleanProperty autoIncludeSelectedEntriesProperty()
displayGroupCountback to summary
public BooleanProperty displayGroupCount()
groupViewModeIntersectionPropertyback to summary
public BooleanProperty groupViewModeIntersectionProperty()
groupViewModeUnionPropertyback to summary
public BooleanProperty groupViewModeUnionProperty()
setValuesback to summary
public void setValues()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.setValues.

Doc from org.jabref.gui.preferences.PreferenceTabViewModel.setValues.

This method is called when the dialog is opened, or if it is made visible after being hidden. The tab should update all its values.

This is the ONLY PLACE to set values for the fields in the tab. It is ILLEGAL to set values only at construction time, because the dialog will be reused and updated.

Annotations
@Override
showAiChatButtonPropertyback to summary
public BooleanProperty showAiChatButtonProperty()
storeSettingsback to summary
public void storeSettings()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.storeSettings.

Doc from org.jabref.gui.preferences.PreferenceTabViewModel.storeSettings.

This method is called when the user presses OK in the Preferences dialog. Implementing classes must make sure all settings presented get stored in PreferencesService.

Annotations
@Override