Enum ViewPositionMode
- All Implemented Interfaces:
Serializable
,Comparable<ViewPositionMode>
,java.lang.constant.Constable
The
ViewBoundMode
allows to apply a restriction on the degree of freedom that is let on
the View control.- Author:
- Martin Pernollet
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNo enforcement of view point: let the user freely turn around the scene.Enforce view point on profile of the scene.Enforce view point on top of the scene, leading to a XY axisEnforce view point on the side of the scene, leading to a XZ axisEnforce view point on the side of the scene, leading to a YZ axis -
Method Summary
Modifier and TypeMethodDescriptionstatic ViewPositionMode
Returns the enum constant of this type with the specified name.static ViewPositionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TOP
Enforce view point on top of the scene, leading to a XY axis -
PROFILE
Enforce view point on profile of the scene. -
FREE
No enforcement of view point: let the user freely turn around the scene. -
YZ
Enforce view point on the side of the scene, leading to a YZ axis -
XZ
Enforce view point on the side of the scene, leading to a XZ axis
-
-
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
-