public class GPYawSteeringAttitudeLaw extends GPAttitudeLawAbstract implements GPAttitudeLawAbstract.GPAttitudeLawWithEarthShape, fr.cnes.genius.main.GCondensedStatusInterface, fr.cnes.genius.main.GListener, GPPatriusWithObjects<fr.cnes.sirius.patrius.attitudes.AttitudeLaw>
| Index | Class | Item | Constraint |
| 0 | GLabelWithIndicator | labelLawName | 0, 0 =>
"newline , gapleft 0 , split 2" 0, 1 => (null) |
| 1 | GSeparator | separator1 | "newline , gapleft 0 , spanx 3 , growx" |
| 2 | GPGroundPointingLawSelector | referenceAttitudeLaw | "newline" (see table below) |
| 3 | GPAxisCoordinates | satSunDirectionAxis | "newline" (see table below) |
| Index | Class | Item | Constraint |
| 2, 0 | GLabelWithIndicator | labelLawName | 2, 0, 0 =>
"newline , gapleft 20 , split 2" 2, 0, 1 => (null) |
| 2, 1 | GComboBoxWithLabel | comboBoxLawType | 2, 1, 0, 0
=> "newline , gapleft 40 , split 2" 2, 1, 0, 1 => (null) 2, 1, 1 => (null) |
| 2, 2 | GPNadirPointingAttitudeLaw | nadirPointingAttLaw | "newline" (see table below) |
| 2, 3 | GPTargetGroundPointingAttitudeLaw | targetPointingAttLaw | "newline" (see table below) |
| 2, 4 | GPBodyCenterGroundPointingAttitudeLaw | bodyCenterPointingAttLaw | "newline" (see table below) |
| Index | Class | Item | Constraint |
| 2, 2, 0 | GLabelWithIndicator | labelLawName | 2, 2, 0, 0 =>
"newline , gapleft 40 , spanx 3 , split 2" 2, 2, 0, 1 => (null) |
| 2, 2, 1 | GSeparator | separator1 | "newline , gapleft 40 , spanx 3 , growx" |
| 2, 2, 2 | GComboBoxWithLabel | comboBoxLawEvol | 2, 2, 2, 0, 0 =>
"newline , gapleft 40 , split 2" 2, 2, 2, 0, 1 => (null) 2, 2, 2, 1 => (null) |
| 2, 2, 3 | GPSpinStabilizedData | spinStabilizedData | "newline" (see table below) |
| Index | Class | Item | Constraint |
| 2, 2, 3, 0 | GSeparator | separator2 | "newline , gapleft 60 , spanx 3 , growx" |
| 2, 2, 3, 1 | GLabelWithIndicator | labelSpinData | 2, 2, 3, 1, 0 =>
"newline , gapleft 60 , split 2" 2, 2, 3, 1, 1 => (null) |
| 2, 2, 3, 2 | GPDateOffset | dateOffsetSpinDelay | "newline" (see table below) |
| 2, 2, 3, 3 | GCheckBoxWithIndicator | checkboxOccultAxis | 2, 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, 4 | GPAxisCoordinates | axisCoordinatesSpinAxis | "newline" (see table below) |
| 2, 2, 3, 5 | GEntryReal | entryRealSpinRate | 2, 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) |
| Index | Class | Item | Constraint |
| 2, 2, 3, 2, 0 | GLabelWithIndicator | label | 2, 2, 3, 2, 0, 0 =>
"newline , gapleft 80 , split 2" 2, 2, 3, 2, 0, 1 => (null) |
| 2, 2, 3, 2, 1 | GPDateOffsetField | offsetField | "split 2" |
| 2, 2, 3, 2, 2 | GPopupList | popupListUnits | (null) |
| Index | Class | Item | Constraint |
| 2, 2, 3, 4, 0 | GLabelWithIndicator | label | 2, 2, 3, 4, 0, 0 =>
"newline , gapleft 80 , split 2" 2, 2, 3, 4, 0, 1 => (null) |
| 2, 2, 3, 4, 1 | GComboBoxWithLabel | comboBoxType | 2, 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, 2 | GEntryReal | entryRealVecX | 2,
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, 3 | GEntryReal | entryRealVecY | 2, 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, 4 | GEntryReal | entryRealVecZ | 2, 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, 5 | GEntryReal | entryRealAlfa | 2, 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, 6 | GEntryReal | entryRealBeta | 2,
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, 7 | GEntryReal | entryRealNorm | 2,
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" |
| Index | Class | Item | Constraint |
| 2, 3, 0 | GLabelWithIndicator | labelLawName | 2, 3, 0, 0 =>
"newline , gapleft 40 , spanx 3 , split 2" 2, 3, 0, 1 => (null) |
| 2, 3, 1 | GSeparator | separator1 | "newline , gapleft 40 , spanx 3 , growx" |
| 2, 3, 2 | GComboBoxWithLabel | comboBoxLawEvol | 2, 3, 2, 0, 0 =>
"newline , gapleft 40 , split 2" 2, 3, 2, 0, 1 => (null) 2, 3, 2, 1 => (null) |
| 2, 3, 3 | GPSpinStabilizedData | spinStabilizedData | "newline" (see table below) |
| 2, 3, 4 | GPGeodeticPoint | targetGeodeticPoint | "newline" (see table below) |
| Index | Class | Item | Constraint |
| 2, 3, 3, 0 | GSeparator | separator2 | "newline , gapleft 60 , spanx 3 , growx" |
| 2, 3, 3, 1 | GLabelWithIndicator | labelSpinData | 2, 3, 3, 1, 0 =>
"newline , gapleft 60 , split 2" 2, 3, 3, 1, 1 => (null) |
| 2, 3, 3, 2 | GPDateOffset | dateOffsetSpinDelay | "newline" (see table below) |
| 2, 3, 3, 3 | GCheckBoxWithIndicator | checkboxOccultAxis | 2, 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, 4 | GPAxisCoordinates | axisCoordinatesSpinAxis | "newline" (see table below) |
| 2, 3, 3, 5 | GEntryReal | entryRealSpinRate | 2, 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) |
| Index | Class | Item | Constraint |
| 2, 3, 3, 2, 0 | GLabelWithIndicator | label | 2, 3, 3, 2, 0, 0 =>
"newline , gapleft 80 , split 2" 2, 3, 3, 2, 0, 1 => (null) |
| 2, 3, 3, 2, 1 | GPDateOffsetField | offsetField | "split 2" |
| 2, 3, 3, 2, 2 | GPopupList | popupListUnits | (null) |
| Index | Class | Item | Constraint |
| 2, 3, 3, 4, 0 | GLabelWithIndicator | label | 2, 3, 3, 4, 0, 0 =>
"newline , gapleft 80 , split 2" 2, 3, 3, 4, 0, 1 => (null) |
| 2, 3, 3, 4, 1 | GComboBoxWithLabel | comboBoxType | 2, 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, 2 | GEntryReal | entryRealVecX | 2,
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, 3 | GEntryReal | entryRealVecY | 2, 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, 4 | GEntryReal | entryRealVecZ | 2, 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, 5 | GEntryReal | entryRealAlfa | 2, 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, 6 | GEntryReal | entryRealBeta | 2,
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, 7 | GEntryReal | entryRealNorm | 2,
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" |
| Index | Class | Item | Constraint |
| 2, 3, 4, 0 | GLabelWithIndicator | label | 2,
3, 4, 0, 0 => "newline , gapleft 60 , split 2" 2, 3, 4, 0, 1 => (null) |
| 2, 3, 4, 1 | GEntryReal | entryRealLatitude | 2, 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, 2 | GEntryReal | entryRealLongitude | 2,
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, 3 | GEntryReal | entryRealAltitude | 2, 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) |
| Index | Class | Item | Constraint |
| 2, 4, 0 | GLabelWithIndicator | labelLawName | 2, 4, 0, 0 =>
"newline , gapleft 40 , spanx 3 , split 2" 2, 4, 0, 1 => (null) |
| 2, 4, 1 | GSeparator | separator1 | "newline , gapleft 40 , spanx 3 , growx" |
| 2, 4, 2 | GComboBoxWithLabel | comboBoxLawEvol | 2, 4, 2, 0, 0 =>
"newline , gapleft 40 , split 2" 2, 4, 2, 0, 1 => (null) 2, 4, 2, 1 => (null) |
| 2, 4, 3 | GPSpinStabilizedData | spinStabilizedData | "newline" (see table below) |
| Index | Class | Item | Constraint |
| 2, 4, 3, 0 | GSeparator | separator2 | "newline , gapleft 60 , spanx 3 , growx" |
| 2, 4, 3, 1 | GLabelWithIndicator | labelSpinData | 2, 4, 3, 1, 0 =>
"newline , gapleft 60 , split 2" 2, 4, 3, 1, 1 => (null) |
| 2, 4, 3, 2 | GPDateOffset | dateOffsetSpinDelay | "newline" (see table below) |
| 2, 4, 3, 3 | GCheckBoxWithIndicator | checkboxOccultAxis | 2, 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, 4 | GPAxisCoordinates | axisCoordinatesSpinAxis | "newline" (see table below) |
| 2, 4, 3, 5 | GEntryReal | entryRealSpinRate | 2, 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) |
| Index | Class | Item | Constraint |
| 2, 4, 3, 2, 0 | GLabelWithIndicator | label | 2, 4, 3, 2, 0, 0 =>
"newline , gapleft 80 , split 2" 2, 4, 3, 2, 0, 1 => (null) |
| 2, 4, 3, 2, 1 | GPDateOffsetField | offsetField | "split 2" |
| 2, 4, 3, 2, 2 | GPopupList | popupListUnits | (null) |
| Index | Class | Item | Constraint |
| 2, 4, 3, 4, 0 | GLabelWithIndicator | label | 2, 4, 3, 4, 0, 0 =>
"newline , gapleft 80 , split 2" 2, 4, 3, 4, 0, 1 => (null) |
| 2, 4, 3, 4, 1 | GComboBoxWithLabel | comboBoxType | 2, 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, 2 | GEntryReal | entryRealVecX | 2,
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, 3 | GEntryReal | entryRealVecY | 2, 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, 4 | GEntryReal | entryRealVecZ | 2, 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, 5 | GEntryReal | entryRealAlfa | 2, 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, 6 | GEntryReal | entryRealBeta | 2,
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, 7 | GEntryReal | entryRealNorm | 2,
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" |
| Index | Class | Item | Constraint |
| 3, 0 | GLabelWithIndicator | label | 3, 0, 0
=> "newline , gapleft 20 , split 2" 3, 0, 1 => (null) |
| 3, 1 | GComboBoxWithLabel | comboBoxType | 3, 1, 0, 0 =>
"newline , gapleft 40 , split 2" 3, 1, 0, 1 => (null) 3, 1, 1 => (null) |
| 3, 2 | GEntryReal | entryRealVecX | 3, 2, 0, 0 =>
"newline , gapleft 40 , split 2" 3, 2, 0, 1 => (null) 3, 2, 1 => "split 2" |
| 3, 3 | GEntryReal | entryRealVecY | 3, 3, 0, 0 =>
"newline , gapleft 40 , split 2" 3, 3, 0, 1 => (null) 3, 3, 1 => "split 2" |
| 3, 4 | GEntryReal | entryRealVecZ | 3, 4, 0, 0 =>
"newline , gapleft 40 , split 2" 3, 4, 0, 1 => (null) 3, 4, 1 => "split 2" |
| 3, 5 | GEntryReal | entryRealAlfa | 3, 5, 0, 0 =>
"newline , gapleft 40 , split 2" 3, 5, 0, 1 => (null) 3, 5, 1 => "split 2" 3, 5, 2 => (null) |
| 3, 6 | GEntryReal | entryRealBeta | 3, 6, 0, 0 =>
"newline , gapleft 40 , split 2" 3, 6, 0, 1 => (null) 3, 6, 1 => "split 2" 3, 6, 2 => (null) |
| 3, 7 | GEntryReal | entryRealNorm | 3, 7, 0, 0 =>
"newline , gapleft 40 , split 2" 3, 7, 0, 1 => (null) 3, 7, 1 => "split 2" |
GPAttitudeLawAbstract.GPAttitudeLawWithEarthShapefr.cnes.genius.main.GComponent.CopyPasteOperation, fr.cnes.genius.main.GComponent.DisplayIndicatorStatus, fr.cnes.genius.main.GComponent.ItemType, fr.cnes.genius.main.GComponent.OperationGPPatriusWithObjects.ArgsCheckerANGLE_UNITS, ANGULAR_SPEED_UNITS, SUB_GAP| Constructor and Description |
|---|
GPYawSteeringAttitudeLaw()
Empty constructor.The widgetId will be assigned automatically.
|
GPYawSteeringAttitudeLaw(String label)
Creates a new instance.The widgetId will be assigned automatically.
|
GPYawSteeringAttitudeLaw(String widgetId,
String label)
Creates a new instance.
|
GPYawSteeringAttitudeLaw(String widgetId,
String label,
fr.cnes.sirius.patrius.attitudes.YawSteering attitudeLaw)
Creates a new instance.
|
GPYawSteeringAttitudeLaw(String label,
fr.cnes.sirius.patrius.attitudes.YawSteering attitudeLaw)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
after(fr.cnes.genius.main.GEvent e) |
void |
before(fr.cnes.genius.main.GEvent e) |
void |
clear() |
void |
generic() |
fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid |
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.
|
fr.cnes.sirius.patrius.attitudes.AttitudeLaw |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.sirius.patrius.attitudes.AttitudeLaw |
getPatriusObject(Object... args)
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
boolean |
isModified() |
boolean |
isNativeAttitudeLaw(fr.cnes.sirius.patrius.attitudes.AttitudeLaw attLaw)
Method to check if an attitude law is an instance of this type.
|
void |
setAttitudeLaw(fr.cnes.sirius.patrius.attitudes.AttitudeLaw attitudeLaw)
Setter from a PATRIUS attitude law.
|
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget.
|
void |
setDefaultAttitudeLaw(fr.cnes.sirius.patrius.attitudes.AttitudeLaw 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(fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid earthShape)
Setter for the Earth shape.
|
void |
setEnabled(boolean flag) |
void |
setSavedAttitudeLaw(fr.cnes.sirius.patrius.attitudes.AttitudeLaw savedAttitudeLaw)
Setter of the saved value from a PATRIUS attitude law.
|
void |
setWidgetId(String widgetId) |
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
display, getGLabelLawName, getGSeparator1, isEnabled, read, setDefaultConstraints, updateIsModifiedIndicator, updateStatus, writeactivateConstraintsByType, attachCopyPasteMenu, 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, setWidth, setWindowBusyCursor, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItempublic GPYawSteeringAttitudeLaw()
public GPYawSteeringAttitudeLaw(String label)
label - for the widgetpublic GPYawSteeringAttitudeLaw(String widgetId, String label)
widgetId - widget identifier, if null an identifier will be automatically created.label - for the widgetpublic GPYawSteeringAttitudeLaw(String widgetId, String label, fr.cnes.sirius.patrius.attitudes.YawSteering attitudeLaw)
widgetId - widget identifier, if null an identifier will be automatically created.label - for the widgetattitudeLaw - attitude law to initialize the widgetpublic GPYawSteeringAttitudeLaw(String label, fr.cnes.sirius.patrius.attitudes.YawSteering attitudeLaw)
label - for the widgetattitudeLaw - attitude law to initialize the widgetpublic void setWidgetId(String widgetId)
setWidgetId in class GPAttitudeLawAbstractpublic fr.cnes.genius.highLevel.GLabelWithIndicator getGLabelRefLawLabel()
public fr.cnes.genius.highLevel.GComboBoxWithLabel getGComboBoxRefLaw()
public GPAttitudeLawAbstract getGPAttitudeLawReferenceLaw()
public GPAxisCoordinates getGPAxisCoordinatesSunDirection()
public void setConstraint(int widgetGap)
setConstraint in class GPAttitudeLawAbstractwidgetGap - left gap from panel border to display the label of the widget.public void generic()
throws fr.cnes.genius.exception.GException
generic in class GPAttitudeLawAbstractfr.cnes.genius.exception.GExceptionpublic fr.cnes.sirius.patrius.attitudes.AttitudeLaw getPatriusObject(Object... args) throws fr.cnes.genius.exception.GException, fr.cnes.sirius.patrius.utils.exception.PatriusException
getPatriusObject in interface GPPatriusWithObjects<fr.cnes.sirius.patrius.attitudes.AttitudeLaw>args - The parameters are 0: OneAxisEllipsoid.fr.cnes.sirius.patrius.utils.exception.PatriusException - problem with patrius objectfr.cnes.genius.exception.GException - if the PATRIUS object cannot be created from the widget data.public fr.cnes.sirius.patrius.attitudes.AttitudeLaw getPatriusObject()
throws GPAttitudeException,
fr.cnes.sirius.patrius.utils.exception.PatriusException
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.attitudes.AttitudeLaw>getPatriusObject in class GPAttitudeLawAbstractGPAttitudeException - if the Sun cannot be builtfr.cnes.sirius.patrius.utils.exception.PatriusException - problem with patrius objectpublic void setEarthShape(fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid earthShape)
throws fr.cnes.genius.exception.GArithmeticException
setEarthShape in interface GPAttitudeLawAbstract.GPAttitudeLawWithEarthShapeearthShape - the Earth shape.fr.cnes.genius.exception.GArithmeticException - if equatorial radius or flatness in earthShape are NaNpublic fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid getEarthShape()
getEarthShape in interface GPAttitudeLawAbstract.GPAttitudeLawWithEarthShapepublic void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GExceptionpublic void setEnabled(boolean flag)
setEnabled in class GPAttitudeLawAbstractpublic boolean isNativeAttitudeLaw(fr.cnes.sirius.patrius.attitudes.AttitudeLaw attLaw)
isNativeAttitudeLaw in class GPAttitudeLawAbstractattLaw - input attitude law.public void setAttitudeLaw(fr.cnes.sirius.patrius.attitudes.AttitudeLaw attitudeLaw)
throws GPAttitudeException,
fr.cnes.genius.exception.GArithmeticException
setAttitudeLaw in class GPAttitudeLawAbstractattitudeLaw - to be set in the widgetfr.cnes.genius.exception.GArithmeticException - if one of the vector components of the attitudeLaw phasing axis
is NaN or if its norm is zero.GPAttitudeException - if the given attitude law is not compatible with the widget.public void setDefaultAttitudeLaw(fr.cnes.sirius.patrius.attitudes.AttitudeLaw defaultAttitudeLaw)
throws GPAttitudeException,
fr.cnes.genius.exception.GArithmeticException
setDefaultAttitudeLaw in class GPAttitudeLawAbstractdefaultAttitudeLaw - to be set as default in the widgetfr.cnes.genius.exception.GArithmeticException - if one of the vector components of the attitudeLaw phasing axis
is NaN or if its norm is zero.GPAttitudeException - if the given attitude law is not compatible with the widget.public void setSavedAttitudeLaw(fr.cnes.sirius.patrius.attitudes.AttitudeLaw savedAttitudeLaw)
throws GPAttitudeException,
fr.cnes.genius.exception.GArithmeticException
setSavedAttitudeLaw in class GPAttitudeLawAbstractsavedAttitudeLaw - to be set as saved in the widgetfr.cnes.genius.exception.GArithmeticException - if one of the vector components of the attitudeLaw phasing axis
is NaN or if its norm is zero.GPAttitudeException - if the given attitude law is not compatible with the widget.public void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfacepublic void setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
setDisplayIsModifiedIndicatorAll in class GPAttitudeLawAbstractdisplayIndicatorStatus - if Always the modifiedStatusIndicator is always shown, if Never
the modifiedStatusIndicator is never shown, if Automatic the modifiedStatusIndicator
is shown as needed.public boolean isModified()
isModified in class fr.cnes.genius.main.GComponentpublic fr.cnes.genius.main.GComponent getSubComponent(int position)
throws fr.cnes.genius.exception.GComponentException
getSubComponent in class GPAttitudeLawAbstractfr.cnes.genius.exception.GComponentExceptionpublic 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.GExceptionCopyright © 2025. All rights reserved.