fr.cnes.genopus.constantSelectors
Class GPCelestialBodySelector

java.lang.Object
  extended by fr.cnes.genius.main.GComponent
      extended by fr.cnes.genius.lowLevel.GContainer
          extended by fr.cnes.genius.highLevel.GObjectSelector<org.orekit.bodies.CelestialBody>
              extended by fr.cnes.genopus.constantSelectors.GPCelestialBodySelector
All Implemented Interfaces:
fr.cnes.genius.main.GDisplay, fr.cnes.genius.main.GListener

public class GPCelestialBodySelector
extends fr.cnes.genius.highLevel.GObjectSelector<org.orekit.bodies.CelestialBody>

Class implementing a GButton and a GDialog allowing the selection of the Earth's equatorial radius constant.

Author:
ffsm
Default Constraint(s):
IndexClassItemConstraint
0GButtonbutton"newline"
1GObjectSelelectorDialogdialog"newline , pushx , pushy , growx , growy"
(see table below)

Default Constraint(s) for dialog:
IndexClassItemConstraint
1, 0GObjectComboBoxWithLabelcombobox1, 0, 0, 0 => "split 3"
1, 0, 0, 1 => (null)
1, 0, 1 => (null)
1, 1GLabellabel"newline , split 3"
1, 2GLabelobjectLabel(null)
1, 3GLabelunitLabel(null)
1, 4GButtonselectButton"newline , pushx , pushy"
1, 5GButtoncancelButton(null)


Nested Class Summary
 
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
GPCelestialBodySelector()
          Constructor.
GPCelestialBodySelector(String widgetId)
          Constructor.
 
Method Summary
protected  String getObjectValue(int comboboxValue)
          
 
Methods inherited from class fr.cnes.genius.highLevel.GObjectSelector
after, before, display, generic, getConstraint, getObject, getSubComponent, isEnabled, setConstraint, setDialogTooltip, setEnabled, setStringConstraint, setToolTipText
 
Methods inherited from class fr.cnes.genius.lowLevel.GContainer
put
 
Methods inherited from class fr.cnes.genius.main.GComponent
activateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isModified, launchInvalidPositionException, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setNameAndCommentInConfigFile, setNameInConfigFile, setStatus, 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

GPCelestialBodySelector

public GPCelestialBodySelector()
Constructor. The widget identifier is created automatically.

Throws:
org.orekit.errors.OrekitException

GPCelestialBodySelector

public GPCelestialBodySelector(String widgetId)
Constructor.

Parameters:
widgetId - widget identifier.
Throws:
org.orekit.errors.OrekitException
Method Detail

getObjectValue

protected String getObjectValue(int comboboxValue)

Specified by:
getObjectValue in class fr.cnes.genius.highLevel.GObjectSelector<org.orekit.bodies.CelestialBody>


Copyright © 2017. All rights reserved.