Top Description Fields Constructors Methods
org.jabref.gui.search

public final Enum SearchDisplayMode

extends Enum<SearchDisplayMode>
Class Inheritance
Imports
java.util.function.Supplier, org.jabref.logic.l10n.Localization

Collects the possible search modes

Field Summary

Modifier and TypeField and Description
private final Supplier<String>
public static final SearchDisplayMode
public static final SearchDisplayMode
private final Supplier<String>

Constructor Summary

AccessConstructor and Description
private
SearchDisplayMode(Supplier<String> displayName, Supplier<String> toolTipText)

We have to use supplier for the localized text so that language changes are correctly reflected.

Method Summary

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

Field Detail

displayNameback to summary
private final Supplier<String> displayName
FILTERback to summary
public static final SearchDisplayMode FILTER
FLOATback to summary
public static final SearchDisplayMode FLOAT
toolTipTextback to summary
private final Supplier<String> toolTipText

Constructor Detail

SearchDisplayModeback to summary
private SearchDisplayMode(Supplier<String> displayName, Supplier<String> toolTipText)

We have to use supplier for the localized text so that language changes are correctly reflected.

Method Detail

getDisplayNameback to summary
public String getDisplayName()
getToolTipTextback to summary
public String getToolTipText()
valueOfback to summary
public static SearchDisplayMode valueOf(String name)
valuesback to summary
public static SearchDisplayMode[] values()