|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.commons.param.AbstractParameter<LocationList>
org.opensha.commons.param.impl.LocationListParameter
public class LocationListParameter
Title: LocationListParameter
Description: Make a parameter which is basically a parameterList for location parameters.
| Field Summary | |
|---|---|
protected static String |
C
Class name for debugging. |
protected static boolean |
D
If true print out debug statements. |
protected static String |
PARAM_TYPE
|
| 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 | |
|---|---|
LocationListParameter(String name)
No constraints specified for this parameter. |
|
LocationListParameter(String name,
LocationList locList)
No constraints specified, all values allowed. |
|
| Method Summary | |
|---|---|
Object |
clone()
Returns a copy so you can't edit or damage the origial. |
AbstractParameterEditorOld |
getEditor()
Returns the Editor for this Parameter. |
String |
getMetadataString()
This overrides the getmetadataString() method because the value here does not have an ASCII representation (and we need to know the values of the independent parameter instead). |
LocationList |
getParameter()
|
String |
getType()
Returns the name of the parameter class |
void |
setAllLocations(ParameterList locationParameters)
|
boolean |
setIndividualParamValueFromXML(Element el)
This should set the value of this individual parameter. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String C
protected static final boolean D
protected static final String PARAM_TYPE
| Constructor Detail |
|---|
public LocationListParameter(String name)
name - Name of the parameter
public LocationListParameter(String name,
LocationList locList)
name - Name of the parameterlocList - LocationList object| Method Detail |
|---|
public void setAllLocations(ParameterList locationParameters)
locationParameters - ParameterListpublic Object clone()
clone in interface Parameter<LocationList>clone in class AbstractParameter<LocationList>public LocationList getParameter()
public String getType()
getType in interface Parameter<LocationList>getType in class AbstractParameter<LocationList>public String getMetadataString()
getMetadataString in interface Parameter<LocationList>getMetadataString in class AbstractParameter<LocationList>public boolean setIndividualParamValueFromXML(Element el)
AbstractParameter
setIndividualParamValueFromXML in class AbstractParameter<LocationList>public AbstractParameterEditorOld getEditor()
ParameterEditor for this Parameter. It is
recommended that editors be lazily instantiated.
Editor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||