Enum MuiCalendarPicker.ViewType
- java.lang.Object
-
- java.lang.Enum<MuiCalendarPicker.ViewType>
-
- com.github.grossopa.selenium.component.mui.v5.datetime.MuiCalendarPicker.ViewType
-
- All Implemented Interfaces:
Serializable,Comparable<MuiCalendarPicker.ViewType>
- Enclosing class:
- MuiCalendarPicker
public static enum MuiCalendarPicker.ViewType extends Enum<MuiCalendarPicker.ViewType>
The view type of the calendar picker, either CalendarViewMuiCalendarPicker.getCalendarView()or YearPickerMuiCalendarPicker.getYearPicker().- Since:
- 1.8
- Author:
- Jack Yin
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAYMuiCalendarPicker.getCalendarView()is available whenMuiCalendarPicker.getCurrentView()is this.MONTHMuiCalendarPicker.getMonthPicker()is available whenMuiCalendarPicker.getCurrentView()is this.YEARMuiCalendarPicker.getYearPicker()is available whenMuiCalendarPicker.getCurrentView()is this.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MuiCalendarPicker.ViewTypevalueOf(String name)Returns the enum constant of this type with the specified name.static MuiCalendarPicker.ViewType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DAY
public static final MuiCalendarPicker.ViewType DAY
MuiCalendarPicker.getCalendarView()is available whenMuiCalendarPicker.getCurrentView()is this.
-
YEAR
public static final MuiCalendarPicker.ViewType YEAR
MuiCalendarPicker.getYearPicker()is available whenMuiCalendarPicker.getCurrentView()is this.
-
MONTH
public static final MuiCalendarPicker.ViewType MONTH
MuiCalendarPicker.getMonthPicker()is available whenMuiCalendarPicker.getCurrentView()is this.
-
-
Method Detail
-
values
public static MuiCalendarPicker.ViewType[] 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 (MuiCalendarPicker.ViewType c : MuiCalendarPicker.ViewType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MuiCalendarPicker.ViewType 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 nameNullPointerException- if the argument is null
-
-