fr.cnes.genopus.attitudes
Class GPYawSteeringAttitudeLaw

java.lang.Object
  extended by fr.cnes.genius.main.GComponent
      extended by fr.cnes.genius.lowLevel.GContainer
          extended by fr.cnes.genopus.attitudes.GPAttitudeLawAbstract
              extended by fr.cnes.genopus.attitudes.GPYawSteeringAttitudeLaw
All Implemented Interfaces:
fr.cnes.genius.main.GClear, fr.cnes.genius.main.GCondensedStatusInterface, fr.cnes.genius.main.GDisplay, fr.cnes.genius.main.GListener, fr.cnes.genius.main.GReadWrite, GPAttitudeLawAbstract.GPAttitudeLawWithEarthShape, GPPatrius<CustomAttitudeLaw>, GPPatriusWithObjects<CustomAttitudeLaw>

public class GPYawSteeringAttitudeLaw
extends GPAttitudeLawAbstract
implements GPAttitudeLawAbstract.GPAttitudeLawWithEarthShape, fr.cnes.genius.main.GCondensedStatusInterface, fr.cnes.genius.main.GListener, GPPatriusWithObjects<CustomAttitudeLaw>

Widget for a yaw steering attitude law.

Author:
ffsm
Default Constraint(s):
IndexClassItemConstraint
0GLabelWithIndicatorlabelLawName0, 0 => "newline , gapleft 0 , split 2"
0, 1 => (null)
1GSeparatorseparator1"newline , gapleft 0 , spanx 3 , growx"
2GPGroundPointingLawSelectorreferenceAttitudeLaw"newline"
(see table below)
3GPAxisCoordinatessatSunDirectionAxis"newline"
(see table below)

Default Constraint(s) for referenceAttitudeLaw:
IndexClassItemConstraint
2, 0GLabelWithIndicatorlabelLawName2, 0, 0 => "newline , gapleft 20 , split 2"
2, 0, 1 => (null)
2, 1GComboBoxWithLabelcomboBoxLawType2, 1, 0, 0 => "newline , gapleft 40 , split 2"
2, 1, 0, 1 => (null)
2, 1, 1 => (null)
2, 2GPNadirPointingAttitudeLawnadirPointingAttLaw"newline"
(see table below)
2, 3GPTargetGroundPointingAttitudeLawtargetPointingAttLaw"newline"
(see table below)
2, 4GPBodyCenterGroundPointingAttitudeLawbodyCenterPointingAttLaw"newline"
(see table below)

Default Constraint(s) for nadirPointingAttLaw:
IndexClassItemConstraint
2, 2, 0GLabelWithIndicatorlabelLawName2, 2, 0, 0 => "newline , gapleft 40 , spanx 3 , split 2"
2, 2, 0, 1 => (null)
2, 2, 1GSeparatorseparator1"newline , gapleft 40 , spanx 3 , growx"
2, 2, 2GComboBoxWithLabelcomboBoxLawEvol2, 2, 2, 0, 0 => "newline , gapleft 40 , split 2"
2, 2, 2, 0, 1 => (null)
2, 2, 2, 1 => (null)
2, 2, 3GPSpinStabilizedDataspinStabilizedData"newline"
(see table below)

Default Constraint(s) for spinStabilizedData:
IndexClassItemConstraint
2, 2, 3, 0GSeparatorseparator2"newline , gapleft 60 , spanx 3 , growx"
2, 2, 3, 1GLabelWithIndicatorlabelSpinData2, 2, 3, 1, 0 => "newline , gapleft 60 , split 2"
2, 2, 3, 1, 1 => (null)
2, 2, 3, 2GPDateOffsetdateOffsetSpinDelay"newline"
(see table below)
2, 2, 3, 3GCheckBoxWithIndicatorcheckboxOccultAxis2, 2, 3, 3, 0, 0 => "newline , gapleft 80 , split 2"
2, 2, 3, 3, 0, 1 => (null)
2, 2, 3, 3, 1 => (null)
2, 2, 3, 4GPAxisCoordinatesaxisCoordinatesSpinAxis"newline"
(see table below)
2, 2, 3, 5GEntryRealentryRealSpinRate2, 2, 3, 5, 0, 0 => "newline , gapleft 80 , split 2"
2, 2, 3, 5, 0, 1 => (null)
2, 2, 3, 5, 1 => "split 2"
2, 2, 3, 5, 2 => (null)

