Package org.jungrapht.samples.util
Enum LayoutHelper.Layouts
- java.lang.Object
-
- java.lang.Enum<LayoutHelper.Layouts>
-
- org.jungrapht.samples.util.LayoutHelper.Layouts
-
- All Implemented Interfaces:
Serializable,Comparable<LayoutHelper.Layouts>
- Enclosing class:
- LayoutHelper
public static enum LayoutHelper.Layouts extends Enum<LayoutHelper.Layouts>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BALLOONCIRCLEFA2FA2_BH_VISITORFRFR_BH_VISITORGEMKKMULTI_ROW_TREERADIALREDUCE_XING_CIRCLESELF_ORGANIZING_MAPSPRINGSPRING_BH_VISITORTIDY_RADIAL_TREETIDY_TREETREE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LayoutAlgorithmgetLayoutAlgorithm()LayoutAlgorithm.BuildergetLayoutAlgorithmBuilder()StringtoString()static LayoutHelper.LayoutsvalueOf(String name)Returns the enum constant of this type with the specified name.static LayoutHelper.LayoutsvalueOfName(String name)static LayoutHelper.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 LayoutHelper.Layouts KK
-
CIRCLE
public static final LayoutHelper.Layouts CIRCLE
-
REDUCE_XING_CIRCLE
public static final LayoutHelper.Layouts REDUCE_XING_CIRCLE
-
SELF_ORGANIZING_MAP
public static final LayoutHelper.Layouts SELF_ORGANIZING_MAP
-
FR
public static final LayoutHelper.Layouts FR
-
FR_BH_VISITOR
public static final LayoutHelper.Layouts FR_BH_VISITOR
-
FA2
public static final LayoutHelper.Layouts FA2
-
FA2_BH_VISITOR
public static final LayoutHelper.Layouts FA2_BH_VISITOR
-
SPRING
public static final LayoutHelper.Layouts SPRING
-
SPRING_BH_VISITOR
public static final LayoutHelper.Layouts SPRING_BH_VISITOR
-
GEM
public static final LayoutHelper.Layouts GEM
-
TREE
public static final LayoutHelper.Layouts TREE
-
MULTI_ROW_TREE
public static final LayoutHelper.Layouts MULTI_ROW_TREE
-
TIDY_TREE
public static final LayoutHelper.Layouts TIDY_TREE
-
TIDY_RADIAL_TREE
public static final LayoutHelper.Layouts TIDY_RADIAL_TREE
-
BALLOON
public static final LayoutHelper.Layouts BALLOON
-
RADIAL
public static final LayoutHelper.Layouts RADIAL
-
-
Method Detail
-
values
public static LayoutHelper.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 (LayoutHelper.Layouts c : LayoutHelper.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 LayoutHelper.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
-
getLayoutAlgorithmBuilder
public LayoutAlgorithm.Builder getLayoutAlgorithmBuilder()
-
toString
public String toString()
- Overrides:
toStringin classEnum<LayoutHelper.Layouts>
-
valueOfName
public static LayoutHelper.Layouts valueOfName(String name)
-
getLayoutAlgorithm
public LayoutAlgorithm getLayoutAlgorithm()
-
-