Top Inners Fields Constructors Methods
org.jabref.gui.autocompleter

public Class AutoCompletePreferences

extends Object
Class Inheritance
Imports
java.util.Set, javafx.beans.property.BooleanProperty, .ObjectProperty, .SimpleBooleanProperty, .SimpleObjectProperty, javafx.collections.FXCollections, .ObservableSet, org.jabref.logic.preferences.AutoCompleteFirstNameMode, org.jabref.model.entry.field.Field

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Field Summary

Modifier and TypeField and Description
private final ObservableSet<Field>
private final ObjectProperty<AutoCompleteFirstNameMode>
private final ObjectProperty<AutoCompletePreferences.NameFormat>
private final BooleanProperty

Constructor Summary

AccessConstructor and Description
public
AutoCompletePreferences(boolean shouldAutoComplete, AutoCompleteFirstNameMode firstNameMode, AutoCompletePreferences.NameFormat nameFormat, Set<Field> completeFields)

Method Summary

Modifier and TypeMethod and Description
public BooleanProperty
public ObjectProperty<AutoCompleteFirstNameMode>
public ObservableSet<Field>

Returns:

List of field names
getCompleteFields
()

Returns the list of fields for which autocomplete is enabled

public AutoCompleteFirstNameMode
getFirstNameMode()

Returns how the first names are handled.

public AutoCompletePreferences.NameFormat
public ObjectProperty<AutoCompletePreferences.NameFormat>
public void
setAutoComplete(boolean shouldAutoComplete)

public void
public void
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

completeFieldsback to summary
private final ObservableSet<Field> completeFields
firstNameModeback to summary
private final ObjectProperty<AutoCompleteFirstNameMode> firstNameMode
nameFormatback to summary
private final ObjectProperty<AutoCompletePreferences.NameFormat> nameFormat
shouldAutoCompleteback to summary
private final BooleanProperty shouldAutoComplete

Constructor Detail

AutoCompletePreferencesback to summary
public AutoCompletePreferences(boolean shouldAutoComplete, AutoCompleteFirstNameMode firstNameMode, AutoCompletePreferences.NameFormat nameFormat, Set<Field> completeFields)

Method Detail

autoCompletePropertyback to summary
public BooleanProperty autoCompleteProperty()
firstNameModePropertyback to summary
public ObjectProperty<AutoCompleteFirstNameMode> firstNameModeProperty()
getCompleteFieldsback to summary
public ObservableSet<Field> getCompleteFields()

Returns the list of fields for which autocomplete is enabled

Returns:ObservableSet<Field>

List of field names

getFirstNameModeback to summary
public AutoCompleteFirstNameMode getFirstNameMode()

Returns how the first names are handled.

getNameFormatback to summary
public AutoCompletePreferences.NameFormat getNameFormat()
nameFormatPropertyback to summary
public ObjectProperty<AutoCompletePreferences.NameFormat> nameFormatProperty()
setAutoCompleteback to summary
public void setAutoComplete(boolean shouldAutoComplete)
setFirstNameModeback to summary
public void setFirstNameMode(AutoCompleteFirstNameMode firstNameMode)
setNameFormatback to summary
public void setNameFormat(AutoCompletePreferences.NameFormat nameFormat)
shouldAutoCompleteback to summary
public boolean shouldAutoComplete()
org.jabref.gui.autocompleter back to summary

public final Enum AutoCompletePreferences.NameFormat

extends Enum<AutoCompletePreferences.NameFormat>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final AutoCompletePreferences.NameFormat
public static final AutoCompletePreferences.NameFormat
public static final AutoCompletePreferences.NameFormat

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static AutoCompletePreferences.NameFormat
public static AutoCompletePreferences.NameFormat[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BOTHback to summary
public static final AutoCompletePreferences.NameFormat BOTH
FIRST_LASTback to summary
public static final AutoCompletePreferences.NameFormat FIRST_LAST
LAST_FIRSTback to summary
public static final AutoCompletePreferences.NameFormat LAST_FIRST

Constructor Detail

NameFormatback to summary
private NameFormat()

Method Detail

valueOfback to summary
public static AutoCompletePreferences.NameFormat valueOf(String name)
valuesback to summary
public static AutoCompletePreferences.NameFormat[] values()