Enum Class LineStyle

java.lang.Object
java.lang.Enum<LineStyle>
velox.api.layer1.simplified.LineStyle
All Implemented Interfaces:
Serializable, Comparable<LineStyle>, Constable

public enum LineStyle extends Enum<LineStyle>
  • Enum Constant Details

    • SOLID

      public static final LineStyle SOLID
    • SHORT_DASH

      public static final LineStyle SHORT_DASH
    • LONG_DASH

      public static final LineStyle LONG_DASH
    • DOT

      public static final LineStyle DOT
    • DASH_DOT

      public static final LineStyle DASH_DOT
  • Method Details

    • values

      public static LineStyle[] 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 LineStyle 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
    • toIndicatorStyle

      public velox.api.layer1.messages.indicators.IndicatorLineStyle toIndicatorStyle(int width)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<LineStyle>
    • toLocalizedString

      public String toLocalizedString()
      Use this method to get text that should be displayed in the GUI