org.opensha.commons.mapping.gmt.elements
Enum GMT_CPT_Files

java.lang.Object
  extended by java.lang.Enum<GMT_CPT_Files>
      extended by org.opensha.commons.mapping.gmt.elements.GMT_CPT_Files
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GMT_CPT_Files>

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

Enum for GMT CPT files stored in the src/resources/cpt folder. These are used by the GMT map plotter.

Author:
kevin

Enum Constant Summary
BLUE_YELLOW_RED
           
GMT_cool
           
GMT_COPPER
           
GMT_DRYWET
           
GMT_GEBCO
           
GMT_GLOBE
           
GMT_GRAY
           
GMT_HAXBY
           
GMT_HOT
           
GMT_JET
           
GMT_NO_GREEN
           
GMT_OCEAN
           
GMT_OCEAN2
           
GMT_PANOPLY
           
GMT_POLAR
           
GMT_RED_2_GREEN
           
GMT_RELIEF
           
GMT_SEIS
           
GMT_SPLIT
           
GMT_WYSIWYG
           
MAX_SPECTRUM
           
NSHMP_1hz
           
NSHMP_5hz
           
NSHMP_DIFF
           
NSHMP_RATIO
           
RELM
           
SHAKEMAP
           
STEP
           
UCERF2_FIGURE_35
           
UCERF3_HAZ_RATIO
           
UCERF3_HAZ_RATIO_P3
           
UCERF3_RATIOS
           
 
Method Summary
 java.lang.String getFileName()
           
 CPT instance()
           
static java.util.ArrayList<CPT> instances()
           
static GMT_CPT_Files valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GMT_CPT_Files[] 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

BLUE_YELLOW_RED

public static final GMT_CPT_Files BLUE_YELLOW_RED

GMT_cool

public static final GMT_CPT_Files GMT_cool

MAX_SPECTRUM

public static final GMT_CPT_Files MAX_SPECTRUM

RELM

public static final GMT_CPT_Files RELM

SHAKEMAP

public static final GMT_CPT_Files SHAKEMAP

STEP

public static final GMT_CPT_Files STEP

UCERF2_FIGURE_35

public static final GMT_CPT_Files UCERF2_FIGURE_35

UCERF3_RATIOS

public static final GMT_CPT_Files UCERF3_RATIOS

UCERF3_HAZ_RATIO

public static final GMT_CPT_Files UCERF3_HAZ_RATIO

UCERF3_HAZ_RATIO_P3

public static final GMT_CPT_Files UCERF3_HAZ_RATIO_P3

NSHMP_1hz

public static final GMT_CPT_Files NSHMP_1hz

NSHMP_5hz

public static final GMT_CPT_Files NSHMP_5hz

NSHMP_RATIO

public static final GMT_CPT_Files NSHMP_RATIO

NSHMP_DIFF

public static final GMT_CPT_Files NSHMP_DIFF

GMT_COPPER

public static final GMT_CPT_Files GMT_COPPER

GMT_DRYWET

public static final GMT_CPT_Files GMT_DRYWET

GMT_GEBCO

public static final GMT_CPT_Files GMT_GEBCO

GMT_GLOBE

public static final GMT_CPT_Files GMT_GLOBE

GMT_GRAY

public static final GMT_CPT_Files GMT_GRAY

GMT_HAXBY

public static final GMT_CPT_Files GMT_HAXBY

GMT_HOT

public static final GMT_CPT_Files GMT_HOT

GMT_JET

public static final GMT_CPT_Files GMT_JET

GMT_NO_GREEN

public static final GMT_CPT_Files GMT_NO_GREEN

GMT_OCEAN

public static final GMT_CPT_Files GMT_OCEAN

GMT_OCEAN2

public static final GMT_CPT_Files GMT_OCEAN2

GMT_PANOPLY

public static final GMT_CPT_Files GMT_PANOPLY

GMT_POLAR

public static final GMT_CPT_Files GMT_POLAR

GMT_RED_2_GREEN

public static final GMT_CPT_Files GMT_RED_2_GREEN

GMT_RELIEF

public static final GMT_CPT_Files GMT_RELIEF

GMT_SEIS

public static final GMT_CPT_Files GMT_SEIS

GMT_SPLIT

public static final GMT_CPT_Files GMT_SPLIT

GMT_WYSIWYG

public static final GMT_CPT_Files GMT_WYSIWYG
Method Detail

values

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

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

valueOf

public static GMT_CPT_Files 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
java.lang.NullPointerException - if the argument is null

getFileName

public java.lang.String getFileName()

instance

public CPT instance()
             throws java.io.IOException
Throws:
java.io.IOException

instances

public static java.util.ArrayList<CPT> instances()
                                          throws java.io.IOException
Throws:
java.io.IOException