Enum PointStyle

java.lang.Object
java.lang.Enum<PointStyle>
com.codename1.charts.views.PointStyle
All Implemented Interfaces:
Serializable, Comparable<PointStyle>

public enum PointStyle extends Enum<PointStyle>
The chart point style enumerator.
  • Enum Constant Details

  • Method Details

    • values

      public static PointStyle[] 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 PointStyle 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
    • getPointStyleForName

      public static PointStyle getPointStyleForName(String name)

      Return the point shape that has the provided symbol.

      Parameters
      • name: the point style name
      Returns

      the point shape

    • getIndexForName

      public static int getIndexForName(String name)

      Returns the point shape index based on the given name.

      Returns

      the point shape index

    • getName

      public String getName()

      Returns the point shape name.

      Returns

      the point shape name

    • toString

      public String toString()

      Returns the point shape name.

      Returns

      the point shape name

      Overrides:
      toString in class Enum<PointStyle>