public class GPMeanParameters extends fr.cnes.genius.lowLevel.GDialog implements fr.cnes.genius.main.GReadWrite, fr.cnes.genius.main.GListener, fr.cnes.genius.main.GDisplay, GPPatrius<double[]>, fr.cnes.genius.main.GClear, fr.cnes.genius.main.GCondensedStatusInterface
Modifier and Type | Class and Description |
---|---|
static class |
GPMeanParameters.PotentialFilenamesEnum
Enum for the Earth potential types allowing up to J6.
|
Constructor and Description |
---|
GPMeanParameters()
Constructor.
|
GPMeanParameters(String labelIn)
Constructor.
|
GPMeanParameters(String labelIn,
double[] potentialParameters,
MeanOrbitPropagationModel meanOrbitPropagationModel)
Constructor.
|
GPMeanParameters(String widgetId,
String labelIn,
double[] potentialParameters,
MeanOrbitPropagationModel meanOrbitPropagationModel)
Constructor.
|
GPMeanParameters(String widgetId,
String labelIn,
MeanOrbitPropagationModel meanOrbitPropagationModel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
after(fr.cnes.genius.main.GEvent e) |
void |
attachCopyPasteMenu(String labelIn,
fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList) |
void |
before(fr.cnes.genius.main.GEvent e) |
void |
clear() |
void |
display() |
void |
generic() |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealJ2()
Getter for the GEntryReal defining the J2 potential term.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealJ3()
Getter for the GEntryReal defining the J3 potential term.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealJ4()
Getter for the GEntryReal defining the J4 potential term.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealJ5()
Getter for the GEntryReal defining the J5 potential term.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealJ6()
Getter for the GEntryReal defining the J6 potential term.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealMu()
Getter for the GEntryReal defining the gravity constant.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealReq()
Getter for the GEntryReal defining the equatorial radius.
|
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the GLabel of the widget.
|
fr.cnes.genius.highLevel.GChoice |
getMeanOrbitModel()
Getter for the Mean orbit model of the widget.
|
double[] |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
boolean |
isEnabled() |
boolean |
isModified() |
void |
read() |
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget.
|
void |
setDefaultConstraints()
Setter for the default constraint of the widget.
|
void |
setDefaultPotentialParameters(double[] defaultPotentialParameters)
Setter for the default potential parameters.
|
void |
setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
Controls the display of the isModified indicator of all sub-widgets.
|
void |
setEnabled(boolean b) |
void |
setPotentialParameters(double[] potentialParameters)
Setter for the potential parameters.
|
void |
setSavedPotentialParameters(double[] savedPotentialParameters)
Setter for the reference potential parameters.
|
void |
setWidgetId(String widgetId) |
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
protected void |
updateIsModifiedIndicator() |
void |
updateStatus()
Update the status of the widget.
|
void |
write() |
dispose, getCancelled, getJDialog, hide, setMaximumSize, setMinimumSize, setPreferredSize, show, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
clearConstraint, getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getLayoutConstraints, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, processMouseWheelEvent, put, setClassConstraint, setColumnConstraints, setConstraint, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setMargins, setPanelConstraints, setPreferredSize, setRowConstraints, setUnitIncrement, setVerticalScroll, unput
activateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getPathInConfigFile, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isForcedStatus, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidth, setWindowBusyCursor, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem
public GPMeanParameters()
public GPMeanParameters(String labelIn)
labelIn
- text to display in the labelpublic GPMeanParameters(String labelIn, double[] potentialParameters, MeanOrbitPropagationModel meanOrbitPropagationModel)
labelIn
- text to display in the labelpotentialParameters
- potential parametersmeanOrbitPropagationModel
- initial mean orbit modelpublic GPMeanParameters(String widgetId, String labelIn, double[] potentialParameters, MeanOrbitPropagationModel meanOrbitPropagationModel)
widgetId
- widget identifier, if null an identifier will be automatically createdlabelIn
- text to display in the labelpotentialParameters
- potential parametersmeanOrbitPropagationModel
- initial mean orbit modelpublic GPMeanParameters(String widgetId, String labelIn, MeanOrbitPropagationModel meanOrbitPropagationModel)
widgetId
- widget identifier, if null an identifier will be automatically createdlabelIn
- text to display in the labelmeanOrbitPropagationModel
- initial mean orbit modelpublic final void setWidgetId(String widgetId)
setWidgetId
in class fr.cnes.genius.main.GComponent
public fr.cnes.genius.highLevel.GChoice getMeanOrbitModel()
public fr.cnes.genius.highLevel.GLabelWithIndicator getGLabel()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealReq()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealMu()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealJ2()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealJ3()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealJ4()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealJ5()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealJ6()
public final void setDefaultConstraints()
setDefaultConstraints
in class fr.cnes.genius.lowLevel.GPanel
public final void setConstraint(int widgetGap)
widgetGap
- left gap from panel border to display the label of the widgetpublic double[] getPatriusObject()
getPatriusObject
in interface GPPatrius<double[]>
public final void setPotentialParameters(double[] potentialParameters) throws fr.cnes.genius.exception.GArithmeticException
potentialParameters
- potential parameters to setfr.cnes.genius.exception.GArithmeticException
- if latitude, longitude or altitude in the geodeticPoint are NaN.public final void setDefaultPotentialParameters(double[] defaultPotentialParameters) throws fr.cnes.genius.exception.GArithmeticException
defaultPotentialParameters
- default potential parameters to setfr.cnes.genius.exception.GArithmeticException
- if poetntial parameters are NaN.public final void setSavedPotentialParameters(double[] savedPotentialParameters) throws fr.cnes.genius.exception.GArithmeticException
savedPotentialParameters
- reference potential parameters to setfr.cnes.genius.exception.GArithmeticException
- if potential parameters are NaN.public void attachCopyPasteMenu(String labelIn, fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu
in class fr.cnes.genius.main.GComponent
public final void updateStatus()
protected final void updateIsModifiedIndicator()
updateIsModifiedIndicator
in class fr.cnes.genius.main.GComponent
public boolean isEnabled()
isEnabled
in class fr.cnes.genius.main.GComponent
public void setEnabled(boolean b)
setEnabled
in class fr.cnes.genius.main.GComponent
public boolean isModified()
isModified
in class fr.cnes.genius.main.GComponent
public void generic() throws fr.cnes.genius.exception.GException
generic
in class fr.cnes.genius.lowLevel.GPanel
fr.cnes.genius.exception.GException
public void display() throws fr.cnes.genius.exception.GException
display
in interface fr.cnes.genius.main.GDisplay
fr.cnes.genius.exception.GException
public void before(fr.cnes.genius.main.GEvent e)
before
in interface fr.cnes.genius.main.GListener
public void after(fr.cnes.genius.main.GEvent e) throws fr.cnes.genius.exception.GFileManipulatorException
after
in interface fr.cnes.genius.main.GListener
fr.cnes.genius.exception.GFileManipulatorException
public void read() throws fr.cnes.genius.exception.GException
read
in interface fr.cnes.genius.main.GReadWrite
fr.cnes.genius.exception.GException
public void write() throws fr.cnes.genius.exception.GException
write
in interface fr.cnes.genius.main.GReadWrite
fr.cnes.genius.exception.GException
public void clear() throws fr.cnes.genius.exception.GException
clear
in interface fr.cnes.genius.main.GClear
fr.cnes.genius.exception.GException
public fr.cnes.genius.main.GComponent getSubComponent(int position) throws fr.cnes.genius.exception.GComponentException
getSubComponent
in class fr.cnes.genius.main.GComponent
fr.cnes.genius.exception.GComponentException
public void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus
in interface fr.cnes.genius.main.GCondensedStatusInterface
public void setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
displayIndicatorStatus
- if Always the modifiedStatusIndicator is always shown, if Never
the modifiedStatusIndicator is never shown, if Automatic the modifiedStatusIndicator
is shown as neededCopyright © 2023. All rights reserved.