Default Constraint(s) for dateOffsetSpinDelay:
IndexClassItemConstraint
2, 2, 3, 2, 0GLabelWithIndicatorlabel2, 2, 3, 2, 0, 0 => "newline , gapleft 80 , split 2"
2, 2, 3, 2, 0, 1 => (null)
2, 2, 3, 2, 1GPDateOffsetFieldoffsetField"split 2"
2, 2, 3, 2, 2GPopupListpopupListUnits(null)

Default Constraint(s) for axisCoordinatesSpinAxis:
IndexClassItemConstraint
2, 2, 3, 4, 0GLabelWithIndicatorlabel2, 2, 3, 4, 0, 0 => "newline , gapleft 80 , split 2"
2, 2, 3, 4, 0, 1 => (null)
2, 2, 3, 4, 1GComboBoxWithLabelcomboBoxType2, 2, 3, 4, 1, 0, 0 => "newline , gapleft 100 , split 2"
2, 2, 3, 4, 1, 0, 1 => (null)
2, 2, 3, 4, 1, 1 => (null)
2, 2, 3, 4, 2GEntryRealentryRealVecX2, 2, 3, 4, 2, 0, 0 => "newline , gapleft 100 , split 2"
2, 2, 3, 4, 2, 0, 1 => (null)
2, 2, 3, 4, 2, 1 => "split 2"
2, 2, 3, 4, 3GEntryRealentryRealVecY2, 2, 3, 4, 3, 0, 0 => "newline , gapleft 100 , split 2"
2, 2, 3, 4, 3, 0, 1 => (null)
2, 2, 3, 4, 3, 1 => "split 2"
2, 2, 3, 4, 4GEntryRealentryRealVecZ2, 2, 3, 4, 4, 0, 0 => "newline , gapleft 100 , split 2"
2, 2, 3, 4, 4, 0, 1 => (null)
2, 2, 3, 4, 4, 1 => "split 2"
2, 2, 3, 4, 5GEntryRealentryRealAlfa2, 2, 3, 4, 5, 0, 0 => "newline , gapleft 100 , split 2"
2, 2, 3, 4, 5, 0, 1 => (null)
2, 2, 3, 4, 5, 1 => "split 2"
2, 2, 3, 4, 5, 2 => (null)
2, 2, 3, 4, 6GEntryRealentryRealBeta2, 2, 3, 4, 6, 0, 0 => "newline , gapleft 100 , split 2"
2, 2, 3, 4, 6, 0, 1 => (null)
2, 2, 3, 4, 6, 1 => "split 2"
2, 2, 3, 4, 6, 2 => (null)
2, 2, 3, 4, 7GEntryRealentryRealNorm2, 2, 3, 4, 7, 0, 0 => "newline , gapleft 100 , split 2"
2, 2, 3, 4, 7, 0, 1 => (null)
2, 2, 3, 4, 7, 1 => "split 2"

Default Constraint(s) for targetPointingAttLaw:
IndexClassItemConstraint
2, 3, 0GLabelWithIndicatorlabelLawName2, 3, 0, 0 => "newline , gapleft 40 , spanx 3 , split 2"
2, 3, 0, 1 => (null)
2, 3, 1GSeparatorseparator1"newline , gapleft 40 , spanx 3 , growx"
2, 3, 2GComboBoxWithLabelcomboBoxLawEvol2, 3, 2, 0, 0 => "newline , gapleft 40 , split 2"
2, 3, 2, 0, 1 => (null)
2, 3, 2, 1 => (null)
2, 3, 3GPSpinStabilizedDataspinStabilizedData"newline"
(see table below)
2, 3, 4GPGeodeticPointtargetGeodeticPoint"newline"
(see table below)

Default Constraint(s) for spinStabilizedData:
IndexClassItemConstraint
2, 3, 3, 0GSeparatorseparator2"newline , gapleft 60 , spanx 3 , growx"
2, 3, 3, 1GLabelWithIndicatorlabelSpinData2, 3, 3, 1, 0 => "newline , gapleft 60 , split 2"
2, 3, 3, 1, 1 => (null)
2, 3, 3, 2GPDateOffsetdateOffsetSpinDelay"newline"
(see table below)
2, 3, 3, 3GCheckBoxWithIndicatorcheckboxOccultAxis2, 3, 3, 3, 0, 0 => "newline , gapleft 80 , split 2"
2, 3, 3, 3, 0, 1 => (null)
2, 3, 3, 3, 1 => (null)
2, 3, 3, 4GPAxisCoordinatesaxisCoordinatesSpinAxis"newline"
(see table below)
2, 3, 3, 5GEntryRealentryRealSpinRate2, 3, 3, 5, 0, 0 => "newline , gapleft 80 , split 2"
2, 3, 3, 5, 0, 1 => (null)
2, 3, 3, 5, 1 => "split 2"
2, 3, 3, 5, 2 => (null)

