caltool.schedule
Enum RemindWhere

java.lang.Object
  extended by java.lang.Enum<RemindWhere>
      extended by caltool.schedule.RemindWhere
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RemindWhere>

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

RemindWhere defines one of three ways that the user is alerted when a scheduled event is to occur. OnScreen means the user is reminded with a op-up alert on her computer screen. BeepOnly means the user is reminded with a simple audible tone on the computer. Email means the user is sent an electronic mail message reminder.


Enum Constant Summary
BeepOnly
          Indicates that reminders are signaled with an audible beep only, with no pop-up window.
Email
          Indicates that reminders are send as email messages.
OnScreen
          Indicates that reminders are displayed in an on-screen pop-up window.
 
Method Summary
static RemindWhere valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RemindWhere[] 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

OnScreen

public static final RemindWhere OnScreen
Indicates that reminders are displayed in an on-screen pop-up window.


BeepOnly

public static final RemindWhere BeepOnly
Indicates that reminders are signaled with an audible beep only, with no pop-up window.


Email

public static final RemindWhere Email
Indicates that reminders are send as email messages.

Method Detail

values

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

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

valueOf

public static RemindWhere 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