Enum Class AnnotationDataType
- All Implemented Interfaces:
IdentifiedNetworkType<AnnotationData>, Serializable, Comparable<AnnotationDataType>, Constable
public enum AnnotationDataType
extends Enum<AnnotationDataType>
implements IdentifiedNetworkType<AnnotationData>
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Nested classes/interfaces inherited from interface IdentifiedNetworkType
IdentifiedNetworkType.NetworkTypeEntry<T> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minestom.server.network.NetworkBuffer.Type<AnnotationDataType> -
Method Summary
Modifier and TypeMethodDescriptionentry()static AnnotationDataTypeReturns the enum constant of this class with the specified name.static AnnotationDataType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINE
-
TEXT
-
IMAGE
-
FREEHAND_OUTLINE
-
LINES_OUTLINE
-
BOX_OUTLINE
-
-
Field Details
-
TYPE
-
-
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
-
entry
- Specified by:
entryin interfaceIdentifiedNetworkType<AnnotationData>
-