public final class GPEntryEarthFlat
extends fr.cnes.genius.highLevel.GEntryConstant
Index | Class | Item | Constraint |
0 | GLabelWithIndicator | label | 0, 0 => "newline , gapleft 20 , split 2" 0, 1 => (null) |
1 | GRealField | textField | (null) |
2 | GConstantSelector | constantSelector | "newline" (see table below) |
3 | GChoice | choiceFlattening | 3, 0, 0 =>
"newline , gapleft 0 , split 2" 3, 0, 1 => (null) 3, 1 => "split" |
4 | GEntryReal | entryRealFlatteningInverse | 4, 0, 0 =>
"newline , gapleft 20 , split 2" 4, 0, 1 => (null) 4, 1 => "gapleft 74" |
5 | GEntryString | infFieldDirect | 5, 0, 0 => "newline , gapleft 20 , split 2" 5, 0, 1 => (null) 5, 1 => (null) |
6 | GEntryString | infFieldInverse | 6, 0, 0 =>
"newline , gapleft 20 , split 2" 6, 0, 1 => (null) 6, 1 => "gapleft 74" |
Index | Class | Item | Constraint |
2, 0 | GButton | button | "split 2" |
2, 1 | GConstantSelelectorDialog | dialog | "newline , pushx , pushy , growx , growy" (see table below) |
Index | Class | Item | Constraint |
2, 1, 0 | GComboBoxWithLabel | combobox | 2, 1, 0, 0, 0 => "split 3" 2, 1, 0, 0, 1 => (null) 2, 1, 0, 1 => (null) |
2, 1, 1 | GLabel | label | "newline , split 3" |
2, 1, 2 | GLabel | valueLabel | (null) |
2, 1, 3 | GLabel | unitLabel | (null) |
2, 1, 4 | GButton | selectButton | "newline , pushx , pushy" |
2, 1, 5 | GButton | cancelButton | (null) |
Constructor and Description |
---|
GPEntryEarthFlat(String label)
Constructor.
|
GPEntryEarthFlat(String widgetId,
String label)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
after(fr.cnes.genius.main.GEvent e) |
void |
clear() |
void |
display() |
fr.cnes.genius.highLevel.GChoice |
getGChoiceFlattening()
Getter for the GChoice defining the flattening choice (direct or inverse).
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealFlatteningInverse()
Getter for the GEntryReal defining the flattening inverse of the ellipsoid.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
boolean |
isEnabled() |
void |
read() |
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget.
|
void |
setEnabled(boolean b) |
void |
setValue(double earthFlatness)
Set the value of the Earth's flatness.
|
void |
setWidgetId(String widgetId) |
getGConstantSelector, setDefaultConstraints
before, generic, getCurrentUnit, getDefaultValue, getGUnitsPopupList, getNumber, getSavedValue, getUnitsArray, getValue, isModified, setCurrentFormat, setDefaultValue, setFormatMode, setFracDigits, setSavedValue, setUnit, updateIsModifiedIndicator, updateStatus, write
addGInterval, attachCopyPasteMenu, getGField, getGInterval, getGLabelWithIndicator, getGTextField, isCopyPasteEvent, removeGInterval, setShortcut, setStringConstraint, setToolTipText, updateGInterval, updateIntervalMessage
activateConstraintsByType, 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, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setNameAndCommentInConfigFile, setNameInConfigFile, setStatus, setWidth, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem
public GPEntryEarthFlat(String label)
label
- to be shown in the widgetpublic void setWidgetId(String widgetId)
setWidgetId
in class fr.cnes.genius.highLevel.GEntryConstant
public fr.cnes.genius.highLevel.GChoice getGChoiceFlattening()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealFlatteningInverse()
public void setConstraint(int widgetGap)
setConstraint
in class fr.cnes.genius.highLevel.GEntryConstant
widgetGap
- left gap from panel border to display the sub-widgets of the widget.public void setValue(double earthFlatness) throws fr.cnes.genius.exception.GArithmeticException
setValue
in class fr.cnes.genius.highLevel.GEntryReal
earthFlatness
- to be set.fr.cnes.genius.exception.GArithmeticException
- if earthFlatness is NaNpublic void setEnabled(boolean b)
setEnabled
in class fr.cnes.genius.highLevel.GEntryConstant
public boolean isEnabled()
isEnabled
in class fr.cnes.genius.highLevel.GEntryNumberAbstract
public void clear() throws fr.cnes.genius.exception.GException
clear
in interface fr.cnes.genius.main.GClear
clear
in class fr.cnes.genius.highLevel.GEntryReal
fr.cnes.genius.exception.GException
public void display() throws fr.cnes.genius.exception.GException
display
in interface fr.cnes.genius.main.GDisplay
display
in class fr.cnes.genius.highLevel.GEntryConstant
fr.cnes.genius.exception.GException
public void after(fr.cnes.genius.main.GEvent e) throws fr.cnes.genius.exception.GException
after
in interface fr.cnes.genius.main.GListener
after
in class fr.cnes.genius.highLevel.GEntryConstant
fr.cnes.genius.exception.GException
public void read() throws fr.cnes.genius.exception.GException
read
in interface fr.cnes.genius.main.GReadWrite
read
in class fr.cnes.genius.highLevel.GEntryReal
fr.cnes.genius.exception.GException
public fr.cnes.genius.main.GComponent getSubComponent(int position) throws fr.cnes.genius.exception.GComponentException
getSubComponent
in class fr.cnes.genius.highLevel.GEntryConstant
fr.cnes.genius.exception.GComponentException
Copyright © 2018. All rights reserved.