Enum MatrixSettings.OwnerDisplayMode
- java.lang.Object
-
- java.lang.Enum<MatrixSettings.OwnerDisplayMode>
-
- com.nomagic.magicdraw.dependencymatrix.persistence.MatrixSettings.OwnerDisplayMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MatrixSettings.OwnerDisplayMode>
- Enclosing class:
- MatrixSettings
public static enum MatrixSettings.OwnerDisplayMode extends java.lang.Enum<MatrixSettings.OwnerDisplayMode>
Dependency Matrix group tree display modes
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPACT_TREE
FULL_QUALIFIED_NAME
HIDDEN
TREE
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
mType
Type representation string
-
Constructor Summary
Constructors Modifier Constructor Description private
OwnerDisplayMode(java.lang.String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MatrixSettings.OwnerDisplayMode
getEnum(java.lang.String type)
Gets enum according to type valuejava.lang.String
getType()
static MatrixSettings.OwnerDisplayMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MatrixSettings.OwnerDisplayMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TREE
public static final MatrixSettings.OwnerDisplayMode TREE
-
HIDDEN
public static final MatrixSettings.OwnerDisplayMode HIDDEN
-
FULL_QUALIFIED_NAME
public static final MatrixSettings.OwnerDisplayMode FULL_QUALIFIED_NAME
-
COMPACT_TREE
public static final MatrixSettings.OwnerDisplayMode COMPACT_TREE
-
-
Method Detail
-
values
public static MatrixSettings.OwnerDisplayMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MatrixSettings.OwnerDisplayMode c : MatrixSettings.OwnerDisplayMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MatrixSettings.OwnerDisplayMode valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getType
public java.lang.String getType()
- Returns:
- Type representation string
-
getEnum
public static MatrixSettings.OwnerDisplayMode getEnum(java.lang.String type)
Gets enum according to type value- Parameters:
type
- type to find- Returns:
- enum of this type
-
-