Enum Class MarkerType

java.lang.Object
java.lang.Enum<MarkerType>
com.jbstrap.ui.components.charts.params.enums.MarkerType
All Implemented Interfaces:
Serializable, Comparable<MarkerType>, Constable

public enum MarkerType extends Enum<MarkerType>
Marker types.
Since:
4.0
Author:
JBStrap
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Markers are displayed as squares on the chart and on the legend.
    Markers are displayed as dots on the chart and on the legend.
    Markers are displayed as crosses on the chart and on the legend.
    Markers are displayed as diamonds on the chart and on the legend.
    Markers are displayed as stars on the chart and on the legend.
    Markers are displayed as triangles on the chart and on the legend.
    Markers are displayed as wyes on the chart and on the legend.
  • Method Summary

    Modifier and Type
    Method
    Description
    static MarkerType
    Determines a marker type by its name.
    Gets the JavaScript parameter name for the marker type.
    static MarkerType
    Returns the enum constant of this class with the specified name.
    static MarkerType[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • CIRCLE

      public static final MarkerType CIRCLE
      Markers are displayed as dots on the chart and on the legend.
    • TRIANGLE

      public static final MarkerType TRIANGLE
      Markers are displayed as triangles on the chart and on the legend.
    • BOX

      public static final MarkerType BOX
      Markers are displayed as squares on the chart and on the legend.
    • STAR

      public static final MarkerType STAR
      Markers are displayed as stars on the chart and on the legend.
    • CROSS

      public static final MarkerType CROSS
      Markers are displayed as crosses on the chart and on the legend.
    • DIAMOND

      public static final MarkerType DIAMOND
      Markers are displayed as diamonds on the chart and on the legend.
    • WYE

      public static final MarkerType WYE
      Markers are displayed as wyes on the chart and on the legend.
  • Method Details

    • values

      public static MarkerType[] 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 MarkerType 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
    • toString

      public String toString()
      Gets the JavaScript parameter name for the marker type.
      Overrides:
      toString in class Enum<MarkerType>
      Returns:
      JavaScript parameter name corresponding to the marker type
    • fromName

      public static MarkerType fromName(String name)
      Determines a marker type by its name.
      Parameters:
      name - Marker type name
      Returns:
      Marker type for the specified name or null, if there is no marker type for the specified name