Enum EFlowGraphLayoutMode
- java.lang.Object
-
- java.lang.Enum<EFlowGraphLayoutMode>
-
- de.xima.fc.workflow.designer.model.EFlowGraphLayoutMode
-
- All Implemented Interfaces:
Serializable
,Comparable<EFlowGraphLayoutMode>
public enum EFlowGraphLayoutMode extends Enum<EFlowGraphLayoutMode>
Possible ways of how the flow graph layout is computed for purposes of visualization.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOW
Layout nodes and edges according to the computed directed flow control graph, seeINodeHandler#createFlowGraph
.FLOW_AND_HIERARCHY
Layout nodes and edges observing constraints from both theflow graph
and theabstract syntax tree hierarchy
.HIERARCHY
Layout nodes and edges according to their hierarchy in the abstract syntax tree, seeWorkflowNode.getChildren()
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EFlowGraphLayoutMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static EFlowGraphLayoutMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLOW
public static final EFlowGraphLayoutMode FLOW
Layout nodes and edges according to the computed directed flow control graph, seeINodeHandler#createFlowGraph
.
-
FLOW_AND_HIERARCHY
public static final EFlowGraphLayoutMode FLOW_AND_HIERARCHY
Layout nodes and edges observing constraints from both theflow graph
and theabstract syntax tree hierarchy
.
-
HIERARCHY
public static final EFlowGraphLayoutMode HIERARCHY
Layout nodes and edges according to their hierarchy in the abstract syntax tree, seeWorkflowNode.getChildren()
.
-
-
Method Detail
-
values
public static EFlowGraphLayoutMode[] 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 (EFlowGraphLayoutMode c : EFlowGraphLayoutMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFlowGraphLayoutMode 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
-
-