Enum ResultsTabEvent.ResultsTabEventType
- java.lang.Object
-
- java.lang.Enum<ResultsTabEvent.ResultsTabEventType>
-
- ro.sync.exml.workspace.api.results.ResultsTabEvent.ResultsTabEventType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ResultsTabEvent.ResultsTabEventType>
- Enclosing interface:
- ResultsTabEvent
public static enum ResultsTabEvent.ResultsTabEventType extends java.lang.Enum<ResultsTabEvent.ResultsTabEventType>
The type of the event from the results tab.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_ACTION
The default action is desired to be executed for a result.SELECTED
An entry from the results tab was selected by clicking on it or using the arrow keys from the keyboard.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResultsTabEvent.ResultsTabEventType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ResultsTabEvent.ResultsTabEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SELECTED
public static final ResultsTabEvent.ResultsTabEventType SELECTED
An entry from the results tab was selected by clicking on it or using the arrow keys from the keyboard.
-
DEFAULT_ACTION
public static final ResultsTabEvent.ResultsTabEventType DEFAULT_ACTION
The default action is desired to be executed for a result. An entry was chosen by double-clicking it or by pressing Enter.
-
-
Method Detail
-
values
public static ResultsTabEvent.ResultsTabEventType[] 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 (ResultsTabEvent.ResultsTabEventType c : ResultsTabEvent.ResultsTabEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResultsTabEvent.ResultsTabEventType 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
-
-