Enum Class MOwner
- All Implemented Interfaces:
Serializable,Comparable<MOwner>,Constable
MOwner is an enum which represents the different types of mouse owners in the sceneManager.
It is used to determine which MouseOwner is the owner of the mouse input in the sceneManager and
to allow for easy switching between different MouseOwners.
- Author:
- Lehlogonolo Poole
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMouse owner that always existsNo mouse ownerOwner for orbit the cameraOwner for quick translateOwner for rotation actionsOwner for scaling actionsOwner for selection actionsOwner for translation actions -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
NONE
No mouse owner -
SELECTION
Owner for selection actions -
TRANSLATE_HANDLE
Owner for translation actions -
ROTATE_HANDLE
Owner for rotation actions -
SCALE_HANDLE
Owner for scaling actions -
ORBIT
Owner for orbit the camera -
ALWAYS
Mouse owner that always exists -
QTRANS
Owner for quick translate
-
-
Constructor Details
-
MOwner
private MOwner()
-
-
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
-