public class GPManeuverSequence extends fr.cnes.genius.lowLevel.GPanel implements fr.cnes.genius.main.GReadWrite, fr.cnes.genius.main.GListener, fr.cnes.genius.main.GCondensedStatusInterface, fr.cnes.genius.main.GClear, fr.cnes.genius.observer.GObserver, GPPatrius<fr.cnes.sirius.patrius.forces.maneuvers.ManeuversSequence>
| Index | Class | Item | Constraint |
| 0 | GPDualAbsoluteDate | referenceDate | "newline" (see table below) |
| 1 | GLabel | labelPropulsiveProps | "newline , gapleft 0" |
| 2 | GButton | buttonSelectEngines | "newline , gapleft 20 , split 2" |
| 3 | GStandardPanelDialog | dialogEngines | "newline , pushx , pushy , growx , growy" |
| 4 | GComponentList | enginesList | "pushx , pushy , growx , growy" (see table below) |
| 5 | GButton | buttonSelectTanks | (null) |
| 6 | GStandardPanelDialog | dialogTanks | "newline , pushx , pushy , growx , growy" |
| 7 | GComponentList | tanksList | "pushx , pushy , growx , growy" (see table below) |
| 8 | GLabelWithIndicator | labelConstraints | 8, 0 =>
"newline , gapleft 0" 8, 1 => "wmin 79" |
| 9 | GEntryReal | entryRealConstraintImpulsive | 9, 0, 0
=> "newline , gapleft 20 , split 2" 9, 0, 1 => (null) 9, 1 => "split 2" 9, 2 => (null) |
| 10 | GEntryReal | entryRealConstraintConstant | 10, 0, 0 =>
"newline , gapleft 20 , split 2" 10, 0, 1 => (null) 10, 1 => "split 2" 10, 2 => (null) |
| 11 | GLabel | labelManList | "newline , gapleft 0" |
| 12 | GComponentList | maneuversList | "newline , gapleft 0 , spanx 3" (see table below) |
| Index | Class | Item | Constraint |
| 0, 0 | GLabelWithIndicator | label | 0, 0, 0 =>
"newline , gapleft 0 , split 2" 0, 0, 1 => "wmin 24" |
| 0, 1 | GChoice | typeDateChoice | 0, 1, 0, 0 =>
"newline , gapleft 20 , split 2" 0, 1, 0, 1 => (null) 0, 1, 1 => "split" |
| 0, 2 | GPAbsoluteDate | referenceAbsoluteDate | "newline" (see table below) |
| 0, 3 | GPAbsoluteDate | externalAbsoluteDate | "newline" (see table below) |
| Index | Class | Item | Constraint |
| 0, 2, 0 | GLabelWithIndicator | label | 0,
2, 0, 0 => "newline , gapleft 20 , split 2" 0, 2, 0, 1 => (null) |
| 0, 2, 1 | GPDateField | dateField | (null) |
| 0, 2, 2 | GPopupListWithLabel | popupListTimeScales | 0, 2, 2, 0, 0 => "split 4" 0, 2, 2, 0, 1 => (null) 0, 2, 2, 1 => (null) |
| 0, 2, 3 | GButton | buttonRelativeDate | (null) |
| Index | Class | Item | Constraint |
| 0, 3, 0 | GLabelWithIndicator | label | 0, 3,
0, 0 => "newline , gapleft 20 , split 2" 0, 3, 0, 1 => (null) |
| 0, 3, 1 | GPDateField | dateField | (null) |
| 0, 3, 2 | GPopupListWithLabel | popupListTimeScales | 0, 3, 2, 0, 0 => "split 4" 0, 3, 2, 0, 1 => (null) 0, 3, 2, 1 => (null) |
| 0, 3, 3 | GButton | buttonRelativeDate | (null) |
| Index | Class | Item | Constraint |
| 4, 0 | GHeaderPanel | header | "hmin 40" (see table below) |
| 4, 1 | GLabel | spaceLabel | "newline , height 30" |
| Index | Class | Item | Constraint |
| 4, 0, 0 | GEntryInt | totalNumberItemsEntry | 4, 0, 0, 0, 0
=> "newline , split 2" 4, 0, 0, 0, 1 => (null) 4, 0, 0, 1 => "skip 2 , width 50" |
| 4, 0, 1 | GEntryInt | currentItemRankEntry | 4, 0, 1, 0, 0 => "split 2" 4, 0, 1, 0, 1 => (null) 4, 0, 1, 1 => "width 50" |
| 4, 0, 2 | GButton | decrButton | "alignx Right , height 20" |
| 4, 0, 3 | GButton | incrButton | "height 20" |
| 4, 0, 4 | GPopupList | menu | (null) |
| Index | Class | Item | Constraint |
| 7, 0 | GHeaderPanel | header | "hmin 40" (see table below) |
| 7, 1 | GLabel | spaceLabel | "newline , height 30" |
| Index | Class | Item | Constraint |
| 7, 0, 0 | GEntryInt | totalNumberItemsEntry | 7, 0, 0, 0, 0
=> "newline , split 2" 7, 0, 0, 0, 1 => (null) 7, 0, 0, 1 => "skip 2 , width 50" |
| 7, 0, 1 | GEntryInt | currentItemRankEntry | 7, 0, 1, 0, 0 => "split 2" 7, 0, 1, 0, 1 => (null) 7, 0, 1, 1 => "width 50" |
| 7, 0, 2 | GButton | decrButton | "alignx Right , height 20" |
| 7, 0, 3 | GButton | incrButton | "height 20" |
| 7, 0, 4 | GPopupList | menu | (null) |
| Index | Class | Item | Constraint |
| 12, 0 | GHeaderPanel | header | "hmin 40" (see table below) |
| 12, 1 | GLabel | spaceLabel | "newline , height 0" |
| Index | Class | Item | Constraint |
| 12, 0, 0 | GEntryInt | totalNumberItemsEntry | 12, 0, 0, 0,
0 => "newline , split 2" 12, 0, 0, 0, 1 => (null) 12, 0, 0, 1 => "skip 2 , width 50" |
| 12, 0, 1 | GEntryInt | currentItemRankEntry | 12, 0, 1, 0, 0 => "split 2" 12, 0, 1, 0, 1 => (null) 12, 0, 1, 1 => "width 50" |
| 12, 0, 2 | GButton | decrButton | "alignx Right , height 20" |
| 12, 0, 3 | GButton | incrButton | "height 20" |
| 12, 0, 4 | GPopupList | menu | (null) |
| Constructor and Description |
|---|
GPManeuverSequence()
Empty constructor.
|
GPManeuverSequence(fr.cnes.sirius.patrius.time.AbsoluteDate externalDate,
boolean managedTanksAndEngines,
boolean manListSingleMode)
Creates a new instance.
|
GPManeuverSequence(boolean managedTanksAndEngines,
boolean manListSingleMode)
Creates a new instance.
|
GPManeuverSequence(String widgetId,
fr.cnes.sirius.patrius.time.AbsoluteDate externalDate,
boolean managedTanksAndEngines,
boolean manListSingleMode)
Creates a new instance.
|
GPManeuverSequence(String widgetId,
boolean managedTanksAndEngines,
boolean manListSingleMode)
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 |
display() |
void |
generic() |
ArrayList<fr.cnes.sirius.patrius.assembly.properties.PropulsiveProperty> |
getEnginesList()
Get engine list.
|
double |
getErgolMass()
Get the ergol mass.
|
fr.cnes.genius.lowLevel.GButton |
getGButtonEngines()
Get the button to set the engines.
|
fr.cnes.genius.lowLevel.GButton |
getGButtonTanks()
Get the button to set the fuel tanks.
|
fr.cnes.genius.highLevel.GComponentList |
getGComponentListEngines()
Get the list of engines.
|
fr.cnes.genius.highLevel.GComponentList |
getGComponentListManeuvers()
Get the list of maneuvers.
|
fr.cnes.genius.highLevel.GComponentList |
getGComponentListTanks()
Get the list of fuel tanks.
|
fr.cnes.genius.lowLevel.GStandardPanelDialog |
getGDialogEngines()
Get the dialog to set the engines.
|
fr.cnes.genius.lowLevel.GStandardPanelDialog |
getGDialogTanks()
Get the dialog to set the fuel tanks.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealErgolMass()
Get the entry real for the ergols mass.
|
fr.cnes.genius.lowLevel.GLabel |
getGLabelManeuvers()
Get the label for the maneuvers section.
|
fr.cnes.genius.lowLevel.GLabel |
getGLabelSetPropulsiveProps()
Get the label for the propulsive properties section.
|
GPDualAbsoluteDate |
getGPDualAbsoluteDate()
Get reference date.
|
boolean |
getManagedTanksAndEngines()
Return the boolean managedTanksAndEngines.
|
ArrayList<GPManeuverSelector> |
getManArrayList()
Getter for the list of maneuvers of the widget.
|
CustomManeuverSequence |
getPatriusObject()
Get patrius object.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
ArrayList<fr.cnes.sirius.patrius.assembly.properties.TankProperty> |
getTanksList()
Get tank list.
|
boolean |
isEnabled() |
void |
notify(Object observable,
Object... args) |
void |
read() |
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget.
|
void |
setDefaultConstraints()
Setter for the default constraints of the widget.
|
void |
setEnabled(boolean b) |
void |
setExternalDate(fr.cnes.sirius.patrius.time.AbsoluteDate externalDate)
Method to set the external date used as reference date in "external" mode.
|
void |
setMassProvider(fr.cnes.sirius.patrius.propagation.MassProvider massProvider)
Setter for the mass provider.
|
void |
setReferenceDate(fr.cnes.sirius.patrius.time.AbsoluteDate date)
Set the reference date.
|
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
void |
updateEngineCombobox(ArrayList<fr.cnes.sirius.patrius.assembly.properties.PropulsiveProperty> engineList)
Update contents of comboboxes for engines with a given list of engines.
|
void |
updateExternalDate(fr.cnes.sirius.patrius.time.AbsoluteDate externalDate)
Update external date value.
|
void |
updateTankCombobox(ArrayList<fr.cnes.sirius.patrius.assembly.properties.TankProperty> tankList)
Update contents of comboboxes for tanks with a given list of tanks.
|
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, 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, isModified, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, setWindowBusyCursor, updateIsModifiedIndicator, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItempublic GPManeuverSequence()
public GPManeuverSequence(boolean managedTanksAndEngines,
boolean manListSingleMode)
managedTanksAndEngines - manListSingleMode - flag to determine if the maneuvers component list is in
"single widget mode" or not.public GPManeuverSequence(String widgetId, boolean managedTanksAndEngines, boolean manListSingleMode)
managedTanksAndEngines - manListSingleMode - flag to determine if the maneuvers component list is in
"single widget mode" or not.widgetId - widgetIdpublic GPManeuverSequence(fr.cnes.sirius.patrius.time.AbsoluteDate externalDate,
boolean managedTanksAndEngines,
boolean manListSingleMode)
managedTanksAndEngines - manListSingleMode - flag to determine if the maneuvers component list is in
"single widget mode" or not.externalDate - the reference datepublic GPManeuverSequence(String widgetId, fr.cnes.sirius.patrius.time.AbsoluteDate externalDate, boolean managedTanksAndEngines, boolean manListSingleMode)
widgetId - widgetIdexternalDate - the reference datemanagedTanksAndEngines - manListSingleMode - flag to determine if the maneuvers component list is in
"single widget mode" or not.public void setDefaultConstraints()
setDefaultConstraints in class fr.cnes.genius.lowLevel.GPanelpublic void setConstraint(int widgetGap)
widgetGap - left gap from panel border to display the label of the widget.public void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GPanelfr.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 void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplayfr.cnes.genius.exception.GExceptionpublic void before(fr.cnes.genius.main.GEvent e)
throws GPManeuverException
before in interface fr.cnes.genius.main.GListenerGPManeuverExceptionpublic 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.GExceptionpublic void updateEngineCombobox(ArrayList<fr.cnes.sirius.patrius.assembly.properties.PropulsiveProperty> engineList)
engineList - list of enginespublic void updateTankCombobox(ArrayList<fr.cnes.sirius.patrius.assembly.properties.TankProperty> tankList)
tankList - list of tankspublic void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GExceptionpublic GPDualAbsoluteDate getGPDualAbsoluteDate()
public fr.cnes.genius.lowLevel.GLabel getGLabelManeuvers()
public fr.cnes.genius.highLevel.GComponentList getGComponentListManeuvers()
public fr.cnes.genius.lowLevel.GButton getGButtonEngines()
public fr.cnes.genius.lowLevel.GButton getGButtonTanks()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealErgolMass()
public fr.cnes.genius.lowLevel.GLabel getGLabelSetPropulsiveProps()
public fr.cnes.genius.lowLevel.GStandardPanelDialog getGDialogEngines()
public fr.cnes.genius.lowLevel.GStandardPanelDialog getGDialogTanks()
public fr.cnes.genius.highLevel.GComponentList getGComponentListEngines()
public fr.cnes.genius.highLevel.GComponentList getGComponentListTanks()
public void setReferenceDate(fr.cnes.sirius.patrius.time.AbsoluteDate date)
throws fr.cnes.genius.exception.GArithmeticException
date - the reference datefr.cnes.genius.exception.GArithmeticException - if date contains NaNs.public void setExternalDate(fr.cnes.sirius.patrius.time.AbsoluteDate externalDate)
throws fr.cnes.genius.exception.GArithmeticException
externalDate - date to be set.fr.cnes.genius.exception.GArithmeticException - if externalDate contains NaNspublic void updateExternalDate(fr.cnes.sirius.patrius.time.AbsoluteDate externalDate)
throws fr.cnes.genius.exception.GArithmeticException
externalDate - the new external datefr.cnes.genius.exception.GArithmeticException - if externalDate contains NaNspublic ArrayList<fr.cnes.sirius.patrius.assembly.properties.PropulsiveProperty> getEnginesList()
public ArrayList<fr.cnes.sirius.patrius.assembly.properties.TankProperty> getTanksList()
public double getErgolMass()
public CustomManeuverSequence getPatriusObject() throws GPManeuverException
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.forces.maneuvers.ManeuversSequence>GPManeuverException - if maneuvers are wrongly definedpublic 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 ArrayList<GPManeuverSelector> getManArrayList()
public boolean getManagedTanksAndEngines()
public void notify(Object observable, Object... args)
notify in interface fr.cnes.genius.observer.GObserverpublic void setMassProvider(fr.cnes.sirius.patrius.propagation.MassProvider massProvider)
massProvider - the mass providerpublic void setEnabled(boolean b)
setEnabled in class fr.cnes.genius.main.GComponentpublic boolean isEnabled()
isEnabled in class fr.cnes.genius.main.GComponentCopyright © 2025. All rights reserved.