HiRISE

HiRISE.HiPlan.HOGG
Enum Suggestion_Panel.Mode

java.lang.Object
  extended by java.lang.Enum<Suggestion_Panel.Mode>
      extended by HiRISE.HiPlan.HOGG.Suggestion_Panel.Mode
All Implemented Interfaces:
Serializable, Comparable<Suggestion_Panel.Mode>
Enclosing class:
Suggestion_Panel

public static enum Suggestion_Panel.Mode
extends Enum<Suggestion_Panel.Mode>

An enumeration describing the possible modes of suggestion editor operation.


Enum Constant Summary
DISABLED
          Indicates the suggestion editor is completely disabled.
ENABLED
          Indicates the suggestion editor is enabled and is in read/write mode.
READ_ONLY
          Indicates the suggestion editor is enabled in read-only mode.
 
Method Summary
static Suggestion_Panel.Mode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Suggestion_Panel.Mode[] 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

ENABLED

public static final Suggestion_Panel.Mode ENABLED
Indicates the suggestion editor is enabled and is in read/write mode.


READ_ONLY

public static final Suggestion_Panel.Mode READ_ONLY
Indicates the suggestion editor is enabled in read-only mode. All controls are either hidden or disabled, and suggestion mapping is read-only.


DISABLED

public static final Suggestion_Panel.Mode DISABLED
Indicates the suggestion editor is completely disabled.

Method Detail

values

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

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

valueOf

public static Suggestion_Panel.Mode 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