no.sesat.search.result
Enum Navigator.Sort

java.lang.Object
  extended by java.lang.Enum<Navigator.Sort>
      extended by no.sesat.search.result.Navigator.Sort
All Implemented Interfaces:
Serializable, Comparable<Navigator.Sort>
Enclosing class:
Navigator

public static enum Navigator.Sort
extends Enum<Navigator.Sort>


Enum Constant Summary
ALPHABETICAL
           
ALPHABETICAL_DESCENDING
           
COUNT
           
CUSTOM
           
DAY_MONTH_YEAR
           
DAY_MONTH_YEAR_DESCENDING
           
MONTH_YEAR
           
NONE
           
YEAR
           
YEAR_MONTH
           
YEAR_MONTH_DAY_DESCENDING
           
 
Method Summary
static Navigator.Sort valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Navigator.Sort[] 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

COUNT

public static final Navigator.Sort COUNT

YEAR

public static final Navigator.Sort YEAR

MONTH_YEAR

public static final Navigator.Sort MONTH_YEAR

DAY_MONTH_YEAR

public static final Navigator.Sort DAY_MONTH_YEAR

DAY_MONTH_YEAR_DESCENDING

public static final Navigator.Sort DAY_MONTH_YEAR_DESCENDING

YEAR_MONTH_DAY_DESCENDING

public static final Navigator.Sort YEAR_MONTH_DAY_DESCENDING

YEAR_MONTH

public static final Navigator.Sort YEAR_MONTH

ALPHABETICAL

public static final Navigator.Sort ALPHABETICAL

ALPHABETICAL_DESCENDING

public static final Navigator.Sort ALPHABETICAL_DESCENDING

CUSTOM

public static final Navigator.Sort CUSTOM

NONE

public static final Navigator.Sort NONE
Method Detail

values

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

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

valueOf

public static Navigator.Sort 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 © 2005-2009 Schibsted ASA. All Rights Reserved.