Enum ResizingBehaviour.Operation
- All Implemented Interfaces:
Serializable, Comparable<ResizingBehaviour.Operation>
- Enclosing class:
ResizingBehaviour
The possible drag directions used while resizing a region.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionResizes from the east edge.Resizes from the north edge.Resizes from the north-east corner.Resizes from the north-west corner.Resizes from the south edge.Resizes from the south-east corner.Resizes from the south-west corner.Resizes from the west edge. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResizingBehaviour.OperationReturns the enum constant of this type with the specified name.static ResizingBehaviour.Operation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RESIZE_N
Resizes from the north edge. -
RESIZE_S
Resizes from the south edge. -
RESIZE_W
Resizes from the west edge. -
RESIZE_E
Resizes from the east edge. -
RESIZE_NW
Resizes from the north-west corner. -
RESIZE_NE
Resizes from the north-east corner. -
RESIZE_SW
Resizes from the south-west corner. -
RESIZE_SE
Resizes from the south-east corner.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-