|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MagDistParameterEditorAPI
Title: MagDistParameterEditorAPI
Description: Both Mag_FreqDistParameterEditor and MagPDF_ParameterEditor implements this API, thus both can provide their own implementation of the methods.
| Method Summary | |
|---|---|
ParameterListEditor |
createMagFreqDistParameterEditor()
Clones the Mag ParamList and the makes the parameters visible based on the selected Distribution. |
String |
getMagDistName()
returns the MagDistName |
ParameterListEditor |
getMagFreqDistParameterEditor()
Function that returns the magFreDist Param as a parameterListeditor so that user can display it as the panel in window rather then button. |
double |
getMax()
returns the Max of the magnitude for thr distribution |
double |
getMin()
returns the Min of the magnitude for the distribution |
int |
getNum()
returns the Number of magnitudes for the Distribution |
Parameter |
getParameter()
Sets the parameter that is stored internally for this GUI widget to edit |
Parameter |
getParameter(String name)
Returns each parameter for the MagFreqDist |
ParameterList |
getParameterList()
returns the parameterlist |
ParameterList |
getParamterList()
returns the ParamterList for the MagfreqDistParameter |
void |
refreshParamEditor()
Called when the parameter has changed independently from the editor, such as with the ParameterWarningListener. |
void |
setMagDistFromParams()
Controller function. |
void |
setMagDistFromParams(SummedMagFreqDist summedDist,
String metadata)
Sets the MagDistParam to be SummedMagFreqDist |
void |
setMagFreqDistParamButtonVisible(boolean visible)
Checks whether you want to show the Mag Freq Dist Param Editor as button or a panel This function mostly come in handy if instead of displaying this parameter as the button user wants to show it as the Parameterlist in the panel. |
void |
setParameter(Parameter model)
Returns the parameter that is stored internally that this GUI widget is editing |
void |
setSummedDistPlotted(boolean sumDistPlotted)
Sets the Summed Dist plotted to be false or true based on |
| Method Detail |
|---|
void setParameter(Parameter model)
void setMagFreqDistParamButtonVisible(boolean visible)
visible - : If it it true, button is visible else not visible
By default it is visibleParameterListEditor createMagFreqDistParameterEditor()
void setSummedDistPlotted(boolean sumDistPlotted)
sumDistPlotted - booleanParameterListEditor getMagFreqDistParameterEditor()
void refreshParamEditor()
void setMagDistFromParams()
throws ConstraintException
ConstraintException - Description of the Exception
void setMagDistFromParams(SummedMagFreqDist summedDist,
String metadata)
throws ConstraintException
ConstraintException - Description of the ExceptionString getMagDistName()
double getMin()
double getMax()
int getNum()
ParameterList getParamterList()
Parameter getParameter(String name)
throws ParameterException
ParameterExceptionParameter getParameter()
ParameterList getParameterList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||