com.googlecode.wicket.jquery.ui.calendar
Enum CalendarView
java.lang.Object
java.lang.Enum<CalendarView>
com.googlecode.wicket.jquery.ui.calendar.CalendarView
- All Implemented Interfaces:
- Serializable, Comparable<CalendarView>
public enum CalendarView
- extends Enum<CalendarView>
Provides an enum of available calendar views
- Author:
- Sebastien Briquet - sebfz1
|
Method Summary |
static CalendarView |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CalendarView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
month
public static final CalendarView month
basicWeek
public static final CalendarView basicWeek
basicDay
public static final CalendarView basicDay
agendaWeek
public static final CalendarView agendaWeek
agendaDay
public static final CalendarView agendaDay
values
public static CalendarView[] 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 (CalendarView c : CalendarView.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CalendarView 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 © 2013 7thWeb. All Rights Reserved.