public class GPRediffusedSRPForceModel 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.radiation.RediffusedRadiationPressure>
Index | Class | Item | Constraint |
0 | GCheckBoxWithIndicator | rediffusedSRPCheckBox | 0, 0, 0 =>
"newline , gapleft 0 , split 2" 0, 0, 1 => (null) 0, 1 => (null) |
1 | GCheckBoxWithIndicator | rediffusedAlbedoCheckBox | 1,
0, 0 => "newline , gapleft 20 , split 2" 1, 0, 1 => (null) 1, 1 => (null) |
2 | GCheckBoxWithIndicator | rediffusedInfraredCheckBox | 2,
0, 0 => "newline , gapleft 20 , split 2" 2, 0, 1 => (null) 2, 1 => (null) |
3 | GEntryReal | multipRediffusedAlbedo | 3, 0, 0 =>
"newline , gapleft 40 , split 2" 3, 0, 1 => (null) 3, 1 => (null) |
4 | GEntryReal | multipRediffusedInfrared | 4, 0, 0 =>
"newline , gapleft 40 , 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.Operation
GPPatriusWithObjects.ArgsChecker
Constructor and Description |
---|
GPRediffusedSRPForceModel(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.assembly.Assembly |
getAssembly()
Getter for the assembly to be used for drag force model creation.
|
fr.cnes.sirius.patrius.frames.Frame |
getEarthFrame()
Getter for the Earth rotating frame.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxAlbedo()
Getter for the GCheckBoxWithIndicator defining if the albedo is active.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxForceModel()
Getter for the GCheckBoxWithIndicator defining if the force model is active.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxInfrared()
Getter for the GCheckBoxWithIndicator defining if the infrared is active.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealAlbedoMultip()
Getter for the GEntryReal defining the albedo multiplicative factor.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealInfraredMultip()
Getter for the GEntryReal defining the infrared multiplicative factor.
|
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the GLabel of the widget.
|
double |
getMultiplicativeFactorAlbedo()
Get multiplicative factor for albedo domain.
|
double |
getMultiplicativeFactorInfrared()
Get multiplicative factor for infrared domain.
|
fr.cnes.sirius.patrius.forces.radiation.RediffusedRadiationPressure |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.sirius.patrius.forces.radiation.RediffusedRadiationPressure |
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 to be used for drag force model creation.
|
boolean |
isEnabled() |
boolean |
isModified() |
boolean |
isSelected()
Checks if the rediffused SRP force is selected.
|
void |
read() |
void |
setAssembly(fr.cnes.sirius.patrius.assembly.Assembly assembly)
Setter for the assembly to be used for drag force model creation.
|
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 earthFrame)
Setter for the Earth rotating frame.
|
void |
setEnabled(boolean b) |
void |
setMultiplicativeFactorAlbedo(double multiplicativeFactorAlbedo)
Set multiplicative factor for albedo.
|
void |
setMultiplicativeFactorInfrared(double multiplicativeFactorInfrared)
Set multiplicative factor for infrared.
|
void |
setSun(fr.cnes.sirius.patrius.bodies.CelestialBody sun)
Setter for the Sun 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, 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 fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxAlbedo()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealAlbedoMultip()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxInfrared()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealInfraredMultip()
public void setAssembly(fr.cnes.sirius.patrius.assembly.Assembly assembly)
assembly
- the assembly to be set.public fr.cnes.sirius.patrius.assembly.Assembly getAssembly()
public void setEarthFrame(fr.cnes.sirius.patrius.frames.Frame earthFrame)
earthFrame
- the Earth rotating frame to be set.public fr.cnes.sirius.patrius.frames.Frame getEarthFrame()
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 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 fr.cnes.sirius.patrius.forces.radiation.RediffusedRadiationPressure getPatriusObject() throws GPForcesException
getPatriusObject
in interface GPPatrius<fr.cnes.sirius.patrius.forces.radiation.RediffusedRadiationPressure>
GPForcesException
- if the assembly, the Earth frame or the Sun body have not been
initialized or if the Force model cannot be createdpublic fr.cnes.sirius.patrius.forces.radiation.RediffusedRadiationPressure getPatriusObject(Object... args) throws fr.cnes.genius.exception.GException
getPatriusObject
in interface GPPatriusWithObjects<fr.cnes.sirius.patrius.forces.radiation.RediffusedRadiationPressure>
args
- The parameters are 0: Frame, 1: Assembly, 2: CelestialBody.fr.cnes.genius.exception.GException
- if the PATRIUS object cannot be created from the widget data.public boolean isSelected()
public void setMultiplicativeFactorAlbedo(double multiplicativeFactorAlbedo) throws fr.cnes.genius.exception.GArithmeticException
multiplicativeFactorAlbedo
- the multiplicativeFactorAlbedo to setfr.cnes.genius.exception.GArithmeticException
- if multiplicativeFactorAlbedo is NaN.public void setMultiplicativeFactorInfrared(double multiplicativeFactorInfrared) throws fr.cnes.genius.exception.GArithmeticException
multiplicativeFactorInfrared
- the multiplicativeFactorInfrared to setfr.cnes.genius.exception.GArithmeticException
- if multiplicativeFactorInfrared is NaN.public double getMultiplicativeFactorAlbedo()
public double getMultiplicativeFactorInfrared()
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 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.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.