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

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

public class LocationParameterEditor
extends AbstractParameterEditorConverter<Location,ParameterList>


Constructor Summary
LocationParameterEditor(Parameter<Location> param)
           
LocationParameterEditor(Parameter<Location> param, boolean showDepth)
           
 
Method Summary
protected  Parameter<ParameterList> buildParameter(Parameter<Location> myParam)
          This will be called to build a parameter of the editor type from the parameter type
protected  ParameterList convertFromNative(Location value)
          Converts a native value to a converted value
protected  Location convertToNative(ParameterList 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

LocationParameterEditor

public LocationParameterEditor(Parameter<Location> param)

LocationParameterEditor

public LocationParameterEditor(Parameter<Location> param,
                               boolean showDepth)
Method Detail

buildParameter

protected Parameter<ParameterList> 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,ParameterList>
Returns:

convertFromNative

protected ParameterList convertFromNative(Location value)
Description copied from class: AbstractParameterEditorConverter
Converts a native value to a converted value

Specified by:
convertFromNative in class AbstractParameterEditorConverter<Location,ParameterList>
Returns:

convertToNative

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

Specified by:
convertToNative in class AbstractParameterEditorConverter<Location,ParameterList>
Returns: