org.chorem.jtimer.ui.report
Enum ReportGenerator.Type
java.lang.Object
java.lang.Enum<ReportGenerator.Type>
org.chorem.jtimer.ui.report.ReportGenerator.Type
- All Implemented Interfaces:
- Serializable, Comparable<ReportGenerator.Type>
- Enclosing class:
- ReportGenerator
public static enum ReportGenerator.Type
- extends Enum<ReportGenerator.Type>
Report type
BY_DAY_REPORT
public static final ReportGenerator.Type BY_DAY_REPORT
BY_WEEK_REPORT
public static final ReportGenerator.Type BY_WEEK_REPORT
BY_MONTH_REPORT
public static final ReportGenerator.Type BY_MONTH_REPORT
BY_YEAR_REPORT
public static final ReportGenerator.Type BY_YEAR_REPORT
BY_PROJECT_REPORT
public static final ReportGenerator.Type BY_PROJECT_REPORT
values
public static ReportGenerator.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ReportGenerator.Type c : ReportGenerator.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ReportGenerator.Type 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
Copyright © 2007-2010 CodeLutin. All Rights Reserved.