Enum GroupingType
- java.lang.Object
-
- java.lang.Enum<GroupingType>
-
- org.teamapps.ux.component.groupingview.GroupingType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GroupingType>
public enum GroupingType extends java.lang.Enum<GroupingType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAYDAYS_FROM_NOWDAYS_TO_NEXT_DATE_IN_YEARFIRST_LETTERFIRST_TWO_LETTERSFIRST_WORDFULL_VALUELOGARITHMICMONTHMONTH_NAMENUMBER_OF_LETTERSQUARTERQUARTER_NAMEWEEKWEEKDAYYEAR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GroupingTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GroupingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL_VALUE
public static final GroupingType FULL_VALUE
-
DAY
public static final GroupingType DAY
-
WEEK
public static final GroupingType WEEK
-
MONTH
public static final GroupingType MONTH
-
QUARTER
public static final GroupingType QUARTER
-
YEAR
public static final GroupingType YEAR
-
WEEKDAY
public static final GroupingType WEEKDAY
-
MONTH_NAME
public static final GroupingType MONTH_NAME
-
QUARTER_NAME
public static final GroupingType QUARTER_NAME
-
DAYS_FROM_NOW
public static final GroupingType DAYS_FROM_NOW
-
DAYS_TO_NEXT_DATE_IN_YEAR
public static final GroupingType DAYS_TO_NEXT_DATE_IN_YEAR
-
FIRST_LETTER
public static final GroupingType FIRST_LETTER
-
FIRST_TWO_LETTERS
public static final GroupingType FIRST_TWO_LETTERS
-
FIRST_WORD
public static final GroupingType FIRST_WORD
-
NUMBER_OF_LETTERS
public static final GroupingType NUMBER_OF_LETTERS
-
LOGARITHMIC
public static final GroupingType LOGARITHMIC
-
-
Method Detail
-
values
public static GroupingType[] 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 (GroupingType c : GroupingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GroupingType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-