org.gwtbootstrap3.extras.datetimepicker.client.ui.base.constants
Enum DateTimePickerPosition

java.lang.Object
  extended by java.lang.Enum<DateTimePickerPosition>
      extended by org.gwtbootstrap3.extras.datetimepicker.client.ui.base.constants.DateTimePickerPosition
All Implemented Interfaces:
Serializable, Comparable<DateTimePickerPosition>

public enum DateTimePickerPosition
extends Enum<DateTimePickerPosition>

Position to display the DateTimePicker popup

Author:
Joshua Godi

Enum Constant Summary
BOTTOM_LEFT
           
BOTTOM_RIGHT
           
TOP_LEFT
           
TOP_RIGHT
           
 
Method Summary
 String getPosition()
           
static DateTimePickerPosition valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DateTimePickerPosition[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TOP_LEFT

public static final DateTimePickerPosition TOP_LEFT

TOP_RIGHT

public static final DateTimePickerPosition TOP_RIGHT

BOTTOM_LEFT

public static final DateTimePickerPosition BOTTOM_LEFT

BOTTOM_RIGHT

public static final DateTimePickerPosition BOTTOM_RIGHT
Method Detail

values

public static DateTimePickerPosition[] 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 (DateTimePickerPosition c : DateTimePickerPosition.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DateTimePickerPosition 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.