public enum TreeLayoutType extends java.lang.Enum<TreeLayoutType>
TreeLayout
class should be. They can be used as parameters
of the TreeLayout.setType(com.mindfusion.diagramming.TreeLayoutType)
method of the TreeLayout
class.Enum Constant and Description |
---|
Cascading
Windows Explorer- like tree.
|
Centered
Center parent nodes above their children.
|
Radial
The root node is at the center and each next level of children is
further from the root.
|
Modifier and Type | Method and Description |
---|---|
static TreeLayoutType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreeLayoutType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeLayoutType Cascading
public static final TreeLayoutType Centered
public static final TreeLayoutType Radial
public static TreeLayoutType[] values()
for (TreeLayoutType c : TreeLayoutType.values()) System.out.println(c);
public static TreeLayoutType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null