Package docking.widgets.filter
Enum TextFilterStrategy
- java.lang.Object
-
- java.lang.Enum<TextFilterStrategy>
-
- docking.widgets.filter.TextFilterStrategy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TextFilterStrategy>
public enum TextFilterStrategy extends java.lang.Enum<TextFilterStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINS
MATCHES_EXACTLY
REGULAR_EXPRESSION
STARTS_WITH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextFilterStrategy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TextFilterStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTAINS
public static final TextFilterStrategy CONTAINS
-
STARTS_WITH
public static final TextFilterStrategy STARTS_WITH
-
MATCHES_EXACTLY
public static final TextFilterStrategy MATCHES_EXACTLY
-
REGULAR_EXPRESSION
public static final TextFilterStrategy REGULAR_EXPRESSION
-
-
Method Detail
-
values
public static TextFilterStrategy[] 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 (TextFilterStrategy c : TextFilterStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextFilterStrategy 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
-
-