Enum Class MiniViewers.SyncType
- All Implemented Interfaces:
Serializable, Comparable<MiniViewers.SyncType>, Constable
- Enclosing class:
MiniViewers
The type of synchronization to use for mini viewers.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCenter the miniviewer based on the cursor location over the main viewer.Do not synchronize to the main viewer at all.Center the miniviewer using the last selected object in the main viewer, of the main viewer center if no object is selected.Center the miniviewer using the central pixel in the main viewer. -
Method Summary
Modifier and TypeMethodDescriptionstatic MiniViewers.SyncTypeReturns the enum constant of this class with the specified name.static MiniViewers.SyncType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CURSOR
Center the miniviewer based on the cursor location over the main viewer. -
VIEWER_CENTER
Center the miniviewer using the central pixel in the main viewer. -
SELECTED_OBJECT
Center the miniviewer using the last selected object in the main viewer, of the main viewer center if no object is selected. -
NONE
Do not synchronize to the main viewer at all.
-
-
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
-