public enum EventPhase extends java.lang.Enum<EventPhase> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum teamdev.browsercore.dom.EventPhase
Enum Constant and Description |
---|
AT_TARGET
Indicates that the event is being evaluated at the event target.
|
BUBBLING_PHASE
Indicates that the event is moving from the event target up to the root.
|
CAPTURING_PHASE
Indicates that the event is moving from the document root down the event target.
|
EVENT_PHASE_UNSPECIFIED
Reserved value.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
AT_TARGET_VALUE
Indicates that the event is being evaluated at the event target.
|
static int |
BUBBLING_PHASE_VALUE
Indicates that the event is moving from the event target up to the root.
|
static int |
CAPTURING_PHASE_VALUE
Indicates that the event is moving from the document root down the event target.
|
static int |
EVENT_PHASE_UNSPECIFIED_VALUE
Reserved value.
|
Modifier and Type | Method and Description |
---|---|
static EventPhase |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<EventPhase> |
internalGetValueMap() |
static EventPhase |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EventPhase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EventPhase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventPhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventPhase EVENT_PHASE_UNSPECIFIED
public static final EventPhase CAPTURING_PHASE
public static final EventPhase AT_TARGET
public static final EventPhase BUBBLING_PHASE
public static final EventPhase UNRECOGNIZED
public static final int EVENT_PHASE_UNSPECIFIED_VALUE
public static final int CAPTURING_PHASE_VALUE
public static final int AT_TARGET_VALUE
public static final int BUBBLING_PHASE_VALUE
public static EventPhase[] values()
for (EventPhase c : EventPhase.values()) System.out.println(c);
public static EventPhase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static EventPhase valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static EventPhase forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EventPhase> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static EventPhase valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)