|
||||||||||
| 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.attitudes.GPAttitudeLawAbstract
fr.cnes.genopus.attitudes.GPSpinStabilizedAbstract
fr.cnes.genopus.attitudes.GPSunPointingAttitudeLaw
public class GPSunPointingAttitudeLaw
Widget for a sun pointing attitude law.
| 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 | GComboBoxWithLabel | comboBoxLawEvol | 2, 0, 0 => "newline , gapleft 0 , split 2" 2, 0, 1 => (null) 2, 1 => (null) |
| 3 | GPSpinStabilizedData | spinStabilizedData | "newline" (see table below) |
| 4 | GPAxisCoordinates | satSunDirectionAxis | "newline" (see table below) |
| 5 | GPAxisCoordinates | sunPolesDirectionAxis | "newline" (see table below) |
| Index | Class | Item | Constraint |
| 3, 0 | GSeparator | separator2 | "newline , gapleft 20 , spanx 3 , growx" |
| 3, 1 | GLabelWithIndicator | labelSpinData | 3, 1, 0 => "newline , gapleft 20 , split 2" 3, 1, 1 => (null) |
| 3, 2 | GPDateOffset | dateOffsetSpinDelay | "newline" (see table below) |
| 3, 3 | GCheckBoxWithIndicator | checkboxOccultAxis | 3, 3, 0, 0 =>
"newline , gapleft 40 , split 2" 3, 3, 0, 1 => (null) 3, 3, 1 => (null) |
| 3, 4 | GPAxisCoordinates | axisCoordinatesSpinAxis | "newline" (see table below) |
| 3, 5 | GEntryReal | entryRealSpinRate | 3, 5, 0, 0 =>
"newline , gapleft 40 , split 2" 3, 5, 0, 1 => (null) 3, 5, 1 => "split 2" 3, 5, 2 => (null) |
| Index | Class | Item | Constraint |
| 3, 2, 0 | GLabelWithIndicator | label | 3, 2, 0, 0 =>
"newline , gapleft 40 , split 2" 3, 2, 0, 1 => (null) |
| 3, 2, 1 | GPDateOffsetField | offsetField | "split 2" |
| 3, 2, 2 | GPopupList | popupListUnits | (null) |
| Index | Class | Item | Constraint |
| 3, 4, 0 | GLabelWithIndicator | label | 3, 4, 0, 0
=> "newline , gapleft 40 , split 2" 3, 4, 0, 1 => (null) |
| 3, 4, 1 | GComboBoxWithLabel | comboBoxType | 3, 4, 1, 0, 0 =>
"newline , gapleft 60 , split 2" 3, 4, 1, 0, 1 => (null) 3, 4, 1, 1 => (null) |
| 3, 4, 2 | GEntryReal | entryRealVecX | 3, 4, 2, 0, 0 =>
"newline , gapleft 60 , split 2" 3, 4, 2, 0, 1 => (null) 3, 4, 2, 1 => "split 2" |
| 3, 4, 3 | GEntryReal | entryRealVecY | 3, 4, 3, 0, 0 =>
"newline , gapleft 60 , split 2" 3, 4, 3, 0, 1 => (null) 3, 4, 3, 1 => "split 2" |
| 3, 4, 4 | GEntryReal | entryRealVecZ | 3, 4, 4, 0, 0 =>
"newline , gapleft 60 , split 2" 3, 4, 4, 0, 1 => (null) 3, 4, 4, 1 => "split 2" |
| 3, 4, 5 | GEntryReal | entryRealAlfa | 3, 4, 5, 0, 0 =>
"newline , gapleft 60 , split 2" 3, 4, 5, 0, 1 => (null) 3, 4, 5, 1 => "split 2" 3, 4, 5, 2 => (null) |
| 3, 4, 6 | GEntryReal | entryRealBeta | 3, 4, 6, 0, 0 =>
"newline , gapleft 60 , split 2" 3, 4, 6, 0, 1 => (null) 3, 4, 6, 1 => "split 2" 3, 4, 6, 2 => (null) |
| 3, 4, 7 | GEntryReal | entryRealNorm | 3, 4, 7, 0, 0 =>
"newline , gapleft 60 , split 2" 3, 4, 7, 0, 1 => (null) 3, 4, 7, 1 => "split 2" |
| Index | Class | Item | Constraint |
| 4, 0 | GLabelWithIndicator | label | 4, 0, 0 =>
"newline , gapleft 20 , split 2" 4, 0, 1 => (null) |
| 4, 1 | GComboBoxWithLabel | comboBoxType | 4, 1, 0, 0 =>
"newline , gapleft 40 , split 2" 4, 1, 0, 1 => (null) 4, 1, 1 => (null) |
| 4, 2 | GEntryReal | entryRealVecX | 4, 2, 0, 0 =>
"newline , gapleft 40 , split 2" 4, 2, 0, 1 => (null) 4, 2, 1 => "split 2" |
| 4, 3 | GEntryReal | entryRealVecY | 4, 3, 0, 0 => "newline , gapleft 40 , split 2" 4, 3, 0, 1 => (null) 4, 3, 1 => "split 2" |
| 4, 4 | GEntryReal | entryRealVecZ | 4, 4, 0, 0 => "newline , gapleft 40 , split 2" 4, 4, 0, 1 => (null) 4, 4, 1 => "split 2" |
| 4, 5 | GEntryReal | entryRealAlfa | 4, 5, 0, 0 => "newline , gapleft 40 , split 2" 4, 5, 0, 1 => (null) 4, 5, 1 => "split 2" 4, 5, 2 => (null) |
| 4, 6 | GEntryReal | entryRealBeta | 4, 6, 0, 0 =>
"newline , gapleft 40 , split 2" 4, 6, 0, 1 => (null) 4, 6, 1 => "split 2" 4, 6, 2 => (null) |
| 4, 7 | GEntryReal | entryRealNorm | 4, 7, 0, 0 =>
"newline , gapleft 40 , split 2" 4, 7, 0, 1 => (null) 4, 7, 1 => "split 2" |
| Index | Class | Item | Constraint |
| 5, 0 | GLabelWithIndicator | label | 5, 0, 0 =>
"newline , gapleft 20 , split 2" 5, 0, 1 => (null) |
| 5, 1 | GComboBoxWithLabel | comboBoxType | 5, 1, 0, 0 =>
"newline , gapleft 40 , split 2" 5, 1, 0, 1 => (null) 5, 1, 1 => (null) |
| 5, 2 | GEntryReal | entryRealVecX | 5, 2, 0, 0 =>
"newline , gapleft 40 , split 2" 5, 2, 0, 1 => (null) 5, 2, 1 => "split 2" |
| 5, 3 | GEntryReal | entryRealVecY | 5, 3, 0, 0 => "newline , gapleft 40 , split 2" 5, 3, 0, 1 => (null) 5, 3, 1 => "split 2" |
| 5, 4 | GEntryReal | entryRealVecZ | 5, 4, 0, 0 => "newline , gapleft 40 , split 2" 5, 4, 0, 1 => (null) 5, 4, 1 => "split 2" |
| 5, 5 | GEntryReal | entryRealAlfa | 5, 5, 0, 0 => "newline , gapleft 40 , split 2" 5, 5, 0, 1 => (null) 5, 5, 1 => "split 2" 5, 5, 2 => (null) |
| 5, 6 | GEntryReal | entryRealBeta | 5, 6, 0, 0 =>
"newline , gapleft 40 , split 2" 5, 6, 0, 1 => (null) 5, 6, 1 => "split 2" 5, 6, 2 => (null) |
| 5, 7 | GEntryReal | entryRealNorm | 5, 7, 0, 0 =>
"newline , gapleft 40 , split 2" 5, 7, 0, 1 => (null) 5, 7, 1 => "split 2" |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class fr.cnes.genopus.attitudes.GPSpinStabilizedAbstract |
|---|
GPSpinStabilizedAbstract.GPLawsEvolution |
| 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 |
| 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 | |
|---|---|
GPSunPointingAttitudeLaw(String label)
Creates a new instance.The widgetId will be assigned automatically. |
|
GPSunPointingAttitudeLaw(String label,
CustomSunPointing attitudeLaw)
Creates a new instance. |
|
GPSunPointingAttitudeLaw(String widgetId,
String label)
Creates a new instance. |
|
GPSunPointingAttitudeLaw(String widgetId,
String label,
CustomSunPointing 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()
|
protected org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getDefaultPointingAxis()
Gets the pointing axis for the spin stabilized attitude law in case of comming from outside the spin stabilized data. |
GPAxisCoordinates |
getGPAxisCoordinatesFirstDirection()
Getter for the Sun direction axis subwidget (first direction). |
GPAxisCoordinates |
getGPAxisCoordinatesSecondDirection()
Getter for the Sun poles axis subwidget (second direction). |
CustomAttitudeLaw |
getLaw()
Gets the PATRIUS attitude law object builded with MMI parameters. |
CustomAttitudeLaw |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget. |
protected org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getPointingAxis()
Gets the pointing axis for the spin stabilized attitude law in case of comming from outside the spin stabilized data. |
protected org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getSavedPointingAxis()
Gets the pointing axis for the spin stabilized attitude law in case of comming from outside the spin stabilized data. |
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 |
setConstraint(int widgetGap)
Setter for the constraints of the widget. |
void |
setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
Controls the display of the isModified indicator of all sub-widgets. |
void |
setEnabled(boolean flag)
|
protected void |
setSubWidgetsDefaultValues(CustomAttitudeLaw attitudeLaw)
Private method to set the default values to the sub-widgets related to the non-rotating law. |
protected void |
setSubWidgetsSavedValues(CustomAttitudeLaw attitudeLaw)
Private method to set the saved values to the sub-widgets related to the non-rotating law. |
protected void |
setSubWidgetsValues(CustomAttitudeLaw attitudeLaw)
Private method to set the values to the sub-widgets related to the non-rotating 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, 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 |
|---|
public GPSunPointingAttitudeLaw(String label)
label - for the widget
public GPSunPointingAttitudeLaw(String widgetId,
String label)
widgetId - widget identifier, if null an identifier will be automatically created.label - for the widget
public GPSunPointingAttitudeLaw(String widgetId,
String label,
CustomSunPointing attitudeLaw)
widgetId - widget identifier, if null an identifier will be automatically created.label - for the widgetattitudeLaw - attitude law to initialize the widget
public GPSunPointingAttitudeLaw(String label,
CustomSunPointing attitudeLaw)
label - for the widgetattitudeLaw - attitude law to initialize the widget| Method Detail |
|---|
public void setWidgetId(String widgetId)
setWidgetId in class GPSpinStabilizedAbstractpublic GPAxisCoordinates getGPAxisCoordinatesFirstDirection()
public GPAxisCoordinates getGPAxisCoordinatesSecondDirection()
public void setConstraint(int widgetGap)
setConstraint in class GPSpinStabilizedAbstractwidgetGap - left gap from panel border to display the label of the widget.
public void generic()
throws fr.cnes.genius.exception.GException
generic in class GPSpinStabilizedAbstractfr.cnes.genius.exception.GException
public CustomAttitudeLaw getLaw()
throws GPAttitudeException
GPAttitudeException - if the sun cannot be built or if the spin start date is not defined
protected org.apache.commons.math3.geometry.euclidean.threed.Vector3D getPointingAxis()
throws GPAttitudeException
getPointingAxis in class GPSpinStabilizedAbstractGPAttitudeException - if the axis is undefined.
protected org.apache.commons.math3.geometry.euclidean.threed.Vector3D getDefaultPointingAxis()
throws GPAttitudeException
getDefaultPointingAxis in class GPSpinStabilizedAbstractGPAttitudeException - in case of any problem.
protected org.apache.commons.math3.geometry.euclidean.threed.Vector3D getSavedPointingAxis()
throws GPAttitudeException
getSavedPointingAxis in class GPSpinStabilizedAbstractGPAttitudeException - in case of any problem.
public CustomAttitudeLaw getPatriusObject()
throws GPAttitudeException
getPatriusObject in interface GPPatrius<CustomAttitudeLaw>getPatriusObject in class GPAttitudeLawAbstractGPAttitudeException - if the sun cannot be built or if the spin start date is not defined
public void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearclear in class GPSpinStabilizedAbstractfr.cnes.genius.exception.GExceptionpublic void setEnabled(boolean flag)
setEnabled in class GPSpinStabilizedAbstractpublic boolean isNativeAttitudeLaw(CustomAttitudeLaw attLaw)
isNativeAttitudeLaw in class GPAttitudeLawAbstractattLaw - input attitude law.
protected void setSubWidgetsValues(CustomAttitudeLaw attitudeLaw)
setSubWidgetsValues in class GPSpinStabilizedAbstractattitudeLaw - PATRIUS attitude law. Must be of native type.protected void setSubWidgetsDefaultValues(CustomAttitudeLaw attitudeLaw)
setSubWidgetsDefaultValues in class GPSpinStabilizedAbstractattitudeLaw - PATRIUS attitude law. Must be of native type.protected void setSubWidgetsSavedValues(CustomAttitudeLaw attitudeLaw)
setSubWidgetsSavedValues in class GPSpinStabilizedAbstractattitudeLaw - PATRIUS attitude law. Must be of native type.public void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfaceupdateCondensedStatus in class GPSpinStabilizedAbstractpublic void setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
setDisplayIsModifiedIndicatorAll in class GPSpinStabilizedAbstractdisplayIndicatorStatus - 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 GPSpinStabilizedAbstract
public fr.cnes.genius.main.GComponent getSubComponent(int position)
throws fr.cnes.genius.exception.GComponentException
getSubComponent in class GPSpinStabilizedAbstractfr.cnes.genius.exception.GComponentException
public 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.GException
public void after(fr.cnes.genius.main.GEvent e)
throws fr.cnes.genius.exception.GException
after in interface fr.cnes.genius.main.GListenerafter in class GPSpinStabilizedAbstractfr.cnes.genius.exception.GException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||