Default Constraint(s) for dateOffsetSpinDelay:
IndexClassItemConstraint
2, 3, 3, 2, 0GLabelWithIndicatorlabel2, 3, 3, 2, 0, 0 => "newline , gapleft 80 , split 2"
2, 3, 3, 2, 0, 1 => (null)
2, 3, 3, 2, 1GPDateOffsetFieldoffsetField"split 2"
2, 3, 3, 2, 2GPopupListpopupListUnits(null)

Default Constraint(s) for axisCoordinatesSpinAxis:
IndexClassItemConstraint
2, 3, 3, 4, 0GLabelWithIndicatorlabel2, 3, 3, 4, 0, 0 => "newline , gapleft 80 , split 2"
2, 3, 3, 4, 0, 1 => (null)
2, 3, 3, 4, 1GComboBoxWithLabelcomboBoxType2, 3, 3, 4, 1, 0, 0 => "newline , gapleft 100 , split 2"
2, 3, 3, 4, 1, 0, 1 => (null)
2, 3, 3, 4, 1, 1 => (null)
2, 3, 3, 4, 2GEntryRealentryRealVecX2, 3, 3, 4, 2, 0, 0 => "newline , gapleft 100 , split 2"
2, 3, 3, 4, 2, 0, 1 => (null)
2, 3, 3, 4, 2, 1 => "split 2"
2, 3, 3, 4, 3GEntryRealentryRealVecY2, 3, 3, 4, 3, 0, 0 => "newline , gapleft 100 , split 2"
2, 3, 3, 4, 3, 0, 1 => (null)
2, 3, 3, 4, 3, 1 => "split 2"
2, 3, 3, 4, 4GEntryRealentryRealVecZ2, 3, 3, 4, 4, 0, 0 => "newline , gapleft 100 , split 2"
2, 3, 3, 4, 4, 0, 1 => (null)
2, 3, 3, 4, 4, 1 => "split 2"
2, 3, 3, 4, 5GEntryRealentryRealAlfa2, 3, 3, 4, 5, 0, 0 => "newline , gapleft 100 , split 2"
2, 3, 3, 4, 5, 0, 1 => (null)
2, 3, 3, 4, 5, 1 => "split 2"
2, 3, 3, 4, 5, 2 => (null)
2, 3, 3, 4, 6GEntryRealentryRealBeta2, 3, 3, 4, 6, 0, 0 => "newline , gapleft 100 , split 2"
2, 3, 3, 4, 6, 0, 1 => (null)
2, 3, 3, 4, 6, 1 => "split 2"
2, 3, 3, 4, 6, 2 => (null)
2, 3, 3, 4, 7GEntryRealentryRealNorm2, 3, 3, 4, 7, 0, 0 => "newline , gapleft 100 , split 2"
2, 3, 3, 4, 7, 0, 1 => (null)
2, 3, 3, 4, 7, 1 => "split 2"

Default Constraint(s) for targetGeodeticPoint:
IndexClassItemConstraint
2, 3, 4, 0GLabelWithIndicatorlabel2, 3, 4, 0, 0 => "newline , gapleft 60 , split 2"
2, 3, 4, 0, 1 => (null)
2, 3, 4, 1GEntryRealentryRealLatitude2, 3, 4, 1, 0, 0 => "newline , gapleft 80 , split 2"
2, 3, 4, 1, 0, 1 => (null)
2, 3, 4, 1, 1 => "split 2"
2, 3, 4, 1, 2 => (null)
2, 3, 4, 2GEntryRealentryRealLongitude2, 3, 4, 2, 0, 0 => "newline , gapleft 80 , split 2"
2, 3, 4, 2, 0, 1 => (null)
2, 3, 4, 2, 1 => "split 2"
2, 3, 4, 2, 2 => (null)
2, 3, 4, 3GEntryRealentryRealAltitude2, 3, 4, 3, 0, 0 => "newline , gapleft 80 , split 2"
2, 3, 4, 3, 0, 1 => (null)
2, 3, 4, 3, 1 => "split 2"
2, 3, 4, 3, 2 => (null)

