public class GPThirdBodyForceModel 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, GPPatriusWithObjects<fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction[]>
| Index | Class | Item | Constraint |
| 0 | GCheckBoxWithIndicator | thirdBodyCheckBox | 0, 0, 0 =>
"newline , gapleft 0 , split 2" 0, 0, 1 => (null) 0, 1 => (null) |
| 1 | GCheckBoxWithIndicator | thirdBodyMoonCheckBox | 1, 0, 0
=>
"newline , gapleft 20 , split 2" 1, 0, 1 => (null) 1, 1 => (null) |
| 2 | GCheckBoxWithIndicator | thirdBodySunCheckBox | 2, 0, 0
=>
"newline , gapleft 20 , split 2" 2, 0, 1 => (null) 2, 1 => (null) |
| 3 | GCheckBoxWithIndicator | thirdBodyVenusCheckBox | 3, 0,
0 =>
"newline , gapleft 20 , split 2" 3, 0, 1 => (null) 3, 1 => (null) |
| 4 | GCheckBoxWithIndicator | thirdBodyMarsCheckBox | 4, 0, 0
=>
"newline , gapleft 20 , split 2" 4, 0, 1 => (null) 4, 1 => (null) |
| 5 | GCheckBoxWithIndicator | thirdBodyJupiterCheckBox | 5,
0, 0 =>
"newline , gapleft 20 , split 2" 5, 0, 1 => (null) 5, 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 |
|---|
GPThirdBodyForceModel()
Empty constructor.
|
GPThirdBodyForceModel(String widgetId,
String label)
Constructor.
|
GPThirdBodyForceModel(String widgetId,
String label,
boolean complex)
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.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxComplexJupiter()
Getter for the complex Jupiter force model checkbox.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxComplexMars()
Getter for the complex Mars force model checkbox.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxComplexMoon()
Getter for the complex Moon force model checkbox.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxComplexSun()
Getter for the complex Sun force model checkbox.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxComplexVenus()
Getter for the complex Venus force model checkbox.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxForceModel()
Getter for the GCheckBoxWithIndicator defining if the force model is active.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxJupiter()
Getter for the Jupiter checkbox.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxMars()
Getter for the Mars checkbox.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxMoon()
Getter for the Moon checkbox.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxSun()
Getter for the Sun checkbox.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxVenus()
Getter for the Venus checkbox.
|
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the GLabel of the widget.
|
fr.cnes.sirius.patrius.bodies.CelestialBody |
getJupiter()
Getter for the jupiter celestial body.
|
GPComplexPotentialForceModel |
getJupiterComplexForceModel()
Get the jupiter perturbation force model.
|
fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction |
getJupiterForceModel()
Get the jupiter perturbation force model.
|
fr.cnes.sirius.patrius.bodies.CelestialBody |
getMars()
Getter for mars celestial body.
|
GPComplexPotentialForceModel |
getMarsComplexForceModel()
Get the mars perturbation force model.
|
fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction |
getMarsForceModel()
Get the mars perturbation force model.
|
fr.cnes.sirius.patrius.bodies.CelestialBody |
getMoon()
Getter for the Moon celestial body.
|
GPComplexPotentialForceModel |
getMoonComplexForceModel()
Get the moon perturbation force model.
|
fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction |
getMoonForceModel()
Get the moon perturbation force model.
|
fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction[] |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction[] |
getPatriusObject(Object... args)
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
fr.cnes.sirius.patrius.bodies.CelestialBody |
getSun()
Getter for the Sun celestial body.
|
GPComplexPotentialForceModel |
getSunComplexForceModel()
Get the sun perturbation force model.
|
fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction |
getSunForceModel()
Get the sun perturbation force model.
|
fr.cnes.sirius.patrius.bodies.CelestialBody |
getVenus()
Getter for venus celestial body.
|
GPComplexPotentialForceModel |
getVenusComplexForceModel()
Get the venus perturbation force model.
|
fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction |
getVenusForceModel()
Get the venus perturbation force model.
|
boolean |
isComplexJupiterSelected()
Checks if the third body complex Jupiter force is selected.
|
boolean |
isComplexMarsSelected()
Checks if the third body complex Mars force is selected.
|
boolean |
isComplexMoonSelected()
Checks if the third body complex Moon force is selected.
|
boolean |
isComplexSunSelected()
Checks if the third body complex Sun force is selected.
|
boolean |
isComplexVenusSelected()
Checks if the third body complex Venus force is selected.
|
boolean |
isEnabled() |
boolean |
isJupiterSelected()
Checks if the third body Jupiter force is selected.
|
boolean |
isMarsSelected()
Checks if the third body Mars force is selected.
|
boolean |
isModified() |
boolean |
isMoonSelected()
Checks if the third body Moon force is selected.
|
boolean |
isSelected()
Checks if the third body force is selected.
|
boolean |
isSunSelected()
Checks if the third body Sun force is selected.
|
boolean |
isVenusSelected()
Checks if the third body Venus 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 |
setEnabled(boolean b) |
void |
setJupiter(fr.cnes.sirius.patrius.bodies.CelestialBody jupiter)
Setter for jupiter celestial body.
|
void |
setMars(fr.cnes.sirius.patrius.bodies.CelestialBody mars)
Setter for the mars celestial body.
|
void |
setMoon(fr.cnes.sirius.patrius.bodies.CelestialBody moon)
Setter for the Moon celestial body.
|
void |
setSun(fr.cnes.sirius.patrius.bodies.CelestialBody sun)
Setter for the Sun celestial body.
|
void |
setVenus(fr.cnes.sirius.patrius.bodies.CelestialBody venus)
Setter for venus celestial body.
|
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 GPThirdBodyForceModel()
public GPThirdBodyForceModel(String widgetId, String label)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.public GPThirdBodyForceModel(String widgetId, String label, boolean complex)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.complex - boolean to indicate if the user can add force model files or notpublic 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.GCheckBoxWithIndicator getGCheckBoxMoon()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxComplexMoon()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxSun()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxComplexSun()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxVenus()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxComplexVenus()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxMars()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxComplexMars()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxJupiter()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxComplexJupiter()
public void setMoon(fr.cnes.sirius.patrius.bodies.CelestialBody moon)
moon - the Moon celestial body to be used.public fr.cnes.sirius.patrius.bodies.CelestialBody getMoon()
public void setSun(fr.cnes.sirius.patrius.bodies.CelestialBody sun)
sun - the Sun celestial body to be used.public fr.cnes.sirius.patrius.bodies.CelestialBody getSun()
public void setVenus(fr.cnes.sirius.patrius.bodies.CelestialBody venus)
venus - venus celestial body to be used.public fr.cnes.sirius.patrius.bodies.CelestialBody getVenus()
public void setMars(fr.cnes.sirius.patrius.bodies.CelestialBody mars)
mars - mars celestial body to be used.public fr.cnes.sirius.patrius.bodies.CelestialBody getMars()
public void setJupiter(fr.cnes.sirius.patrius.bodies.CelestialBody jupiter)
jupiter - jupiter celestial body to be used.public fr.cnes.sirius.patrius.bodies.CelestialBody getJupiter()
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 boolean isSelected()
public boolean isMoonSelected()
public boolean isComplexMoonSelected()
public boolean isSunSelected()
public boolean isComplexSunSelected()
public boolean isMarsSelected()
public boolean isComplexMarsSelected()
public boolean isVenusSelected()
public boolean isComplexVenusSelected()
public boolean isJupiterSelected()
public boolean isComplexJupiterSelected()
public GPComplexPotentialForceModel getMoonComplexForceModel()
public GPComplexPotentialForceModel getSunComplexForceModel()
public GPComplexPotentialForceModel getVenusComplexForceModel()
public GPComplexPotentialForceModel getMarsComplexForceModel()
public GPComplexPotentialForceModel getJupiterComplexForceModel()
public fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction getMoonForceModel()
throws GPForcesException
GPForcesException - if the moon body has not been initializedpublic fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction getSunForceModel()
throws GPForcesException
GPForcesException - if the sun body has not been initializedpublic fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction getVenusForceModel()
throws GPForcesException
GPForcesException - if the celestial body cannot be builtpublic fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction getMarsForceModel()
throws GPForcesException
GPForcesException - if the celestial body cannot be builtpublic fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction getJupiterForceModel()
throws GPForcesException
GPForcesException - if the celestial body cannot be builtpublic fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction[] getPatriusObject()
throws fr.cnes.genius.exception.GException
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction[]>fr.cnes.genius.exception.GException - if the PATRIUS object cannot be created from the widget datapublic fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction[] getPatriusObject(Object... args) throws fr.cnes.genius.exception.GException
getPatriusObject in interface GPPatriusWithObjects<fr.cnes.sirius.patrius.forces.gravity.ThirdBodyAttraction[]>args - The parameters are 0: CelestialBody, 1: CelestialBody.fr.cnes.genius.exception.GException - if the PATRIUS object cannot be created from the widget data.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 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.