Package net.risingworld.api.definitions
Enum Class Objects.SelectorHelperMode
java.lang.Object
java.lang.Enum<Objects.SelectorHelperMode>
net.risingworld.api.definitions.Objects.SelectorHelperMode
- All Implemented Interfaces:
Serializable
,Comparable<Objects.SelectorHelperMode>
,Constable
- Enclosing class:
Objects
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDefault resize behaviour (same size as the object)Size always remains the same, irrespective of object sizeResize proportional based on X sizeResize proportional based on Y sizeResize proportional based on Z size -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Objects.SelectorHelperMode
get
(int value) static Objects.SelectorHelperMode
Returns the enum constant of this class with the specified name.static Objects.SelectorHelperMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Default
Default resize behaviour (same size as the object) -
KeepSize
Size always remains the same, irrespective of object size -
ResizeProportionalX
Resize proportional based on X size -
ResizeProportionalY
Resize proportional based on Y size -
ResizeProportionalZ
Resize proportional based on Z size
-
-
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
-
get
-