public static enum CalendarState.EventSortOrder extends Enum<CalendarState.EventSortOrder>
UNSORTED means no sort. Events will be in the order provided
by com.vaadin.ui.components.calendar.event.CalendarEventProvider.
START_DATE_DESC means descending sort by events start date
(earlier event are shown first).
DURATION_DESC means descending sort by duration (longer event
are shown first).
START_DATE_ASC means ascending sort by events start date
(later event are shown first).
DURATION_ASC means ascending sort by duration (shorter event
are shown first).
| Enum Constant and Description |
|---|
DURATION_ASC |
DURATION_DESC |
START_DATE_ASC |
START_DATE_DESC |
UNSORTED |
| Modifier and Type | Method and Description |
|---|---|
static CalendarState.EventSortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CalendarState.EventSortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalendarState.EventSortOrder UNSORTED
public static final CalendarState.EventSortOrder START_DATE_DESC
public static final CalendarState.EventSortOrder START_DATE_ASC
public static final CalendarState.EventSortOrder DURATION_DESC
public static final CalendarState.EventSortOrder DURATION_ASC
public static CalendarState.EventSortOrder[] values()
for (CalendarState.EventSortOrder c : CalendarState.EventSortOrder.values()) System.out.println(c);
public static CalendarState.EventSortOrder valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 Vaadin Ltd. All rights reserved.