Uses of Record Class
ca.phon.util.SearchHistoryEntry
Packages that use SearchHistoryEntry
-
Uses of SearchHistoryEntry in ca.phon.ui
Method parameters in ca.phon.ui with type arguments of type SearchHistoryEntryModifier and TypeMethodDescriptionvoid
SearchHistoryListView.setSelectionCallback
(Consumer<SearchHistoryEntry> selectionCallback) Sets the callback to be invoked when a history entry is selected. -
Uses of SearchHistoryEntry in ca.phon.ui.text
Methods in ca.phon.ui.text with parameters of type SearchHistoryEntryModifier and TypeMethodDescriptionvoid
SearchField.addToSearchHistory
(SearchHistoryEntry entry) Add given entry to search history, requires that a history property was specified at construction time.Method parameters in ca.phon.ui.text with type arguments of type SearchHistoryEntryModifier and TypeMethodDescriptionvoid
SearchField.setSearchHistorySelectionCallback
(Consumer<SearchHistoryEntry> callback) -
Uses of SearchHistoryEntry in ca.phon.util
Methods in ca.phon.util that return SearchHistoryEntryModifier and TypeMethodDescriptionstatic SearchHistoryEntry
SearchHistory.addSimpleSearchEntry
(String prefix, String queryText, SearchType queryType) Adds a simple search entry with just query text and type for the given prefix.static SearchHistoryEntry
SearchHistory.addSimpleSearchEntry
(String prefix, String queryText, SearchType queryType, boolean caseSensitive) Adds a simple search entry with query text, type, and case sensitivity for the given prefix.SearchHistoryEntry.Builder.build()
Builds the search history entry.static SearchHistoryEntry
SearchHistory.deleteSearchEntry
(String prefix, int index) Removes a search entry at the specified index for the given prefix.static SearchHistoryEntry
SearchHistory.getMostRecentEntry
(String prefix) Gets the most recent search entry for the given prefix.Methods in ca.phon.util that return types with arguments of type SearchHistoryEntryModifier and TypeMethodDescriptionstatic List
<SearchHistoryEntry> SearchHistory.findEntriesByParameter
(String prefix, String parameterKey) Finds entries that contain the specified parameter for the given prefix.static List
<SearchHistoryEntry> SearchHistory.findEntriesByParameterValue
(String prefix, String parameterKey, String parameterValue) Finds entries that have a specific parameter value for the given prefix.static List
<SearchHistoryEntry> SearchHistory.findEntriesByQueryText
(String prefix, String queryText) Finds entries that match the given query text for the given prefix.static List
<SearchHistoryEntry> SearchHistory.findEntriesByQueryType
(String prefix, SearchType queryType) Finds entries that match the given query type for the given prefix.static List
<SearchHistoryEntry> SearchHistory.getSearchEntries
(String prefix) Retrieves all search entries for the given prefix in most-recently-used order.static List
<SearchHistoryEntry> SearchHistory.getSearchEntries
(String prefix, int limit) Retrieves up to the specified number of most recent search entries for the given prefix.Methods in ca.phon.util with parameters of type SearchHistoryEntryModifier and TypeMethodDescriptionstatic void
SearchHistory.addSearchEntry
(String prefix, SearchHistoryEntry entry) Adds a new search entry to the history for the given prefix.static void
SearchHistory.addSearchEntry
(String prefix, SearchHistoryEntry entry, int maxEntries) Adds a new search entry to the history for the given prefix with a specific maximum size.static boolean
SearchHistory.containsEntry
(String prefix, SearchHistoryEntry entry) Checks if the history for the given prefix contains the specified entry.static boolean
SearchHistory.deleteSearchEntry
(String prefix, SearchHistoryEntry entry) Removes a search entry from the history for the given prefix.static void
SearchHistory.updateSearchEntry
(String prefix, SearchHistoryEntry oldEntry, SearchHistoryEntry newEntry) Updates an existing search entry in the history for the given prefix.static void
SearchHistory.updateSearchEntry
(String prefix, SearchHistoryEntry oldEntry, SearchHistoryEntry newEntry, int maxEntries) Updates an existing search entry in the history for the given prefix with a specific maximum size.