Module com.pragmatickm.task.servlet
Package com.pragmatickm.task.servlet
Enum Class StatusResult.Style
- All Implemented Interfaces:
Serializable,Comparable<StatusResult.Style>,Constable
- Enclosing class:
StatusResult
The CSS classes for different overall statuses.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic StatusResult.StylegetStyle(TaskLog.Status taskLogStatus) Gets the CSS class for a given TaskLog status.static StatusResult.StylegetStyleDoBefore(TaskLog.Status taskLogStatus) static StatusResult.StyleReturns the enum constant of this class with the specified name.static StatusResult.Style[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW
-
NEW_WAITING_DO_AFTER
-
IN_FUTURE
-
DUE_TODAY
-
DUE_TODAY_WAITING_DO_AFTER
-
LATE
-
LATE_WAITING_DO_AFTER
-
PROGRESS
-
PROGRESS_WAITING_DO_AFTER
-
COMPLETED
-
MISSED
-
-
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
-
getCssClass
-
getStyle
Gets the CSS class for a given TaskLog status. -
getStyleDoBefore
-
