org.gwtbootstrap3.extras.datepicker.client.ui.base.constants
Enum DatePickerPosition
java.lang.Object
java.lang.Enum<DatePickerPosition>
org.gwtbootstrap3.extras.datepicker.client.ui.base.constants.DatePickerPosition
- All Implemented Interfaces:
- Serializable, Comparable<DatePickerPosition>
public enum DatePickerPosition
- extends Enum<DatePickerPosition>
Position to display the DateTimePicker popup
- Author:
- Joshua Godi
AUTO
public static final DatePickerPosition AUTO
TOP_AUTO
public static final DatePickerPosition TOP_AUTO
BOTTOM_AUTO
public static final DatePickerPosition BOTTOM_AUTO
AUTO_RIGHT
public static final DatePickerPosition AUTO_RIGHT
AUTO_LEFT
public static final DatePickerPosition AUTO_LEFT
TOP_LEFT
public static final DatePickerPosition TOP_LEFT
TOP_RIGHT
public static final DatePickerPosition TOP_RIGHT
BOTTOM_LEFT
public static final DatePickerPosition BOTTOM_LEFT
BOTTOM_RIGHT
public static final DatePickerPosition BOTTOM_RIGHT
values
public static DatePickerPosition[] 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 (DatePickerPosition c : DatePickerPosition.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DatePickerPosition 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
getPosition
public String getPosition()
Copyright © 2015. All rights reserved.