Package rma.swing.table
Enum Class RepeatIntervalType
- All Implemented Interfaces:
Serializable,Comparable<RepeatIntervalType>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDays_Interval represents an interval type defined in days.Hours_Interval represents an interval type defined in hours.Timestep_Interval represents a time step interval type that can be utilized in various operations or settings requiring time step-based intervals. -
Method Summary
Modifier and TypeMethodDescriptiontoString()Returns the string representation of the enum constant.static RepeatIntervalTypeReturns the enum constant of this class with the specified name.static RepeatIntervalType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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
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 nameNullPointerException- if the argument is null
-
toString
Returns the string representation of the enum constant. The string corresponds to the value associated with the enum constant.- Overrides:
toStringin classEnum<RepeatIntervalType>- Returns:
- the string value associated with the enum constant
-