Enum Class AxisNumericStyle

java.lang.Object
java.lang.Enum<AxisNumericStyle>
com.amalgamasimulation.charts.axes.ticks.AxisNumericStyle
All Implemented Interfaces:
Serializable, Comparable<AxisNumericStyle>, Constable

public enum AxisNumericStyle extends Enum<AxisNumericStyle>
Сlass that represents the numeric tick-values policy on the axis. The REGULAR_NUMERIC_TICK_AND_LABELS accepts Double, while the INTEGER_NUMERIC_TICK_AND_LABELS accepts only Integer as a tick-values.
Author:
Aleksey Kirillov
  • Enum Constant Details

    • REGULAR_NUMERIC_TICK_AND_LABELS

      public static final AxisNumericStyle REGULAR_NUMERIC_TICK_AND_LABELS
    • INTEGER_NUMERIC_TICK_AND_LABELS

      public static final AxisNumericStyle INTEGER_NUMERIC_TICK_AND_LABELS
  • Method Details

    • values

      public static AxisNumericStyle[] 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 AxisNumericStyle 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