org.opensha.sha.earthquake.param
Class FaultGridSpacingParam

java.lang.Object
  extended by org.opensha.commons.param.AbstractParameter<Double>
      extended by org.opensha.commons.param.impl.DoubleParameter
          extended by org.opensha.sha.earthquake.param.FaultGridSpacingParam
All Implemented Interfaces:
Serializable, Comparable<Parameter<?>>, Named, XMLSaveable, Parameter<Double>

public class FaultGridSpacingParam
extends DoubleParameter

This FaultGridSpacingParameter is for setting fault discretization in in gridded surfaces.

See Also:
Serialized Form

Field Summary
static String INFO
           
protected static Double MAX
           
protected static Double MIN
           
static String NAME
           
 
Fields inherited from class org.opensha.commons.param.impl.DoubleParameter
C, D
 
Fields inherited from class org.opensha.commons.param.AbstractParameter
constraint, defaultValue, editable, independentParameters, info, metadataString, name, units, value, XML_COMPLEX_VAL_EL_NAME, XML_GROUP_METADATA_NAME, XML_METADATA_NAME, XML_NULL_VALUE
 
Fields inherited from interface org.opensha.commons.param.Parameter
XML_INDEPENDENT_PARAMS_NAME
 
Constructor Summary
FaultGridSpacingParam()
          This sets the default value as 1.0 km.
FaultGridSpacingParam(double defaultMag)
          This sets the default value as given.
 
Method Summary
 
Methods inherited from class org.opensha.commons.param.impl.DoubleParameter
clone, getEditor, getMax, getMin, getType, isAllowed, setConstraint, setIndividualParamValueFromXML, setValue
 
Methods inherited from class org.opensha.commons.param.AbstractParameter
addIndependentParameter, addParameterChangeFailListener, addParameterChangeListener, checkEditable, compareTo, containsIndependentParameter, equals, firePropertyChange, firePropertyChangeFailed, getConstraint, getConstraintName, getDefaultValue, getDependentParamMetadataString, getIndependentParameter, getIndependentParameterList, getIndependentParametersKey, getInfo, getMetadataString, getName, getNumIndependentParameters, getUnits, getValue, isEditable, isNullAllowed, removeIndependentParameter, removeParameterChangeFailListener, removeParameterChangeListener, setDefaultValue, setDependentParamMetadataString, setIndependentParameters, setIndepParamsFromXML, setInfo, setName, setNonEditable, setUnits, setValue, setValueAsDefault, setValueFromXMLMetadata, toXMLMetadata, toXMLMetadata, unableToSetValue, valueToXML
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

INFO

public static final String INFO
See Also:
Constant Field Values

MIN

protected static final Double MIN

MAX

protected static final Double MAX
Constructor Detail

FaultGridSpacingParam

public FaultGridSpacingParam(double defaultMag)
This sets the default value as given.


FaultGridSpacingParam

public FaultGridSpacingParam()
This sets the default value as 1.0 km.