public class GPManeuverSelector extends fr.cnes.genius.lowLevel.GPanel implements fr.cnes.genius.main.GReadWrite, Cloneable, fr.cnes.genius.main.GCondensedStatusInterface, GPPatrius<fr.cnes.sirius.patrius.forces.maneuvers.Maneuver>, fr.cnes.genius.main.GClear, fr.cnes.genius.main.GListener
| Modifier and Type | Class and Description |
|---|---|
static class |
GPManeuverSelector.GPManType
Available types of maneuvers.
|
| Constructor and Description |
|---|
GPManeuverSelector()
Creates a new instance.
|
GPManeuverSelector(String widgetId,
String label)
Creates a new instance.
|
| 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() |
GPManeuverSelector |
clone() |
void |
display() |
void |
generic() |
fr.cnes.genius.highLevel.GComboBoxWithLabel |
getGComboBoxManType()
Getter for the GComboBoxWithLabel of the type of maneuver.
|
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the GLabel of the widget.
|
GPConstantManeuver |
getGPConstantManeuver()
Get continuous maneuver widget.
|
GPImpulseManeuver |
getGPImpulseManeuver()
Get impulsive maneuver widget.
|
String |
getManName()
Get maneuver name.
|
GPManeuverSelector.GPManType |
getManType()
Get maneuver type.
|
fr.cnes.sirius.patrius.forces.maneuvers.Maneuver |
getPatriusObject()
Get custom maneuver.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
boolean |
isEnabled() |
boolean |
isModified() |
void |
read() |
static void |
setCount(int count)
Setter for the maneuvers count.
|
void |
setDefaultConstraints()
Setter for the default constraint of the custom maneuver.
|
void |
setDefaultManeuver(fr.cnes.sirius.patrius.forces.maneuvers.Maneuver maneuver)
Setter for the default maneuver.
|
void |
setEnabled(boolean b) |
void |
setEnginesList(ArrayList<fr.cnes.sirius.patrius.assembly.properties.PropulsiveProperty> engineList)
Update contents of comboboxes for engines with a given list of engines.
|
void |
setManeuver(fr.cnes.sirius.patrius.forces.maneuvers.Maneuver maneuver)
Setter for the maneuver.
|
void |
setManName(String manName)
Set maneuver name.
|
void |
setMassProvider(fr.cnes.sirius.patrius.propagation.MassProvider massProvider)
Setter for the mass provider.
|
void |
setSavedManeuver(fr.cnes.sirius.patrius.forces.maneuvers.Maneuver maneuver)
Setter for the saved maneuver.
|
void |
setTanksList(ArrayList<fr.cnes.sirius.patrius.assembly.properties.TankProperty> tankList)
Update contents of comboboxes for tanks with a given list of tanks.
|
void |
setWidgetId(String widgetId) |
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
void |
updateIsModifiedIndicator() |
void |
write() |
clearConstraint, getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getLayoutConstraints, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, processMouseWheelEvent, put, setClassConstraint, setColumnConstraints, setConstraint, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setMargins, setPanelConstraints, setPreferredSize, setRowConstraints, setUnitIncrement, setVerticalScroll, unputactivateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, 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, setBusyCursor, setCommentInConfigFile, 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 void setDefaultConstraints()
setDefaultConstraints in class fr.cnes.genius.lowLevel.GPanelpublic static void setCount(int count)
count - the maneuvers count.public fr.cnes.genius.highLevel.GLabelWithIndicator getGLabel()
public fr.cnes.genius.highLevel.GComboBoxWithLabel getGComboBoxManType()
public GPImpulseManeuver getGPImpulseManeuver()
public GPConstantManeuver getGPConstantManeuver()
public boolean isModified()
isModified in class fr.cnes.genius.main.GComponentpublic void before(fr.cnes.genius.main.GEvent e)
throws GPEventException
before in interface fr.cnes.genius.main.GListenerGPEventExceptionpublic void after(fr.cnes.genius.main.GEvent e)
throws GPEventException
after in interface fr.cnes.genius.main.GListenerGPEventExceptionpublic void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GPanelfr.cnes.genius.exception.GExceptionpublic void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplayfr.cnes.genius.exception.GExceptionpublic void read()
throws fr.cnes.genius.exception.GException
read in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GExceptionpublic void write()
throws fr.cnes.genius.exception.GException
write in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GExceptionpublic GPManeuverSelector.GPManType getManType()
public fr.cnes.sirius.patrius.forces.maneuvers.Maneuver getPatriusObject()
throws GPManeuverException
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.forces.maneuvers.Maneuver>GPManeuverException - if selected engine or fuel tank is not correctly definedpublic GPManeuverSelector clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfacepublic fr.cnes.genius.main.GComponent getSubComponent(int position)
throws fr.cnes.genius.exception.GComponentException
getSubComponent in class fr.cnes.genius.main.GComponentfr.cnes.genius.exception.GComponentExceptionpublic void setWidgetId(String widgetId)
setWidgetId in class fr.cnes.genius.main.GComponentpublic void setMassProvider(fr.cnes.sirius.patrius.propagation.MassProvider massProvider)
massProvider - the mass providerpublic String getManName()
public void setManName(String manName)
manName - the maneuver namepublic void setEnginesList(ArrayList<fr.cnes.sirius.patrius.assembly.properties.PropulsiveProperty> engineList)
engineList - list of enginespublic void setTanksList(ArrayList<fr.cnes.sirius.patrius.assembly.properties.TankProperty> tankList)
tankList - list of tankspublic void setManeuver(fr.cnes.sirius.patrius.forces.maneuvers.Maneuver maneuver)
throws GPManeuverException,
fr.cnes.genius.exception.GArithmeticException
maneuver - the maneuverGPManeuverException - if the type if not supported of if there is any problem setting
the maneuver.fr.cnes.genius.exception.GArithmeticException - if maneuver event detectors or deltaV contain NaNs or if delta V
is (0,0,0).public void setDefaultManeuver(fr.cnes.sirius.patrius.forces.maneuvers.Maneuver maneuver)
throws GPManeuverException,
fr.cnes.genius.exception.GArithmeticException
maneuver - the maneuverGPManeuverException - if the type if not supported of if there is any problem setting
the maneuver.fr.cnes.genius.exception.GArithmeticException - if maneuver event detectors or deltaV contain NaNs or if delta V
is (0,0,0).public void setSavedManeuver(fr.cnes.sirius.patrius.forces.maneuvers.Maneuver maneuver)
throws GPManeuverException,
fr.cnes.genius.exception.GArithmeticException
maneuver - the maneuverGPManeuverException - if the type if not supported of if there is any problem setting
the maneuver.fr.cnes.genius.exception.GArithmeticException - if maneuver event detectors or deltaV contain NaNs or if delta V
is (0,0,0).public void setEnabled(boolean b)
setEnabled in class fr.cnes.genius.main.GComponentpublic void attachCopyPasteMenu(String label, fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu in class fr.cnes.genius.main.GComponentpublic void updateIsModifiedIndicator()
updateIsModifiedIndicator in class fr.cnes.genius.main.GComponentpublic boolean isEnabled()
isEnabled in class fr.cnes.genius.main.GComponentpublic void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GExceptionCopyright © 2025. All rights reserved.