Package org.freedesktop.wayland.shared
Enum Class WlShellSurfaceResize
- All Implemented Interfaces:
Serializable
,Comparable<WlShellSurfaceResize>
,Constable
edge values for resizing
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionbottom edgebottom and left edgesbottom and right edgesleft edgeno edgeright edgetop edgetop and left edgestop and right edges -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static WlShellSurfaceResize
of
(int i) static WlShellSurfaceResize
Returns the enum constant of this class with the specified name.static WlShellSurfaceResize[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
no edge -
TOP
top edge -
BOTTOM
bottom edge -
LEFT
left edge -
TOP_LEFT
top and left edges -
BOTTOM_LEFT
bottom and left edges -
RIGHT
right edge -
TOP_RIGHT
top and right edges -
BOTTOM_RIGHT
bottom and right edges
-
-
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
-