public enum WlShellSurfaceResize extends Enum<WlShellSurfaceResize>
These values are used to indicate which edge of a surface is being dragged in a resize operation. The server may use this information to adapt its behavior, e.g. choose an appropriate cursor image.
| Enum Constant and Description |
|---|
BOTTOM
bottom edge
|
BOTTOM_LEFT
bottom and left edges
|
BOTTOM_RIGHT
bottom and right edges
|
LEFT
left edge
|
NONE
no edge
|
RIGHT
right edge
|
TOP
top edge
|
TOP_LEFT
top and left edges
|
TOP_RIGHT
top and right edges
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static WlShellSurfaceResize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WlShellSurfaceResize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WlShellSurfaceResize NONE
public static final WlShellSurfaceResize TOP
public static final WlShellSurfaceResize BOTTOM
public static final WlShellSurfaceResize LEFT
public static final WlShellSurfaceResize TOP_LEFT
public static final WlShellSurfaceResize BOTTOM_LEFT
public static final WlShellSurfaceResize RIGHT
public static final WlShellSurfaceResize TOP_RIGHT
public static final WlShellSurfaceResize BOTTOM_RIGHT
public static WlShellSurfaceResize[] values()
for (WlShellSurfaceResize c : WlShellSurfaceResize.values()) System.out.println(c);
public static WlShellSurfaceResize 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.