Package org.jungrapht.samples.util
Enum SubLayoutHelper.Layouts
- java.lang.Object
-
- java.lang.Enum<SubLayoutHelper.Layouts>
-
- org.jungrapht.samples.util.SubLayoutHelper.Layouts
-
- All Implemented Interfaces:
Serializable
,Comparable<SubLayoutHelper.Layouts>
- Enclosing class:
- SubLayoutHelper
public static enum SubLayoutHelper.Layouts extends Enum<SubLayoutHelper.Layouts>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CIRCLE
FR
FR_BH_VISITOR
KK
SELF_ORGANIZING_MAP
SPRING
SPRING_BH_VISITOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LayoutAlgorithm
getLayoutAlgorithm()
String
toString()
static SubLayoutHelper.Layouts
valueOf(String name)
Returns the enum constant of this type with the specified name.static SubLayoutHelper.Layouts
valueOfName(String name)
static SubLayoutHelper.Layouts[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KK
public static final SubLayoutHelper.Layouts KK
-
CIRCLE
public static final SubLayoutHelper.Layouts CIRCLE
-
SELF_ORGANIZING_MAP
public static final SubLayoutHelper.Layouts SELF_ORGANIZING_MAP
-
FR
public static final SubLayoutHelper.Layouts FR
-
FR_BH_VISITOR
public static final SubLayoutHelper.Layouts FR_BH_VISITOR
-
SPRING
public static final SubLayoutHelper.Layouts SPRING
-
SPRING_BH_VISITOR
public static final SubLayoutHelper.Layouts SPRING_BH_VISITOR
-
-
Method Detail
-
values
public static SubLayoutHelper.Layouts[] 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 (SubLayoutHelper.Layouts c : SubLayoutHelper.Layouts.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubLayoutHelper.Layouts 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
-
getLayoutAlgorithm
public LayoutAlgorithm getLayoutAlgorithm()
-
toString
public String toString()
- Overrides:
toString
in classEnum<SubLayoutHelper.Layouts>
-
valueOfName
public static SubLayoutHelper.Layouts valueOfName(String name)
-
-