Package org.freedesktop.wayland.shared
Enum Class ZwpLinuxBufferParamsV1Error
java.lang.Object
java.lang.Enum<ZwpLinuxBufferParamsV1Error>
org.freedesktop.wayland.shared.ZwpLinuxBufferParamsV1Error
- All Implemented Interfaces:
Serializable
,Comparable<ZwpLinuxBufferParamsV1Error>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthe dmabuf_batch object has already been used to create a wl_buffermissing or too many planes to create a bufferinvalid width or heightformat not supportedinvalid wl_buffer resulted from importing dmabufs via the create_immed request on given buffer_paramsoffset + stride * height goes out of dmabuf boundsplane index out of boundsthe plane index was already set -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static ZwpLinuxBufferParamsV1Error
of
(int i) static ZwpLinuxBufferParamsV1Error
Returns the enum constant of this class with the specified name.static ZwpLinuxBufferParamsV1Error[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALREADY_USED
the dmabuf_batch object has already been used to create a wl_buffer -
PLANE_IDX
plane index out of bounds -
PLANE_SET
the plane index was already set -
INCOMPLETE
missing or too many planes to create a buffer -
INVALID_FORMAT
format not supported -
INVALID_DIMENSIONS
invalid width or height -
OUT_OF_BOUNDS
offset + stride * height goes out of dmabuf bounds -
INVALID_WL_BUFFER
invalid wl_buffer resulted from importing dmabufs via the create_immed request on given buffer_params
-
-
Field Details
-
value
public final int value
-
-
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
-
getValue
public int getValue() -
of
-