org.gwtbootstrap3.extras.fullcalendar.client.ui
Enum ViewOption

java.lang.Object
  extended by java.lang.Enum<ViewOption>
      extended by org.gwtbootstrap3.extras.fullcalendar.client.ui.ViewOption
All Implemented Interfaces:
Serializable, Comparable<ViewOption>

public enum ViewOption
extends Enum<ViewOption>

Author:
Jeff Isenhart
See Also:
http://arshaw.com/fullcalendar/docs/views/Available_Views/

Enum Constant Summary
agendaDay
           
agendaWeek
           
basicDay
           
basicWeek
           
month
           
 
Method Summary
static ViewOption valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ViewOption[] 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

month

public static final ViewOption month

basicWeek

public static final ViewOption basicWeek

basicDay

public static final ViewOption basicDay

agendaWeek

public static final ViewOption agendaWeek

agendaDay

public static final ViewOption agendaDay
Method Detail

values

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

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

valueOf

public static ViewOption 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 © 2015. All rights reserved.