Enum AxisBuilder.Spacing

java.lang.Object
java.lang.Enum<AxisBuilder.Spacing>
org.bzdev.graphs.AxisBuilder.Spacing
All Implemented Interfaces:
Serializable, Comparable<AxisBuilder.Spacing>
Enclosing class:
AxisBuilder<T extends Graph.Axis>

public static enum AxisBuilder.Spacing extends Enum<AxisBuilder.Spacing>
Spacings between similar tick marks for the class AxisBuilder.ClockTime.
  • Enum Constant Details

    • SECONDS

      public static final AxisBuilder.Spacing SECONDS
      Specifies ticks spaced on second intervals.
    • FIVE_SECONDS

      public static final AxisBuilder.Spacing FIVE_SECONDS
      Specifies ticks spaced on five-second intervals.
    • TEN_SECONDS

      public static final AxisBuilder.Spacing TEN_SECONDS
      Specifies ticks spaced on ten-second intervals.
    • FIFTEEN_SECONDS

      public static final AxisBuilder.Spacing FIFTEEN_SECONDS
      Specifies ticks spaced on fifteen-second intervals.
    • THIRTY_SECONDS

      public static final AxisBuilder.Spacing THIRTY_SECONDS
      Specifies ticks spaced on thirty-second intervals.
    • MINUTES

      public static final AxisBuilder.Spacing MINUTES
      Specifies ticks space on minute intervals.
    • FIVE_MINUTES

      public static final AxisBuilder.Spacing FIVE_MINUTES
      Specifies ticks space on five-minute intervals.
    • TEN_MINUTES

      public static final AxisBuilder.Spacing TEN_MINUTES
      Specifies ticks space on ten-minute intervals.
    • FIFTEEN_MINUTES

      public static final AxisBuilder.Spacing FIFTEEN_MINUTES
      Specifies ticks space on fifteen-minute intervals.
    • THIRTY_MINUTES

      public static final AxisBuilder.Spacing THIRTY_MINUTES
      Specifies ticks space on thirty-minute intervals.
    • HOURS

      public static final AxisBuilder.Spacing HOURS
      Specifies ticks space on hour intervals.
    • TEN_HOURS

      public static final AxisBuilder.Spacing TEN_HOURS
      Specifies ticks space on ten-hour intervals.
    • TWELVE_HOURS

      public static final AxisBuilder.Spacing TWELVE_HOURS
      Specifies ticks space on twelve-hour intervals.
    • DAYS

      public static final AxisBuilder.Spacing DAYS
      Specifies ticks space on twenty-four-hour intervals.
  • Method Details

    • values

      public static AxisBuilder.Spacing[] 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 AxisBuilder.Spacing 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