HiRISE

HiRISE.HiReport.form
Enum SearchForm.SearchType

java.lang.Object
  extended by java.lang.Enum<SearchForm.SearchType>
      extended by HiRISE.HiReport.form.SearchForm.SearchType
All Implemented Interfaces:
Serializable, Comparable<SearchForm.SearchType>
Enclosing class:
SearchForm

public static enum SearchForm.SearchType
extends Enum<SearchForm.SearchType>

Types of searches available


Enum Constant Summary
FIND_CENTER
          A centered lat-lon search
FIND_CYCLES
          A cycle range search
FIND_OBSERVATION
          An observation id search
FIND_ORBITS
          An orbit range search
FIND_SUGGESTION
          A suggestion id search
FIND_TEXT
          A search on text
 
Method Summary
static SearchForm.SearchType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SearchForm.SearchType[] 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

FIND_OBSERVATION

public static final SearchForm.SearchType FIND_OBSERVATION
An observation id search


FIND_ORBITS

public static final SearchForm.SearchType FIND_ORBITS
An orbit range search


FIND_CYCLES

public static final SearchForm.SearchType FIND_CYCLES
A cycle range search


FIND_SUGGESTION

public static final SearchForm.SearchType FIND_SUGGESTION
A suggestion id search


FIND_CENTER

public static final SearchForm.SearchType FIND_CENTER
A centered lat-lon search


FIND_TEXT

public static final SearchForm.SearchType FIND_TEXT
A search on text

Method Detail

values

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

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

valueOf

public static SearchForm.SearchType 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

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona