public enum TreeLayoutDirection extends java.lang.Enum<TreeLayoutDirection>
TreeLayout
class.
These constants can be used as parameters of the
TreeLayout.setDirection(com.mindfusion.diagramming.jlayout.TreeLayoutDirection)
method.Enum Constant and Description |
---|
BottomToTop
Child nodes are laid out above their parent node.
|
LeftToRight
Child nodes are laid out to the right of their parent node.
|
RightToLeft
Child nodes are laid out to the left of their parent node.
|
TopToBottom
Child nodes are laid out below their parent node.
|
Modifier and Type | Method and Description |
---|---|
static TreeLayoutDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreeLayoutDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeLayoutDirection TopToBottom
public static final TreeLayoutDirection BottomToTop
public static final TreeLayoutDirection LeftToRight
public static final TreeLayoutDirection RightToLeft
public static TreeLayoutDirection[] values()
for (TreeLayoutDirection c : TreeLayoutDirection.values()) System.out.println(c);
public static TreeLayoutDirection 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