Enum LineStyle

java.lang.Object
java.lang.Enum<LineStyle>
org.aesh.charts.common.LineStyle
All Implemented Interfaces:
Serializable, Comparable<LineStyle>

public enum LineStyle extends Enum<LineStyle>
Line rendering style for differentiating series on monochrome terminals.
  • Enum Constant Details

    • SOLID

      public static final LineStyle SOLID
      Continuous line (default).
    • DASHED

      public static final LineStyle DASHED
      Dashed line (every other point).
    • DOTTED

      public static final LineStyle DOTTED
      Dotted line (every third point).
  • Method Details

    • values

      public static LineStyle[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static LineStyle 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 name
      NullPointerException - if the argument is null