Default Constraint(s) for bodyCenterPointingAttLaw:
IndexClassItemConstraint
2, 4, 0GLabelWithIndicatorlabelLawName2, 4, 0, 0 => "newline , gapleft 40 , spanx 3 , split 2"
2, 4, 0, 1 => (null)
2, 4, 1GSeparatorseparator1"newline , gapleft 40 , spanx 3 , growx"
2, 4, 2GComboBoxWithLabelcomboBoxLawEvol2, 4, 2, 0, 0 => "newline , gapleft 40 , split 2"
2, 4, 2, 0, 1 => (null)
2, 4, 2, 1 => (null)
2, 4, 3GPSpinStabilizedDataspinStabilizedData"newline"
(see table below)

Default Constraint(s) for spinStabilizedData:
IndexClassItemConstraint
2, 4, 3, 0GSeparatorseparator2"newline , gapleft 60 , spanx 3 , growx"
2, 4, 3, 1GLabelWithIndicatorlabelSpinData2, 4, 3, 1, 0 => "newline , gapleft 60 , split 2"
2, 4, 3, 1, 1 => (null)
2, 4, 3, 2GPDateOffsetdateOffsetSpinDelay"newline"
(see table below)
2, 4, 3, 3GCheckBoxWithIndicatorcheckboxOccultAxis2, 4, 3, 3, 0, 0 => "newline , gapleft 80 , split 2"
2, 4, 3, 3, 0, 1 => (null)
2, 4, 3, 3, 1 => (null)
2, 4, 3, 4GPAxisCoordinatesaxisCoordinatesSpinAxis"newline"
(see table below)
2, 4, 3, 5GEntryRealentryRealSpinRate2, 4, 3, 5, 0, 0 => "newline , gapleft 80 , split 2"
2, 4, 3, 5, 0, 1 => (null)
2, 4, 3, 5, 1 => "split 2"
2, 4, 3, 5, 2 => (null)

Default Constraint(s) for dateOffsetSpinDelay:
IndexClassItemConstraint
2, 4, 3, 2, 0GLabelWithIndicatorlabel2, 4, 3, 2, 0, 0 => "newline , gapleft 80 , split 2"
2, 4, 3, 2, 0, 1 => (null)
2, 4, 3, 2, 1GPDateOffsetFieldoffsetField"split 2"
2, 4, 3, 2, 2GPopupListpopupListUnits(null)

Default Constraint(s) for axisCoordinatesSpinAxis:
IndexClassItemConstraint
2, 4, 3, 4, 0GLabelWithIndicatorlabel2, 4, 3, 4, 0, 0 => "newline , gapleft 80 , split 2"
2, 4, 3, 4, 0, 1 => (null)
2, 4, 3, 4, 1GComboBoxWithLabelcomboBoxType2, 4, 3, 4, 1, 0, 0 => "newline , gapleft 100 , split 2"
2, 4, 3, 4, 1, 0, 1 => (null)
2, 4, 3, 4, 1, 1 => (null)
2, 4, 3, 4, 2GEntryRealentryRealVecX2, 4, 3, 4, 2, 0, 0 => "newline , gapleft 100 , split 2"
2, 4, 3, 4, 2, 0, 1 => (null)
2, 4, 3, 4, 2, 1 => "split 2"
2, 4, 3, 4, 3GEntryRealentryRealVecY2, 4, 3, 4, 3, 0, 0 => "newline , gapleft 100 , split 2"
2, 4, 3, 4, 3, 0, 1 => (null)
2, 4, 3, 4, 3, 1 => "split 2"
2, 4, 3, 4, 4GEntryRealentryRealVecZ2, 4, 3, 4, 4, 0, 0 => "newline , gapleft 100 , split 2"
2, 4, 3, 4, 4, 0, 1 => (null)
2, 4, 3, 4, 4, 1 => "split 2"
2, 4, 3, 4, 5GEntryRealentryRealAlfa2, 4, 3, 4, 5, 0, 0 => "newline , gapleft 100 , split 2"
2, 4, 3, 4, 5, 0, 1 => (null)
2, 4, 3, 4, 5, 1 => "split 2"
2, 4, 3, 4, 5, 2 => (null)
2, 4, 3, 4, 6GEntryRealentryRealBeta2, 4, 3, 4, 6, 0, 0 => "newline , gapleft 100 , split 2"
2, 4, 3, 4, 6, 0, 1 => (null)
2, 4, 3, 4, 6, 1 => "split 2"
2, 4, 3, 4, 6, 2 => (null)
2, 4, 3, 4, 7GEntryRealentryRealNorm2, 4, 3, 4, 7, 0, 0 => "newline , gapleft 100 , split 2"
2, 4, 3, 4, 7, 0, 1 => (null)
2, 4, 3, 4, 7, 1 => "split 2"

