Enum Class RepeatIntervalType

java.lang.Object
java.lang.Enum<RepeatIntervalType>
rma.swing.table.RepeatIntervalType
All Implemented Interfaces:
Serializable, Comparable<RepeatIntervalType>, Constable

public enum RepeatIntervalType extends Enum<RepeatIntervalType>
Enum RepeatIntervalType represents different types of repeat intervals that can be used to define time intervals in the fill dialog of the RmaJTable. Each enum instance is associated with a string value that provides a readable representation of the interval type.
  • Enum Constant Details

    • Timestep_Interval

      public static final RepeatIntervalType Timestep_Interval
      Timestep_Interval represents a time step interval type that can be utilized in various operations or settings requiring time step-based intervals. This enum constant is associated with a string value "TimeStep" that serves as its human-readable representation.
    • Hours_Interval

      public static final RepeatIntervalType Hours_Interval
      Hours_Interval represents an interval type defined in hours. This enum constant is associated with a string value "Hours" that serves as its human-readable representation. It can be used in settings or operations requiring hour-based intervals.
    • Days_Interval

      public static final RepeatIntervalType Days_Interval
      Days_Interval represents an interval type defined in days. This enum constant is associated with a string value "Days" that serves as its human-readable representation. It can be used in settings or operations requiring day-based intervals.
  • Method Details

    • values

      public static RepeatIntervalType[] 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 RepeatIntervalType 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()
      Returns the string representation of the enum constant. The string corresponds to the value associated with the enum constant.
      Overrides:
      toString in class Enum<RepeatIntervalType>
      Returns:
      the string value associated with the enum constant