org.opensha.commons.param.editor.impl
Class ConstrainedDiscreteLocationParameterEditor

java.lang.Object
  extended by org.opensha.commons.param.editor.AbstractParameterEditorConverter<Location,java.lang.String>
      extended by org.opensha.commons.param.editor.impl.ConstrainedDiscreteLocationParameterEditor
All Implemented Interfaces:
java.util.EventListener, ParameterEditor<Location>, ParameterChangeListener

public class ConstrainedDiscreteLocationParameterEditor
extends AbstractParameterEditorConverter<Location,java.lang.String>


Constructor Summary
ConstrainedDiscreteLocationParameterEditor()
           
ConstrainedDiscreteLocationParameterEditor(Parameter<Location> param)
           
 
Method Summary
protected  Parameter<java.lang.String> buildParameter(Parameter<Location> myParam)
          This will be called to build a parameter of the editor type from the parameter type
protected  java.lang.String convertFromNative(Location value)
          Converts a native value to a converted value
protected  Location convertToNative(java.lang.String value)
          Converts a converted value back to a native value.
 
Methods inherited from class org.opensha.commons.param.editor.AbstractParameterEditorConverter
getComponent, getParameter, getValue, isFocusEnabled, isVisible, parameterChange, refreshParamEditor, setEditorBorder, setEnabled, setFocusEnabled, setParameter, setValue, setVisible, unableToSetValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstrainedDiscreteLocationParameterEditor

public ConstrainedDiscreteLocationParameterEditor()

ConstrainedDiscreteLocationParameterEditor

public ConstrainedDiscreteLocationParameterEditor(Parameter<Location> param)
Method Detail

buildParameter

protected Parameter<java.lang.String> buildParameter(Parameter<Location> myParam)
Description copied from class: AbstractParameterEditorConverter
This will be called to build a parameter of the editor type from the parameter type

Specified by:
buildParameter in class AbstractParameterEditorConverter<Location,java.lang.String>
Returns:

convertFromNative

protected java.lang.String convertFromNative(Location value)
Description copied from class: AbstractParameterEditorConverter
Converts a native value to a converted value

Specified by:
convertFromNative in class AbstractParameterEditorConverter<Location,java.lang.String>
Returns:

convertToNative

protected Location convertToNative(java.lang.String value)
Description copied from class: AbstractParameterEditorConverter
Converts a converted value back to a native value.

Specified by:
convertToNative in class AbstractParameterEditorConverter<Location,java.lang.String>
Returns: