- All Implemented Interfaces:
Serializable,Comparable<LabelParsedEventType>
@API(status=STABLE,
since="2021.3.0")
public enum LabelParsedEventType
extends Enum<LabelParsedEventType>
Type of an event when a label is parsed and created.
- Since:
- 2021.3.0
- Author:
- Michael J. Simons
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionParsed when creating anode pattern.Parsed in the context of removing labels.Parsed in the context of setting new labels. -
Method Summary
Modifier and TypeMethodDescriptionstatic LabelParsedEventTypeReturns the enum constant of this type with the specified name.static LabelParsedEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ON_NODE_PATTERN
Parsed when creating anode pattern. -
ON_SET
Parsed in the context of setting new labels. -
ON_REMOVE
Parsed in the context of removing labels.
-
-
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
-