public class SearchUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HIGHLIGHT_WITH_BORDER |
static java.lang.String |
STYLE_END |
Modifier and Type | Method and Description |
---|---|
static void |
appendFragments(java.lang.String filter,
java.lang.String text,
int style,
java.awt.Color foreground,
java.awt.Color background,
SimpleColoredComponent textRenderer) |
static java.util.List<Configurable> |
expand(ConfigurableGroup [] groups) |
static java.util.List<Configurable> |
expandGroup(ConfigurableGroup group) |
static java.util.List<java.util.Set<java.lang.String>> |
findKeys(java.lang.String filter,
java.util.Set<? super java.lang.String> quoted) |
static java.util.List<java.lang.String> |
getItemsFromComboBox(javax.swing.JComboBox comboBox) |
static boolean |
isAcceptable(Configurable configurable) |
static boolean |
isComponentHighlighted(java.lang.String text,
java.lang.String option,
boolean force,
SearchableConfigurable configurable) |
static void |
lightOptions(SearchableConfigurable configurable,
javax.swing.JComponent component,
java.lang.String option) |
static java.lang.String |
markup(java.lang.String textToMarkup,
java.lang.String filter) |
static void |
processExpandedGroups(ConfigurableGroup group,
java.util.function.Consumer<? super Configurable> consumer) |
static java.lang.String |
processFilter(java.lang.String filter,
java.util.Set<? super java.lang.String> quoted) |
static void |
processProjectConfigurables(Project project,
java.util.Map<SearchableConfigurable,java.util.Set<OptionDescription>> options) |
public static final java.lang.String HIGHLIGHT_WITH_BORDER
public static final java.lang.String STYLE_END
public static void processProjectConfigurables(Project project, java.util.Map<SearchableConfigurable,java.util.Set<OptionDescription>> options)
public static java.util.List<java.lang.String> getItemsFromComboBox(javax.swing.JComboBox comboBox)
public static void lightOptions(SearchableConfigurable configurable, javax.swing.JComponent component, java.lang.String option)
public static boolean isComponentHighlighted(java.lang.String text, java.lang.String option, boolean force, SearchableConfigurable configurable)
public static java.lang.String markup(java.lang.String textToMarkup, java.lang.String filter)
public static void appendFragments(java.lang.String filter, java.lang.String text, int style, java.awt.Color foreground, java.awt.Color background, SimpleColoredComponent textRenderer)
public static java.util.List<java.util.Set<java.lang.String>> findKeys(java.lang.String filter, java.util.Set<? super java.lang.String> quoted)
public static java.lang.String processFilter(java.lang.String filter, java.util.Set<? super java.lang.String> quoted)
public static java.util.List<Configurable> expand(ConfigurableGroup [] groups)
public static java.util.List<Configurable> expandGroup(ConfigurableGroup group)
public static void processExpandedGroups(ConfigurableGroup group, java.util.function.Consumer<? super Configurable> consumer)
public static boolean isAcceptable(Configurable configurable)