Enum Class PFDLayoutPolicy.PhaseZone
java.lang.Object
java.lang.Enum<PFDLayoutPolicy.PhaseZone>
neqsim.process.processmodel.diagram.PFDLayoutPolicy.PhaseZone
- All Implemented Interfaces:
Serializable, Comparable<PFDLayoutPolicy.PhaseZone>, Constable
- Enclosing class:
PFDLayoutPolicy
Vertical phase zone for gravity-based positioning.
Oil & gas PFDs follow gravity conventions for vertical positioning:
- Gas processing equipment at TOP (lightest phase)
- Oil processing equipment in MIDDLE (intermediate density)
- Water processing equipment at BOTTOM (heaviest phase)
- Version:
- 1.0
- Author:
- NeqSim
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGas zone - top of diagram.Oil zone - middle of diagram.Mixed/separation zone - center anchor.Unknown zone.Water zone - bottom of diagram. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetColor()Gets the zone color.getLabel()Gets the zone label.intGets the vertical rank for top-to-bottom ordering.static PFDLayoutPolicy.PhaseZoneReturns the enum constant of this class with the specified name.static PFDLayoutPolicy.PhaseZone[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GAS_TOP
Gas zone - top of diagram. -
OIL_MIDDLE
Oil zone - middle of diagram. -
WATER_BOTTOM
Water zone - bottom of diagram. -
SEPARATION_CENTER
Mixed/separation zone - center anchor. -
UNKNOWN
Unknown zone.
-
-
Field Details
-
verticalRank
private final int verticalRank -
color
-
label
-
-
Constructor Details
-
PhaseZone
-
-
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
-
getVerticalRank
public int getVerticalRank()Gets the vertical rank for top-to-bottom ordering.- Returns:
- vertical rank (0=top, higher=bottom)
-
getColor
-
getLabel
-