Default Constraint(s) for satSunDirectionAxis:
IndexClassItemConstraint
3, 0GLabelWithIndicatorlabel3, 0, 0 => "newline , gapleft 20 , split 2"
3, 0, 1 => (null)
3, 1GComboBoxWithLabelcomboBoxType3, 1, 0, 0 => "newline , gapleft 40 , split 2"
3, 1, 0, 1 => (null)
3, 1, 1 => (null)
3, 2GEntryRealentryRealVecX3, 2, 0, 0 => "newline , gapleft 40 , split 2"
3, 2, 0, 1 => (null)
3, 2, 1 => "split 2"
3, 3GEntryRealentryRealVecY3, 3, 0, 0 => "newline , gapleft 40 , split 2"
3, 3, 0, 1 => (null)
3, 3, 1 => "split 2"
3, 4GEntryRealentryRealVecZ3, 4, 0, 0 => "newline , gapleft 40 , split 2"
3, 4, 0, 1 => (null)
3, 4, 1 => "split 2"
3, 5GEntryRealentryRealAlfa3, 5, 0, 0 => "newline , gapleft 40 , split 2"
3, 5, 0, 1 => (null)
3, 5, 1 => "split 2"
3, 5, 2 => (null)
3, 6GEntryRealentryRealBeta3, 6, 0, 0 => "newline , gapleft 40 , split 2"
3, 6, 0, 1 => (null)
3, 6, 1 => "split 2"
3, 6, 2 => (null)
3, 7GEntryRealentryRealNorm3, 7, 0, 0 => "newline , gapleft 40 , split 2"
3, 7, 0, 1 => (null)
3, 7, 1 => "split 2"


Nested Class Summary
 
Nested classes/interfaces inherited from class fr.cnes.genopus.attitudes.GPAttitudeLawAbstract
GPAttitudeLawAbstract.GPAttitudeLawWithEarthShape
 
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.genopus.attitudes.GPAttitudeLawAbstract
ANGLE_UNITS, ANGULAR_SPEED_UNITS, SUB_GAP
 
Fields inherited from class fr.cnes.genius.main.GComponent
NAME_ATTRIBUTE
 
Constructor Summary
GPYawSteeringAttitudeLaw(String label)
          Creates a new instance.The widgetId will be assigned automatically.
GPYawSteeringAttitudeLaw(String label, CustomYawSteering attitudeLaw)
          Creates a new instance.
GPYawSteeringAttitudeLaw(String widgetId, String label)
          Creates a new instance.
GPYawSteeringAttitudeLaw(String widgetId, String label, CustomYawSteering attitudeLaw)
          Creates a new instance.
 
