Enum SearchAction.Status
- All Implemented Interfaces:
Serializable, Comparable<SearchAction.Status>, java.lang.constant.Constable
- Enclosing interface:
SearchAction
Enumeration of possible search operation statuses.
- Author:
- Ståle W. Pedersen
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDelete character during search.Search has ended.Search has been exited.Search is accepting input.Search was interrupted.Move cursor to beginning of line during search.Move cursor to end of line during search.Move cursor left during search.Move to next search result.Move to previous search result.Move cursor right during search.Search for next match.Search has not been initiated yet.Search for previous match. -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchAction.StatusReturns the enum constant of this type with the specified name.static SearchAction.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SEARCH_NOT_STARTED
Search has not been initiated yet. -
SEARCH_EXIT
Search has been exited. -
SEARCH_INPUT
Search is accepting input. -
SEARCH_INTERRUPT
Search was interrupted. -
SEARCH_END
Search has ended. -
SEARCH_PREV
Search for previous match. -
SEARCH_NEXT
Search for next match. -
SEARCH_DELETE
Delete character during search. -
SEARCH_MOVE_PREV
Move to previous search result. -
SEARCH_MOVE_NEXT
Move to next search result. -
SEARCH_MOVE_RIGHT
Move cursor right during search. -
SEARCH_MOVE_LEFT
Move cursor left during search. -
SEARCH_MOVE_BEGINNING_OF_LINE
Move cursor to beginning of line during search. -
SEARCH_MOVE_END_OF_LINE
Move cursor to end of line during search.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-