|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.genius.main.GComponent
fr.cnes.genius.lowLevel.GContainer
fr.cnes.genopus.forces.GPTerrestrialTidesForceModel
public class GPTerrestrialTidesForceModel
Class containing the widget to define the Terrestrial Tides force model.
| Index | Class | Item | Constraint |
| 0 | GCheckBoxWithIndicator | terrestrialTidesCheckBox | 0, 0, 0 =>
"newline , gapleft 0 , split 2" 0, 0, 1 => (null) 0, 1 => (null) |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class fr.cnes.genius.main.GComponent |
|---|
fr.cnes.genius.main.GComponent.CopyPasteOperation, fr.cnes.genius.main.GComponent.DisplayIndicatorStatus, fr.cnes.genius.main.GComponent.ItemType, fr.cnes.genius.main.GComponent.Operation |
| Nested classes/interfaces inherited from interface fr.cnes.genopus.main.GPPatriusWithObjects |
|---|
GPPatriusWithObjects.ArgsChecker |
| Field Summary |
|---|
| Fields inherited from class fr.cnes.genius.main.GComponent |
|---|
NAME_ATTRIBUTE |
| Constructor Summary | |
|---|---|
GPTerrestrialTidesForceModel(String widgetId,
String label)
Constructor. |
|
| Method Summary | |
|---|---|
void |
clear()
|
void |
display()
|
void |
generic()
|
org.orekit.frames.Frame |
getEarthFrame()
Getter for the Earth frame. |
Double |
getEqRadius()
Getter for the Earth equatorial radius. |
Double |
getMu()
Getter for the Earth gravitational constant. |
org.orekit.forces.gravity.tides.TerrestrialTides |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget. |
org.orekit.forces.gravity.tides.TerrestrialTides |
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 terrestrial tides force is selected. |
void |
read()
|
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget. |
void |
setEarthFrame(org.orekit.frames.Frame earthNonInertialFrame)
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 |
write()
|
| Methods inherited from class fr.cnes.genius.lowLevel.GContainer |
|---|
put |
| Methods inherited from class fr.cnes.genius.main.GComponent |
|---|
activateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, launchInvalidPositionException, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setNameAndCommentInConfigFile, setNameInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, updateIsModifiedIndicator, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GPTerrestrialTidesForceModel(String widgetId,
String label)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.| Method Detail |
|---|
public void setConstraint(int widgetGap)
widgetGap - left gap from panel border to display the label of the widget.public void setMu(Double mu)
mu - the Earth gravitational constant to be set.public Double getMu()
public void setEqRadius(Double eqRadius)
eqRadius - the Earth equatorial radius to be set.public Double getEqRadius()
public void setEarthFrame(org.orekit.frames.Frame earthNonInertialFrame)
earthNonInertialFrame - the Earth frame to be set.public org.orekit.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.GComponent
public void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplayfr.cnes.genius.exception.GException
public void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GException
public void read()
throws fr.cnes.genius.exception.GException
read in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GException
public void write()
throws fr.cnes.genius.exception.GException
write in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GException
public void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GContainerfr.cnes.genius.exception.GException
public org.orekit.forces.gravity.tides.TerrestrialTides getPatriusObject()
throws GPForcesException
getPatriusObject in interface GPPatrius<org.orekit.forces.gravity.tides.TerrestrialTides>GPForcesException - if mu, the equatorial radius or the Earth frame have not been initialized or if the
TerrestrialTides model cannot be created
public org.orekit.forces.gravity.tides.TerrestrialTides getPatriusObject(Object... args)
throws fr.cnes.genius.exception.GException
getPatriusObject in interface GPPatriusWithObjects<org.orekit.forces.gravity.tides.TerrestrialTides>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.GComponent
public 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.GComponentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||