public class GPCelestialBody extends fr.cnes.genius.highLevel.GObjectComboBoxWithLabel<org.orekit.bodies.CelestialBody> implements GPPatrius<org.orekit.bodies.CelestialBody>
| Index | Class | Item | Constraint |
| 0 | GLabelWithIndicator | label | 0, 0 => "newline , split 2" 0, 1 => (null) |
| 1 | GComboBox | combobox | (null) |
| Constructor and Description |
|---|
GPCelestialBody(String label)
Constructor.
|
GPCelestialBody(String widgetId,
String label)
Constructor.
|
GPCelestialBody(String widgetId,
String label,
org.orekit.bodies.CelestialBody initialBody,
org.orekit.bodies.CelestialBody[] availableBodies)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.orekit.bodies.CelestialBody |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
void |
setObjectList(org.orekit.bodies.CelestialBody... bodiesToShow)
Setter for the list of celestial bodies available in the widget.
|
clear, getDefaultObject, getObject, getObjectList, getSavedObject, setDefaultObject, setDefaultObjectList, setDefaultObjectList, setDefaultValue, setDefaultValue, setDefaultValueList, setDefaultValueList, setDefaultValueList, setObject, setObjectList, setObjectList, setSavedObject, setSavedValue, setSavedValue, setValue, setValue, setValueList, setValueList, setValueListafter, attachCopyPasteMenu, before, display, generic, getDefaultValue, getDefaultValueEnum, getErrorLabelsList, getGComboBox, getGLabelWithIndicator, getSavedValue, getSavedValueEnum, getSelectedItem, getSubComponent, getValue, getValueEnum, getWarningLabelsList, isCopyPasteEvent, isEnabled, isModified, read, setEnabled, setErrorLabelsList, setStringConstraint, setTooltipsList, setToolTipText, setWarningLabelsList, setWidgetId, updateIsModifiedIndicator, writeactivateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, launchInvalidPositionException, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setNameAndCommentInConfigFile, setNameInConfigFile, setStatus, setWidth, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItempublic GPCelestialBody(String label)
label - to display on the side of the combobox.org.orekit.errors.OrekitExceptionpublic GPCelestialBody(String widgetId, String label)
widgetId - widget identifier.label - to display on the side of the combobox.org.orekit.errors.OrekitExceptionpublic GPCelestialBody(String widgetId, String label, org.orekit.bodies.CelestialBody initialBody, org.orekit.bodies.CelestialBody[] availableBodies)
widgetId - widget identifier.label - to display on the side of the combobox.initialBody - initial body to be selected. It must be a body available in the widget, otherwise it will
throw a GRuntimeException.availableBodies - list of available bodies to be present in the combobox.org.orekit.errors.OrekitExceptionpublic org.orekit.bodies.CelestialBody getPatriusObject()
throws fr.cnes.genius.exception.GException
getPatriusObject in interface GPPatrius<org.orekit.bodies.CelestialBody>fr.cnes.genius.exception.GException - if the PATRIUS object cannot be created from the widget data.public void setObjectList(org.orekit.bodies.CelestialBody... bodiesToShow)
bodiesToShow - an array of CelestialBody with the list of celestial bodies to show in the widget. If null
or empty: all bodies will be shown.Copyright © 2017. All rights reserved.