Package org.netxms.client.maps
Enum MapLayoutAlgorithm
- java.lang.Object
-
- java.lang.Enum<MapLayoutAlgorithm>
-
- org.netxms.client.maps.MapLayoutAlgorithm
-
- All Implemented Interfaces:
Serializable,Comparable<MapLayoutAlgorithm>
public enum MapLayoutAlgorithm extends Enum<MapLayoutAlgorithm>
Map layout algorithm
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MapLayoutAlgorithmgetByValue(int value)intgetValue()static MapLayoutAlgorithmvalueOf(String name)Returns the enum constant of this type with the specified name.static MapLayoutAlgorithm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANUAL
public static final MapLayoutAlgorithm MANUAL
-
SPRING
public static final MapLayoutAlgorithm SPRING
-
RADIAL
public static final MapLayoutAlgorithm RADIAL
-
HTREE
public static final MapLayoutAlgorithm HTREE
-
VTREE
public static final MapLayoutAlgorithm VTREE
-
SPARSE_VTREE
public static final MapLayoutAlgorithm SPARSE_VTREE
-
-
Method Detail
-
values
public static MapLayoutAlgorithm[] 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 (MapLayoutAlgorithm c : MapLayoutAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapLayoutAlgorithm valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()
-
getByValue
public static MapLayoutAlgorithm getByValue(int value)
-
-