public enum WlSurfaceError extends Enum<WlSurfaceError>
These errors can be emitted in response to wl_surface requests.
| Enum Constant and Description |
|---|
INVALID_SCALE
buffer scale value is invalid
|
INVALID_TRANSFORM
buffer transform value is invalid
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static WlSurfaceError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WlSurfaceError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WlSurfaceError INVALID_SCALE
public static final WlSurfaceError INVALID_TRANSFORM
public static WlSurfaceError[] values()
for (WlSurfaceError c : WlSurfaceError.values()) System.out.println(c);
public static WlSurfaceError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016. All rights reserved.