pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.util.time
Enum CalendarSheet.CalendarSheetDay.SelectionMode

java.lang.Object
  extended by java.lang.Enum<CalendarSheet.CalendarSheetDay.SelectionMode>
      extended by org.torweg.pulse.util.time.CalendarSheet.CalendarSheetDay.SelectionMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CalendarSheet.CalendarSheetDay.SelectionMode>
Enclosing class:
CalendarSheet.CalendarSheetDay

protected static enum CalendarSheet.CalendarSheetDay.SelectionMode
extends java.lang.Enum<CalendarSheet.CalendarSheetDay.SelectionMode>

The selection mode of the current CalendarSheetDay.

Version:
$Revision$
Author:
Daniel Dietz

Enum Constant Summary
CURRENT
          CURRENT: indicates that a day within the currently selected month is selected.
POST
          POST: indicates that a day following the current month is selected.
PREVIOUS
          PREVIOUS: indicates that a day prior the current month is selected.
SELECTED
          SELECTED: indicates the selected day within the currently selected month.
 
Method Summary
static CalendarSheet.CalendarSheetDay.SelectionMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CalendarSheet.CalendarSheetDay.SelectionMode[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SELECTED

public static final CalendarSheet.CalendarSheetDay.SelectionMode SELECTED
SELECTED: indicates the selected day within the currently selected month.


PREVIOUS

public static final CalendarSheet.CalendarSheetDay.SelectionMode PREVIOUS
PREVIOUS: indicates that a day prior the current month is selected.


CURRENT

public static final CalendarSheet.CalendarSheetDay.SelectionMode CURRENT
CURRENT: indicates that a day within the currently selected month is selected.


POST

public static final CalendarSheet.CalendarSheetDay.SelectionMode POST
POST: indicates that a day following the current month is selected.

Method Detail

values

public static final CalendarSheet.CalendarSheetDay.SelectionMode[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CalendarSheet.CalendarSheetDay.SelectionMode c : CalendarSheet.CalendarSheetDay.SelectionMode.values())
        System.out.println(c);

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

valueOf

public static CalendarSheet.CalendarSheetDay.SelectionMode 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