|
||||||||||
| 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.GPanel
fr.cnes.genopus.maneuvers.GPManeuverSequence
public class GPManeuverSequence
Widget for maneuvers scenario definition.
| 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) |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class fr.cnes.genius.lowLevel.GPanel |
|---|
fr.cnes.genius.lowLevel.GPanel.Panel, fr.cnes.genius.lowLevel.GPanel.ScrollBarVisibility |
| 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.genius.main.GComponent |
|---|
NAME_ATTRIBUTE |
| Constructor Summary | |
|---|---|
GPManeuverSequence(org.orekit.time.AbsoluteDate externalDate,
boolean managedTanksAndEngines,
boolean manListSingleMode)
Creates a new instance. |
|
GPManeuverSequence(boolean managedTanksAndEngines,
boolean manListSingleMode)
Creates a new instance. |
|
GPManeuverSequence(String widgetId,
org.orekit.time.AbsoluteDate externalDate,
boolean managedTanksAndEngines,
boolean manListSingleMode)
Creates a new instance. |
|
GPManeuverSequence(String widgetId,
boolean managedTanksAndEngines,
boolean manListSingleMode)
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 |
display()
|
void |
generic()
|
ArrayList<CustomEngine> |
getEnginesList()
Get engine list. |
double |
getErgolMass()
Get the ergol mass. |
fr.cnes.genius.main.GComponent |
getGButtonEngines()
Get the button to set the engines. |
fr.cnes.genius.main.GComponent |
getGButtonTanks()
Get the button to set the fuel tanks. |
fr.cnes.genius.highLevel.GComponentList |
getGComponentListEngines()
Get the list of engines. |
fr.cnes.genius.main.GComponent |
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.main.GComponent |
getGEntryRealConstConstraint()
Get the entry real for the constant maneuver constraint. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealErgolMass()
Get the entry real for the ergols mass. |
fr.cnes.genius.main.GComponent |
getGEntryRealImpConstraint()
Get the entry real for the impulsive constraint. |
fr.cnes.genius.main.GComponent |
getGLabelConstraints()
Get the label for the constraints section. |
fr.cnes.genius.main.GComponent |
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<CustomFuelTank> |
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 |
setEnabled(boolean b)
|
void |
setExternalDate(org.orekit.time.AbsoluteDate externalDate)
Method to set the external date used as reference date in "external" mode. |
void |
setMassProvider(org.orekit.propagation.MassProvider massProvider)
Setter for the mass provider. |
void |
setReferenceDate(org.orekit.time.AbsoluteDate date)
Set the reference date. |
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
|
void |
updateEngineCombobox(ArrayList<CustomEngine> engineList)
Update contents of comboboxes for engines with a given list of engines. |
void |
updateExternalDate(org.orekit.time.AbsoluteDate externalDate)
Update external date value. |
void |
updateTankCombobox(ArrayList<CustomFuelTank> tankList)
Update contents of comboboxes for tanks with a given list of tanks. |
void |
write()
|
| Methods inherited from class fr.cnes.genius.lowLevel.GPanel |
|---|
getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, put, setClassConstraint, setColumnConstraints, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setPreferredSize, setRowConstraints, setVerticalScroll |
| Methods inherited from class fr.cnes.genius.main.GComponent |
|---|
activateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isModified, launchInvalidPositionException, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setNameAndCommentInConfigFile, setNameInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, updateIsModifiedIndicator, 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 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 - widgetId
public GPManeuverSequence(org.orekit.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 date
public GPManeuverSequence(String widgetId,
org.orekit.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.| Method Detail |
|---|
public 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.GException
public void read()
throws fr.cnes.genius.exception.GException
read in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GException
public void write()
throws fr.cnes.genius.exception.GException
write in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GException
public void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplayfr.cnes.genius.exception.GException
public void before(fr.cnes.genius.main.GEvent e)
throws GPManeuverException
before in interface fr.cnes.genius.main.GListenerGPManeuverException
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.GExceptionpublic void updateEngineCombobox(ArrayList<CustomEngine> engineList)
engineList - list of enginespublic void updateTankCombobox(ArrayList<CustomFuelTank> tankList)
tankList - list of tanks
public 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.main.GComponent getGLabelConstraints()
public fr.cnes.genius.main.GComponent getGEntryRealImpConstraint()
public fr.cnes.genius.main.GComponent getGEntryRealConstConstraint()
public fr.cnes.genius.main.GComponent getGLabelManeuvers()
public fr.cnes.genius.main.GComponent getGComponentListManeuvers()
public fr.cnes.genius.main.GComponent getGButtonEngines()
public fr.cnes.genius.main.GComponent 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(org.orekit.time.AbsoluteDate date)
date - the reference datepublic void setExternalDate(org.orekit.time.AbsoluteDate externalDate)
externalDate - date to be set.public void updateExternalDate(org.orekit.time.AbsoluteDate externalDate)
externalDate - the new external datepublic ArrayList<CustomEngine> getEnginesList()
public ArrayList<CustomFuelTank> getTanksList()
public double getErgolMass()
public CustomManeuverSequence getPatriusObject()
throws GPManeuverException
getPatriusObject in interface GPPatrius<CustomManeuverSequence>GPManeuverException - if maneuvers are wrongly definedpublic void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterface
public 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(org.orekit.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.GComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||