Enum MatrixSettings.LegendLocation
- java.lang.Object
-
- java.lang.Enum<MatrixSettings.LegendLocation>
-
- com.nomagic.magicdraw.dependencymatrix.persistence.MatrixSettings.LegendLocation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MatrixSettings.LegendLocation>
- Enclosing class:
- MatrixSettings
public static enum MatrixSettings.LegendLocation extends java.lang.Enum<MatrixSettings.LegendLocation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABOVE_COLUMN_HEADER
DO_NOT_DISPLAY
TOP_LEFT_CORNER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MatrixSettings.LegendLocation
getEnum(java.lang.String type)
Finds enum by its typejava.lang.String
getType()
Representation type of this enum (literal values)static MatrixSettings.LegendLocation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MatrixSettings.LegendLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABOVE_COLUMN_HEADER
public static final MatrixSettings.LegendLocation ABOVE_COLUMN_HEADER
-
TOP_LEFT_CORNER
public static final MatrixSettings.LegendLocation TOP_LEFT_CORNER
-
DO_NOT_DISPLAY
public static final MatrixSettings.LegendLocation DO_NOT_DISPLAY
-
-
Method Detail
-
values
public static MatrixSettings.LegendLocation[] 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.LegendLocation c : MatrixSettings.LegendLocation.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.LegendLocation 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()
Representation type of this enum (literal values)- Returns:
- type string
-
getEnum
public static MatrixSettings.LegendLocation getEnum(java.lang.String type)
Finds enum by its type- Parameters:
type
- type to find- Returns:
- enum of provided type
-
-