public class GPCelestialBody extends fr.cnes.genius.highLevel.GObjectComboBoxWithLabel<fr.cnes.sirius.patrius.bodies.CelestialBody> implements GPPatrius<fr.cnes.sirius.patrius.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()
Empty constructor.
|
GPCelestialBody(String label)
Constructor.
|
GPCelestialBody(String widgetId,
String label)
Constructor.
|
GPCelestialBody(String widgetId,
String label,
fr.cnes.sirius.patrius.bodies.CelestialBody initialBody,
fr.cnes.sirius.patrius.bodies.CelestialBody[] availableBodies)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
fr.cnes.sirius.patrius.bodies.CelestialBody |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
void |
setObjectList(fr.cnes.sirius.patrius.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, updateStatus, writeactivateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getPathInConfigFile, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isForcedStatus, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, processMouseWheelEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDefaultConstraints, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setWidth, setWindowBusyCursor, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItempublic GPCelestialBody()
fr.cnes.sirius.patrius.utils.exception.PatriusExceptionpublic GPCelestialBody(String label)
label - to display on the side of the combobox.fr.cnes.sirius.patrius.utils.exception.PatriusExceptionpublic GPCelestialBody(String widgetId, String label)
widgetId - widget identifier.label - to display on the side of the combobox.fr.cnes.sirius.patrius.utils.exception.PatriusExceptionpublic GPCelestialBody(String widgetId, String label, fr.cnes.sirius.patrius.bodies.CelestialBody initialBody, fr.cnes.sirius.patrius.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.fr.cnes.sirius.patrius.utils.exception.PatriusExceptionpublic fr.cnes.sirius.patrius.bodies.CelestialBody getPatriusObject()
throws fr.cnes.genius.exception.GException
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.bodies.CelestialBody>fr.cnes.genius.exception.GException - if the PATRIUS object cannot be created from the widget datapublic void setObjectList(fr.cnes.sirius.patrius.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 © 2025. All rights reserved.