public class GPOceanTidesForceModel extends fr.cnes.genius.lowLevel.GContainer implements fr.cnes.genius.main.GDisplay, fr.cnes.genius.main.GReadWrite, fr.cnes.genius.main.GClear, fr.cnes.genius.main.GListener, fr.cnes.genius.main.GCondensedStatusInterface, GPPatriusWithObjects<fr.cnes.sirius.patrius.forces.gravity.tides.OceanTides>
| Index | Class | Item | Constraint |
| 0 | GCheckBoxWithIndicator | oceanTidesCheckBox | 0, 0, 0 =>
"newline , gapleft 0 , split 2" 0, 0, 1 => (null) 0, 1 => (null) |
| 1 | GEntryReal | waterDensityEntryReal | 1, 0, 0 =>
"newline , gapleft 20 , split 2" 1, 0, 1 => (null) 1, 1 => "split 2" 1, 2 => (null) |
| 2 | GEntryInt | orderOceanTidesEntryInt | 2, 0, 0 =>
"newline , gapleft 20 , split 2" 2, 0, 1 => (null) 2, 1 => (null) |
| 3 | GEntryInt | degreeOceanTidesEntryInt | 3, 0, 0 =>
"newline , gapleft 20 , split 2" 3, 0, 1 => (null) 3, 1 => (null) |
| 4 | GCheckBoxWithIndicator | withAdmittanceCheckBox | 4, 0, 0 =>
"newline , gapleft 20 , split 2" 4, 0, 1 => (null) 4, 1 => (null) |
fr.cnes.genius.main.GComponent.CopyPasteOperation, fr.cnes.genius.main.GComponent.DisplayIndicatorStatus, fr.cnes.genius.main.GComponent.ItemType, fr.cnes.genius.main.GComponent.OperationGPPatriusWithObjects.ArgsChecker| Constructor and Description |
|---|
GPOceanTidesForceModel()
Empty constructor.
|
GPOceanTidesForceModel(String widgetId,
String label)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
after(fr.cnes.genius.main.GEvent e) |
void |
attachCopyPasteMenu(String label,
fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList) |
void |
before(fr.cnes.genius.main.GEvent e) |
void |
clear() |
void |
display() |
void |
generic() |
fr.cnes.sirius.patrius.frames.Frame |
getEarthFrame()
Getter for the Earth frame.
|
Double |
getEqRadius()
Getter for the Earth equatorial radius.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxForceModel()
Getter for the GCheckBoxWithIndicator defining if the force model is active.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxWithAdmittance()
Getter for the GCheckBoxWithIndicator defining the usage of admittance.
|
fr.cnes.genius.highLevel.GEntryInt |
getGEntryIntTidesDegree()
Getter for the GEntryInt defining the tides degree.
|
fr.cnes.genius.highLevel.GEntryInt |
getGEntryIntTidesOrder()
Getter for the GEntryInt defining the tides order.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealWaterDensity()
Getter for the GEntryReal defining the water density.
|
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the GLabel of the widget.
|
Double |
getMu()
Getter for the Earth gravitational constant.
|
fr.cnes.sirius.patrius.forces.gravity.tides.OceanTides |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.sirius.patrius.forces.gravity.tides.OceanTides |
getPatriusObject(Object... args)
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
boolean |
isEnabled() |
boolean |
isModified() |
boolean |
isSelected()
Checks if the ocean tides force is selected.
|
void |
read() |
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget.
|
void |
setDefaultConstraints()
Method to set the default constraints for the layout.
|
void |
setEarthFrame(fr.cnes.sirius.patrius.frames.Frame mu)
Setter for the Earth frame.
|
void |
setEnabled(boolean b) |
void |
setEqRadius(Double eqRadius)
Setter for the Earth equatorial radius.
|
void |
setMu(Double mu)
Setter for the Earth gravitational constant.
|
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
protected void |
updateIsModifiedIndicator() |
void |
write() |
activateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, 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, processMouseWheelEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, setWindowBusyCursor, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItempublic void setDefaultConstraints()
setDefaultConstraints in class fr.cnes.genius.main.GComponentpublic void setConstraint(int widgetGap)
widgetGap - left gap from panel border to display the label of the widget.public fr.cnes.genius.highLevel.GLabelWithIndicator getGLabel()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxForceModel()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealWaterDensity()
public fr.cnes.genius.highLevel.GEntryInt getGEntryIntTidesOrder()
public fr.cnes.genius.highLevel.GEntryInt getGEntryIntTidesDegree()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxWithAdmittance()
public void setMu(Double mu) throws fr.cnes.genius.exception.GArithmeticException
mu - the Earth gravitational constant to be set.fr.cnes.genius.exception.GArithmeticException - if mu is NaN.public Double getMu()
public void setEqRadius(Double eqRadius) throws fr.cnes.genius.exception.GArithmeticException
eqRadius - the Earth equatorial radius to be set.fr.cnes.genius.exception.GArithmeticException - if eqRadius is NaN.public Double getEqRadius()
public void setEarthFrame(fr.cnes.sirius.patrius.frames.Frame mu)
mu - the Earth frame to be set.public fr.cnes.sirius.patrius.frames.Frame getEarthFrame()
public boolean isEnabled()
isEnabled in class fr.cnes.genius.main.GComponentpublic void setEnabled(boolean b)
setEnabled in class fr.cnes.genius.main.GComponentpublic void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplayfr.cnes.genius.exception.GExceptionpublic void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GExceptionpublic void read()
throws fr.cnes.genius.exception.GException
read in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GExceptionpublic void write()
throws fr.cnes.genius.exception.GException
write in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GExceptionpublic void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GContainerfr.cnes.genius.exception.GExceptionpublic fr.cnes.sirius.patrius.forces.gravity.tides.OceanTides getPatriusObject()
throws GPForcesException
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.forces.gravity.tides.OceanTides>GPForcesException - if mu, the equatorial radius or the Earth frame have not been initialized or if there is a
problem getting the coefficients providerpublic fr.cnes.sirius.patrius.forces.gravity.tides.OceanTides getPatriusObject(Object... args) throws fr.cnes.genius.exception.GException
getPatriusObject in interface GPPatriusWithObjects<fr.cnes.sirius.patrius.forces.gravity.tides.OceanTides>args - The parameters are 0: Double, 1: Double, 2: Frame.fr.cnes.genius.exception.GException - if the PATRIUS object cannot be created from the widget data.public boolean isSelected()
public boolean isModified()
isModified in class fr.cnes.genius.main.GComponentprotected void updateIsModifiedIndicator()
updateIsModifiedIndicator in class fr.cnes.genius.main.GComponentpublic void attachCopyPasteMenu(String label, fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu in class fr.cnes.genius.main.GComponentpublic void before(fr.cnes.genius.main.GEvent e)
throws fr.cnes.genius.exception.GException
before in interface fr.cnes.genius.main.GListenerfr.cnes.genius.exception.GExceptionpublic void after(fr.cnes.genius.main.GEvent e)
throws fr.cnes.genius.exception.GException
after in interface fr.cnes.genius.main.GListenerfr.cnes.genius.exception.GExceptionpublic void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfacepublic fr.cnes.genius.main.GComponent getSubComponent(int position)
throws fr.cnes.genius.exception.GComponentException
getSubComponent in class fr.cnes.genius.main.GComponentfr.cnes.genius.exception.GComponentExceptionCopyright © 2025. All rights reserved.