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

public static enum PFDLayoutPolicy.StreamPhase extends Enum<PFDLayoutPolicy.StreamPhase>
Stream phase classification based on vapor/liquid fraction.
Version:
1.0
Author:
NeqSim
  • Enum Constant Details

  • Field Details

    • color

      private final String color
    • lineStyle

      private final String lineStyle
    • label

      private final String label
  • Constructor Details

  • Method Details

    • values

      public static PFDLayoutPolicy.StreamPhase[] 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

      public static PFDLayoutPolicy.StreamPhase valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getColor

      public String getColor()
      Gets the recommended color for this phase.
      Returns:
      hex color string
    • getLineStyle

      public String getLineStyle()
      Gets the recommended line style for Graphviz.
      Returns:
      line style string (solid, dashed, dotted, bold)
    • getLabel

      public String getLabel()
      Gets the display label for this phase.
      Returns:
      display label