public class GPTerrestrialTidesForceModel extends fr.cnes.genius.lowLevel.GContainer implements fr.cnes.genius.main.GDisplay, fr.cnes.genius.main.GReadWrite, fr.cnes.genius.main.GClear, GPPatriusWithObjects<fr.cnes.sirius.patrius.forces.gravity.tides.TerrestrialTides>, fr.cnes.genius.main.GListener
Index | Class | Item | Constraint |
0 | GCheckBoxWithIndicator | terrestrialTidesCheckBox | 0, 0, 0 =>
"newline , gapleft 0 , split 2" 0, 0, 1 => (null) 0, 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.Operation
GPPatriusWithObjects.ArgsChecker
Constructor and Description |
---|
GPTerrestrialTidesForceModel(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.GLabelWithIndicator |
getGLabel()
Getter for the GLabel of the widget.
|
Double |
getMu()
Getter for the Earth gravitational constant.
|
fr.cnes.sirius.patrius.forces.gravity.tides.TerrestrialTides |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.sirius.patrius.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 |
setDefaultConstraints()
Method to set the default constraints for the layout.
|
void |
setEarthFrame(fr.cnes.sirius.patrius.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.
|
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, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setNameAndCommentInConfigFile, setNameInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem
public void setDefaultConstraints()
setDefaultConstraints
in class fr.cnes.genius.main.GComponent
public 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 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 earthNonInertialFrame)
earthNonInertialFrame
- the Earth frame to be set.public fr.cnes.sirius.patrius.frames.Frame getEarthFrame()
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 void display() throws fr.cnes.genius.exception.GException
display
in interface fr.cnes.genius.main.GDisplay
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 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 generic() throws fr.cnes.genius.exception.GException
generic
in class fr.cnes.genius.lowLevel.GContainer
fr.cnes.genius.exception.GException
public void before(fr.cnes.genius.main.GEvent e) throws fr.cnes.genius.exception.GException
before
in interface fr.cnes.genius.main.GListener
fr.cnes.genius.exception.GException
public void after(fr.cnes.genius.main.GEvent e) throws fr.cnes.genius.exception.GException
after
in interface fr.cnes.genius.main.GListener
fr.cnes.genius.exception.GException
public fr.cnes.sirius.patrius.forces.gravity.tides.TerrestrialTides getPatriusObject() throws GPForcesException
getPatriusObject
in interface GPPatrius<fr.cnes.sirius.patrius.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 createdpublic fr.cnes.sirius.patrius.forces.gravity.tides.TerrestrialTides getPatriusObject(Object... args) throws fr.cnes.genius.exception.GException
getPatriusObject
in interface GPPatriusWithObjects<fr.cnes.sirius.patrius.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
protected void updateIsModifiedIndicator()
updateIsModifiedIndicator
in class fr.cnes.genius.main.GComponent
public void attachCopyPasteMenu(String label, fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu
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.GComponent
fr.cnes.genius.exception.GComponentException
Copyright © 2018. All rights reserved.