|
||||||||||
| 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.GPAeroAttitudeLaw
public class GPAeroAttitudeLaw
Widget for an aero 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 | GEntryReal | entryRealAngleOfAttack | 2, 0, 0 => "newline , gapleft 20 , split 2" 2, 0, 1 => (null) 2, 1 => "split 2" 2, 2 => (null) |
| 3 | GEntryReal | entryRealSideSlipAngle | 3, 0, 0 =>
"newline , gapleft 20 , split 2" 3, 0, 1 => (null) 3, 1 => "split 2" 3, 2 => (null) |
| 4 | GEntryReal | entryRealBankAngle | 4, 0, 0 =>
"newline , gapleft 20 , split 2" 4, 0, 1 => (null) 4, 1 => "split 2" 4, 2 => (null) |
| 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 | |
|---|---|
GPAeroAttitudeLaw(String label)
Creates a new instance.The widgetId will be assigned automatically. |
|
GPAeroAttitudeLaw(String label,
CustomAeroAttitudeLaw attitudeLaw)
Creates a new instance. |
|
GPAeroAttitudeLaw(String widgetId,
String label)
Creates a new instance. |
|
GPAeroAttitudeLaw(String widgetId,
String label,
CustomAeroAttitudeLaw 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.GEntryReal |
getGEntryRealAngleOfAttack()
Getter for the angle of attack subwidget. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealBankAngle()
Getter for the bank angle subwidget. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealSideSlipAngle()
Getter for the side slip angle 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 |
|---|
public GPAeroAttitudeLaw(String label)
label - for the widget
public GPAeroAttitudeLaw(String widgetId,
String label)
widgetId - widget identifier, if null an identifier will be automatically created.label - for the widget
public GPAeroAttitudeLaw(String widgetId,
String label,
CustomAeroAttitudeLaw attitudeLaw)
widgetId - widget identifier, if null an identifier will be automatically created.label - for the widgetattitudeLaw - attitude law to initialize the widget
public GPAeroAttitudeLaw(String label,
CustomAeroAttitudeLaw attitudeLaw)
label - for the widgetattitudeLaw - attitude law to initialize the widget| Method Detail |
|---|
public void setWidgetId(String widgetId)
setWidgetId in class GPAttitudeLawAbstractpublic fr.cnes.genius.highLevel.GEntryReal getGEntryRealAngleOfAttack()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealSideSlipAngle()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealBankAngle()
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.GException
public CustomAttitudeLaw getPatriusObject(Object... args)
throws fr.cnes.genius.exception.GException
getPatriusObject in interface GPPatriusWithObjects<CustomAttitudeLaw>args - The parameters are 0: BodyShape.
fr.cnes.genius.exception.GException - if the PATRIUS object cannot be created from the widget data.
public CustomAttitudeLaw getPatriusObject()
throws GPAttitudeException
getPatriusObject in interface GPPatrius<CustomAttitudeLaw>getPatriusObject in class GPAttitudeLawAbstractGPAttitudeException - if the earth shape has not been initializedpublic void setEarthShape(org.orekit.bodies.BodyShape earthShape)
setEarthShape in interface GPAttitudeLawAbstract.GPAttitudeLawWithEarthShapeearthShape - the Earth shape.public org.orekit.bodies.BodyShape getEarthShape()
getEarthShape in interface GPAttitudeLawAbstract.GPAttitudeLawWithEarthShape
public 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(CustomAttitudeLaw attLaw)
isNativeAttitudeLaw in class GPAttitudeLawAbstractattLaw - input attitude law.
public void setAttitudeLaw(CustomAttitudeLaw attitudeLaw)
throws GPAttitudeException
setAttitudeLaw in class GPAttitudeLawAbstractattitudeLaw - to be set in the widget
GPAttitudeException - if the given attitude law is not compatible with the widget.
public void setDefaultAttitudeLaw(CustomAttitudeLaw defaultAttitudeLaw)
throws GPAttitudeException
setDefaultAttitudeLaw in class GPAttitudeLawAbstractdefaultAttitudeLaw - to be set as default in the widget
GPAttitudeException - if the given attitude law is not compatible with the widget.
public void setSavedAttitudeLaw(CustomAttitudeLaw savedAttitudeLaw)
throws GPAttitudeException
setSavedAttitudeLaw in class GPAttitudeLawAbstractsavedAttitudeLaw - to be set as saved in the widget
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.GComponent
public fr.cnes.genius.main.GComponent getSubComponent(int position)
throws fr.cnes.genius.exception.GComponentException
getSubComponent in class GPAttitudeLawAbstractfr.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.GListenerfr.cnes.genius.exception.GException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||