Method Summary
 void after(fr.cnes.genius.main.GEvent e)
          
 void before(fr.cnes.genius.main.GEvent e)
          
 void clear()
          
 void generic()
          
 org.orekit.bodies.BodyShape getEarthShape()
          Getter for the Earth shape.
 fr.cnes.genius.highLevel.GComboBoxWithLabel getGComboBoxRefLaw()
          Getter for the combo box subwidget to select the reference law.
 fr.cnes.genius.highLevel.GLabelWithIndicator getGLabelRefLawLabel()
          Getter for the label name subwidget.
 GPAttitudeLawAbstract getGPAttitudeLawReferenceLaw()
          Getter for the selected reference law subwidget.
 GPAxisCoordinates getGPAxisCoordinatesSunDirection()
          Getter for the Sun direction axis subwidget.
 CustomAttitudeLaw getPatriusObject()
          Returns the PATRIUS object associated to a GENOPUS widget.
 CustomAttitudeLaw getPatriusObject(Object... args)
          Returns the PATRIUS object associated to a GENOPUS widget.
 fr.cnes.genius.main.GComponent getSubComponent(int position)
          
 boolean isModified()
          
 boolean isNativeAttitudeLaw(CustomAttitudeLaw attLaw)
          Method to check if an attitude law is an instance of this type.
 void setAttitudeLaw(CustomAttitudeLaw attitudeLaw)
          Setter from a PATRIUS attitude law.
 void setConstraint(int widgetGap)
          Setter for the constraints of the widget.
 void setDefaultAttitudeLaw(CustomAttitudeLaw defaultAttitudeLaw)
          Setter of the default value from a PATRIUS attitude law.
 void setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
          Controls the display of the isModified indicator of all sub-widgets.
 void setEarthShape(org.orekit.bodies.BodyShape earthShape)
          Setter for the Earth shape.
 void setEnabled(boolean flag)
          
 void setSavedAttitudeLaw(CustomAttitudeLaw savedAttitudeLaw)
          Setter of the saved value from a PATRIUS attitude law.
 void setWidgetId(String widgetId)
          
 void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
          
 
Methods inherited from class fr.cnes.genopus.attitudes.GPAttitudeLawAbstract
display, getGLabelLawName, getGSeparator1, isEnabled, read, setDefaultConstraints, updateIsModifiedIndicator, updateStatus, 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, setWidth, 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

GPYawSteeringAttitudeLaw

public GPYawSteeringAttitudeLaw(String label)
Creates a new instance.The widgetId will be assigned automatically.

Parameters:
label - for the widget

GPYawSteeringAttitudeLaw

public GPYawSteeringAttitudeLaw(String widgetId,
                                String label)
Creates a new instance.

Parameters:
widgetId - widget identifier, if null an identifier will be automatically created.
label - for the widget

GPYawSteeringAttitudeLaw

public GPYawSteeringAttitudeLaw(String widgetId,
                                String label,
                                CustomYawSteering attitudeLaw)
Creates a new instance.

Parameters:
widgetId - widget identifier, if null an identifier will be automatically created.
label - for the widget
attitudeLaw - attitude law to initialize the widget

GPYawSteeringAttitudeLaw

public GPYawSteeringAttitudeLaw(String label,
                                CustomYawSteering attitudeLaw)
Creates a new instance. The widgetId will be asigned automatically.

Parameters:
label - for the widget
attitudeLaw - attitude law to initialize the widget
Method Detail

setWidgetId

public void setWidgetId(String widgetId)

Overrides:
setWidgetId in class GPAttitudeLawAbstract

getGLabelRefLawLabel

public fr.cnes.genius.highLevel.GLabelWithIndicator getGLabelRefLawLabel()
Getter for the label name subwidget.

Returns:
the label name subwidget

getGComboBoxRefLaw

public fr.cnes.genius.highLevel.GComboBoxWithLabel getGComboBoxRefLaw()
Getter for the combo box subwidget to select the reference law.

Returns:
the combo box subwidget to select the reference law.

getGPAttitudeLawReferenceLaw

public GPAttitudeLawAbstract getGPAttitudeLawReferenceLaw()
Getter for the selected reference law subwidget.

Returns:
the selected reference law subwidget

getGPAxisCoordinatesSunDirection

public GPAxisCoordinates getGPAxisCoordinatesSunDirection()
Getter for the Sun direction axis subwidget.

Returns:
the Sun direction axis subwidget

setConstraint

public void setConstraint(int widgetGap)
Setter for the constraints of the widget.

Overrides:
setConstraint in class GPAttitudeLawAbstract
Parameters:
widgetGap - left gap from panel border to display the label of the widget.

generic

public void generic()
             throws fr.cnes.genius.exception.GException

Overrides:
generic in class GPAttitudeLawAbstract
Throws:
fr.cnes.genius.exception.GException

getPatriusObject

public CustomAttitudeLaw getPatriusObject(Object... args)
                                   throws fr.cnes.genius.exception.GException
Returns the PATRIUS object associated to a GENOPUS widget.

Specified by:
getPatriusObject in interface GPPatriusWithObjects<CustomAttitudeLaw>
Parameters:
args - The parameters are 0: BodyShape.
Returns:
the PATRIUS object associated to the widget.
Throws:
fr.cnes.genius.exception.GException - if the PATRIUS object cannot be created from the widget data.

