com.jurismarches.vradi.ui.email.helpers
Enum EmailNavigationTreeHelper.EmailFilterEnum

java.lang.Object
  extended by java.lang.Enum<EmailNavigationTreeHelper.EmailFilterEnum>
      extended by com.jurismarches.vradi.ui.email.helpers.EmailNavigationTreeHelper.EmailFilterEnum
All Implemented Interfaces:
Serializable, Comparable<EmailNavigationTreeHelper.EmailFilterEnum>
Enclosing class:
EmailNavigationTreeHelper

public static enum EmailNavigationTreeHelper.EmailFilterEnum
extends Enum<EmailNavigationTreeHelper.EmailFilterEnum>


Enum Constant Summary
FILTER_BY_FORM
           
FILTER_BY_GROUP
           
FILTER_BY_USER
           
 
Field Summary
protected  String text
           
protected  int value
           
 
Method Summary
 String toString()
           
static EmailNavigationTreeHelper.EmailFilterEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EmailNavigationTreeHelper.EmailFilterEnum[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FILTER_BY_USER

public static final EmailNavigationTreeHelper.EmailFilterEnum FILTER_BY_USER

FILTER_BY_GROUP

public static final EmailNavigationTreeHelper.EmailFilterEnum FILTER_BY_GROUP

FILTER_BY_FORM

public static final EmailNavigationTreeHelper.EmailFilterEnum FILTER_BY_FORM
Field Detail

value

protected int value

text

protected String text
Method Detail

values

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

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

valueOf

public static EmailNavigationTreeHelper.EmailFilterEnum 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

toString

public String toString()
Overrides:
toString in class Enum<EmailNavigationTreeHelper.EmailFilterEnum>


Copyright © 2009-2011 JurisMarches. All Rights Reserved.