Package docking.widgets
Enum Class DropDownTextFieldDataModel.SearchMode
java.lang.Object
java.lang.Enum<DropDownTextFieldDataModel.SearchMode>
docking.widgets.DropDownTextFieldDataModel.SearchMode
- All Implemented Interfaces:
Serializable,Comparable<DropDownTextFieldDataModel.SearchMode>,Constable
- Enclosing interface:
DropDownTextFieldDataModel<T>
public static enum DropDownTextFieldDataModel.SearchMode
extends Enum<DropDownTextFieldDataModel.SearchMode>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMatches when any line of data contains the search textMatches when any line of data starts with the search textUsed internallyMatches when any line of data contains the search text using globbing characters -
Method Summary
Modifier and TypeMethodDescriptioncreatePattern(String input) Creates search pattern for the given input text.getHint()Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTAINS
Matches when any line of data contains the search text -
STARTS_WITH
Matches when any line of data starts with the search text -
WILDCARD
Matches when any line of data contains the search text using globbing characters -
UNKNOWN
Used internally
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getHint
-
getDisplayName
-
createPattern
Creates search pattern for the given input text. Clients do not have to use this method and a free to create their own text matching mechanism.- Parameters:
input- the input for which to search- Returns:
- the pattern
- See Also:
-