Enum Class PFDLayoutPolicy.StreamPhase
java.lang.Object
java.lang.Enum<PFDLayoutPolicy.StreamPhase>
neqsim.process.processmodel.diagram.PFDLayoutPolicy.StreamPhase
- All Implemented Interfaces:
Serializable, Comparable<PFDLayoutPolicy.StreamPhase>, Constable
- Enclosing class:
PFDLayoutPolicy
Stream phase classification based on vapor/liquid fraction.
- Version:
- 1.0
- Author:
- NeqSim
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the recommended color for this phase.getLabel()Gets the display label for this phase.Gets the recommended line style for Graphviz.static PFDLayoutPolicy.StreamPhaseReturns the enum constant of this class with the specified name.static PFDLayoutPolicy.StreamPhase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GAS
Predominantly gas phase (>90% vapor). -
LIQUID
Predominantly liquid phase (>90% liquid). -
OIL
Oil phase (hydrocarbon liquid). -
AQUEOUS
Aqueous/water phase (heaviest liquid). -
MIXED
Mixed phase (two-phase flow). -
UNKNOWN
Unknown phase (not calculated).
-
-
Field Details
-
color
-
lineStyle
-
label
-
-
Constructor Details
-
StreamPhase
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getColor
-
getLineStyle
Gets the recommended line style for Graphviz.- Returns:
- line style string (solid, dashed, dotted, bold)
-
getLabel
-