org.opensha.refFaultParamDb.gui.view
Enum SectionInfoCSVFileWriter.SaveType

java.lang.Object
  extended by java.lang.Enum<SectionInfoCSVFileWriter.SaveType>
      extended by org.opensha.refFaultParamDb.gui.view.SectionInfoCSVFileWriter.SaveType
All Implemented Interfaces:
Serializable, Comparable<SectionInfoCSVFileWriter.SaveType>
Enclosing class:
SectionInfoCSVFileWriter

public static enum SectionInfoCSVFileWriter.SaveType
extends Enum<SectionInfoCSVFileWriter.SaveType>


Enum Constant Summary
CSV_ALL_POINTS
           
CSV_TOP_BOTTOM_POINTS
           
CSV_TRACE_DESC
           
 
Method Summary
static SectionInfoCSVFileWriter.SaveType forDesc(String desc)
           
 String getDescription()
           
static SectionInfoCSVFileWriter.SaveType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SectionInfoCSVFileWriter.SaveType[] 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

CSV_ALL_POINTS

public static final SectionInfoCSVFileWriter.SaveType CSV_ALL_POINTS

CSV_TOP_BOTTOM_POINTS

public static final SectionInfoCSVFileWriter.SaveType CSV_TOP_BOTTOM_POINTS

CSV_TRACE_DESC

public static final SectionInfoCSVFileWriter.SaveType CSV_TRACE_DESC
Method Detail

values

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

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

valueOf

public static SectionInfoCSVFileWriter.SaveType 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

getDescription

public String getDescription()

forDesc

public static SectionInfoCSVFileWriter.SaveType forDesc(String desc)