|
||||||||||
| 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.GPManeuverSelector
public class GPManeuverSelector
Widget for general maneuver definition.
| Nested Class Summary | |
|---|---|
static class |
GPManeuverSelector.GPManType
Available types of maneuvers. |
| 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 | |
|---|---|
GPManeuverSelector()
Creates a new instance. |
|
GPManeuverSelector(String widgetId)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
clear()
|
GPManeuverSelector |
clone()
|
void |
display()
|
void |
generic()
|
fr.cnes.genius.highLevel.GComboBoxWithLabel |
getGComboBoxManType()
|
GPConstantManeuver |
getGPConstantManeuver()
Get continuous maneuver widget. |
GPImpulseManeuver |
getGPImpulseManeuver()
Get impulsive maneuver widget. |
String |
getManName()
Get maneuver name. |
GPManeuverSelector.GPManType |
getManType()
Get maneuver type. |
CustomManeuverInterface |
getPatriusObject()
Get custom maneuver. |
fr.cnes.genius.main.GComponent |
getSubComponent(int position)
|
boolean |
isEnabled()
|
void |
read()
|
static void |
setCount(int count)
Setter for the maneuvers count. |
void |
setDefaultManeuver(CustomManeuverInterface maneuver)
Setter for the default maneuver. |
void |
setEnabled(boolean b)
|
void |
setEnginesList(ArrayList<CustomEngine> engineList)
Update contents of comboboxes for engines with a given list of engines. |
void |
setManeuver(CustomManeuverInterface maneuver)
Setter for the maneuver. |
void |
setManName(String manName)
Set maneuver name. |
void |
setMassProvider(org.orekit.propagation.MassProvider massProvider)
Setter for the mass provider. |
void |
setSavedManeuver(CustomManeuverInterface maneuver)
Setter for the saved maneuver. |
void |
setTanksList(ArrayList<CustomFuelTank> 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 |
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, setWidth, updateIsModifiedIndicator, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GPManeuverSelector()
public GPManeuverSelector(String widgetId)
widgetId - widgetId| Method Detail |
|---|
public static void setCount(int count)
count - the maneuvers count.public fr.cnes.genius.highLevel.GComboBoxWithLabel getGComboBoxManType()
public GPImpulseManeuver getGPImpulseManeuver()
public GPConstantManeuver getGPConstantManeuver()
public void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GPanelfr.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 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.GExceptionpublic GPManeuverSelector.GPManType getManType()
public CustomManeuverInterface getPatriusObject()
throws GPManeuverException
getPatriusObject in interface GPPatrius<CustomManeuverInterface>GPManeuverException - if selected engine or fuel tank is not correctly defined
public GPManeuverSelector clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic 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 void setWidgetId(String widgetId)
setWidgetId in class fr.cnes.genius.main.GComponentpublic void setMassProvider(org.orekit.propagation.MassProvider massProvider)
massProvider - the mass providerpublic String getManName()
public void setManName(String manName)
manName - the maneuver namepublic void setEnginesList(ArrayList<CustomEngine> engineList)
engineList - list of enginespublic void setTanksList(ArrayList<CustomFuelTank> tankList)
tankList - list of tanks
public void setManeuver(CustomManeuverInterface maneuver)
throws GPManeuverException
maneuver - the maneuver
GPManeuverException - if the type if not supported of if there is any problem setting the maneuver.
public void setDefaultManeuver(CustomManeuverInterface maneuver)
throws GPManeuverException
maneuver - the maneuver
GPManeuverException - if the type if not supported of if there is any problem setting the maneuver.
public void setSavedManeuver(CustomManeuverInterface maneuver)
throws GPManeuverException
maneuver - the maneuver
GPManeuverException - if the type if not supported of if there is any problem setting the maneuver.public void setEnabled(boolean b)
setEnabled in class fr.cnes.genius.main.GComponentpublic boolean isEnabled()
isEnabled in class fr.cnes.genius.main.GComponent
public void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||