getPatriusObject

public CustomAttitudeLaw getPatriusObject()
                                   throws GPAttitudeException
Returns the PATRIUS object associated to a GENOPUS widget.

Specified by:
getPatriusObject in interface GPPatrius<CustomAttitudeLaw>
Specified by:
getPatriusObject in class GPAttitudeLawAbstract
Returns:
the PATRIUS object associated to the widget.
Throws:
GPAttitudeException - if the Sun cannot be built

setEarthShape

public void setEarthShape(org.orekit.bodies.BodyShape earthShape)
Setter for the Earth shape.

Specified by:
setEarthShape in interface GPAttitudeLawAbstract.GPAttitudeLawWithEarthShape
Parameters:
earthShape - the Earth shape.

getEarthShape

public org.orekit.bodies.BodyShape getEarthShape()
Getter for the Earth shape.

Specified by:
getEarthShape in interface GPAttitudeLawAbstract.GPAttitudeLawWithEarthShape
Returns:
the Earth shape.

clear

public void clear()
           throws fr.cnes.genius.exception.GException

Specified by:
clear in interface fr.cnes.genius.main.GClear
Throws:
fr.cnes.genius.exception.GException

setEnabled

public void setEnabled(boolean flag)

Overrides:
setEnabled in class GPAttitudeLawAbstract

isNativeAttitudeLaw

public boolean isNativeAttitudeLaw(CustomAttitudeLaw attLaw)
Method to check if an attitude law is an instance of this type.

Specified by:
isNativeAttitudeLaw in class GPAttitudeLawAbstract
Parameters:
attLaw - input attitude law.
Returns:
true if it is an instance of this.

setAttitudeLaw

public void setAttitudeLaw(CustomAttitudeLaw attitudeLaw)
                    throws GPAttitudeException
Setter from a PATRIUS attitude law.

Specified by:
setAttitudeLaw in class GPAttitudeLawAbstract
Parameters:
attitudeLaw - to be set in the widget
Throws:
GPAttitudeException - if the given attitude law is not compatible with the widget.

setDefaultAttitudeLaw

public void setDefaultAttitudeLaw(CustomAttitudeLaw defaultAttitudeLaw)
                           throws GPAttitudeException
Setter of the default value from a PATRIUS attitude law.

Specified by:
setDefaultAttitudeLaw in class GPAttitudeLawAbstract
Parameters:
defaultAttitudeLaw - to be set as default in the widget
Throws:
GPAttitudeException - if the given attitude law is not compatible with the widget.

setSavedAttitudeLaw

public void setSavedAttitudeLaw(CustomAttitudeLaw savedAttitudeLaw)
                         throws GPAttitudeException
Setter of the saved value from a PATRIUS attitude law.

Specified by:
setSavedAttitudeLaw in class GPAttitudeLawAbstract
Parameters:
savedAttitudeLaw - to be set as saved in the widget
Throws:
GPAttitudeException - if the given attitude law is not compatible with the widget.

updateCondensedStatus

public void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)

Specified by:
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterface

setDisplayIsModifiedIndicatorAll

public void setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
Controls the display of the isModified indicator of all sub-widgets.

Specified by:
setDisplayIsModifiedIndicatorAll in class GPAttitudeLawAbstract
Parameters:
displayIndicatorStatus - if Always the modifiedStatusIndicator is always shown, if Never the modifiedStatusIndicator is never shown, if Automatic the modifiedStatusIndicator is shown as needed.

isModified

public boolean isModified()

Overrides:
isModified in class fr.cnes.genius.main.GComponent

getSubComponent

public fr.cnes.genius.main.GComponent getSubComponent(int position)
                                               throws fr.cnes.genius.exception.GComponentException

Overrides:
getSubComponent in class GPAttitudeLawAbstract
Throws:
fr.cnes.genius.exception.GComponentException

before

public void before(fr.cnes.genius.main.GEvent e)
            throws fr.cnes.genius.exception.GException

Specified by:
before in interface fr.cnes.genius.main.GListener
Throws:
fr.cnes.genius.exception.GException

after

public void after(fr.cnes.genius.main.GEvent e)
           throws fr.cnes.genius.exception.GException

Specified by:
after in interface fr.cnes.genius.main.GListener
Throws:
fr.cnes.genius.exception.GException


Copyright © 2017. All rights reserved.