Enum WordHighlightProvider.Flags
- java.lang.Object
-
- java.lang.Enum<WordHighlightProvider.Flags>
-
- com.vladsch.plugin.util.ui.highlight.WordHighlightProvider.Flags
-
- All Implemented Interfaces:
com.vladsch.flexmark.util.misc.BitField,java.io.Serializable,java.lang.Comparable<WordHighlightProvider.Flags>
- Enclosing interface:
- WordHighlightProvider<T>
public static enum WordHighlightProvider.Flags extends java.lang.Enum<WordHighlightProvider.Flags> implements com.vladsch.flexmark.util.misc.BitField
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEGIN_WORDCASE_SENSITIVITYEND_WORDIDE_HIGHLIGHT
-
Field Summary
Fields Modifier and Type Field Description intbits
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBits()static WordHighlightProvider.FlagsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WordHighlightProvider.Flags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDE_HIGHLIGHT
public static final WordHighlightProvider.Flags IDE_HIGHLIGHT
-
BEGIN_WORD
public static final WordHighlightProvider.Flags BEGIN_WORD
-
END_WORD
public static final WordHighlightProvider.Flags END_WORD
-
CASE_SENSITIVITY
public static final WordHighlightProvider.Flags CASE_SENSITIVITY
-
-
Method Detail
-
values
public static WordHighlightProvider.Flags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WordHighlightProvider.Flags c : WordHighlightProvider.Flags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WordHighlightProvider.Flags valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getBits
public int getBits()
- Specified by:
getBitsin interfacecom.vladsch.flexmark.util.misc.BitField
-
-