org.japura.gui.calendar
Enum CalendarComponentType

java.lang.Object
  extended by java.lang.Enum<CalendarComponentType>
      extended by org.japura.gui.calendar.CalendarComponentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CalendarComponentType>

public enum CalendarComponentType
extends java.lang.Enum<CalendarComponentType>

Copyright (C) 2011 Carlos Eduardo Leite de Andrade

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see www.gnu.org/licenses/

For more information, contact: www.japura.org

Author:
Carlos Eduardo Leite de Andrade

Enum Constant Summary
DAY_MONTH
           
DAY_WEEK_HEADER
           
MONTH_LABEL
           
NEXT_MONTH_BUTTON
           
NEXT_YEAR_BUTTON
           
PREVIOUS_MONTH_BUTTON
           
PREVIOUS_YEAR_BUTTON
           
TOP_BAR
           
WEEK
           
WEEK_HEADER
           
YEAR_LABEL
           
 
Method Summary
static CalendarComponentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CalendarComponentType[] 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

WEEK_HEADER

public static final CalendarComponentType WEEK_HEADER

WEEK

public static final CalendarComponentType WEEK

DAY_MONTH

public static final CalendarComponentType DAY_MONTH

DAY_WEEK_HEADER

public static final CalendarComponentType DAY_WEEK_HEADER

TOP_BAR

public static final CalendarComponentType TOP_BAR

PREVIOUS_MONTH_BUTTON

public static final CalendarComponentType PREVIOUS_MONTH_BUTTON

PREVIOUS_YEAR_BUTTON

public static final CalendarComponentType PREVIOUS_YEAR_BUTTON

NEXT_MONTH_BUTTON

public static final CalendarComponentType NEXT_MONTH_BUTTON

NEXT_YEAR_BUTTON

public static final CalendarComponentType NEXT_YEAR_BUTTON

MONTH_LABEL

public static final CalendarComponentType MONTH_LABEL

YEAR_LABEL

public static final CalendarComponentType YEAR_LABEL
Method Detail

values

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

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

valueOf

public static CalendarComponentType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null