public class GPGeodeticPoint extends fr.cnes.genius.lowLevel.GContainer implements fr.cnes.genius.main.GReadWrite, fr.cnes.genius.main.GListener, fr.cnes.genius.main.GDisplay, GPPatrius<fr.cnes.sirius.patrius.bodies.LLHCoordinates>, fr.cnes.genius.main.GClear, fr.cnes.genius.main.GCondensedStatusInterface
| Index | Class | Item | Constraint |
| 0 | GLabelWithIndicator | label | 0, 0 => "newline , gapleft 0 , split 2" 0, 1 => (null) |
| 1 | GEntryReal | entryRealLatitude | 1, 0, 0 =>
"newline , gapleft 20 , split 2" 1, 0, 1 => (null) 1, 1 => "split 2" 1, 2 => (null) |
| 2 | GEntryReal | entryRealLongitude | 2, 0, 0 =>
"newline , gapleft 20 , split 2" 2, 0, 1 => (null) 2, 1 => "split 2" 2, 2 => (null) |
| 3 | GEntryReal | entryRealAltitude | 3, 0, 0 =>
"newline , gapleft 20 , split 2" 3, 0, 1 => (null) 3, 1 => "split 2" 3, 2 => (null) |
| Constructor and Description |
|---|
GPGeodeticPoint()
Empty constructor.
|
GPGeodeticPoint(String label)
Constructor without geodetic point.
|
GPGeodeticPoint(String label,
boolean withAltitude,
boolean withName)
Constructor without geodetic point.
|
GPGeodeticPoint(String label,
fr.cnes.sirius.patrius.bodies.LLHCoordinates geodeticPoint)
Constructor.
|
GPGeodeticPoint(String label,
fr.cnes.sirius.patrius.bodies.LLHCoordinates geodeticPoint,
boolean withAltitude,
boolean withName)
Constructor.
|
GPGeodeticPoint(String widgetId,
String label)
Constructor.
|
GPGeodeticPoint(String widgetId,
String label,
boolean withAltitude,
boolean withName)
Constructor.
|
GPGeodeticPoint(String widgetId,
String label,
fr.cnes.sirius.patrius.bodies.LLHCoordinates geodeticPoint)
Constructor.
|
GPGeodeticPoint(String widgetId,
String label,
fr.cnes.sirius.patrius.bodies.LLHCoordinates geodeticPoint,
boolean withAltitude,
boolean withName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
after(fr.cnes.genius.main.GEvent e) |
void |
attachCopyPasteMenu(String label,
fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList) |
void |
before(fr.cnes.genius.main.GEvent e) |
void |
clear() |
void |
display() |
void |
generic() |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealAltitude()
Getter for the GEntryReal defining the altitude of the geodetic point.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealLatitude()
Getter for the GEntryReal defining the latitude of the geodetic point.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealLongitude()
Getter for the GEntryReal defining the longitude of the geodetic point.
|
fr.cnes.genius.highLevel.GEntryString |
getGEntryStringName()
Getter for the GEntryString defining the name of the geodetic point.
|
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the GLabel of the widget.
|
fr.cnes.sirius.patrius.bodies.LLHCoordinates |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
boolean |
isEnabled() |
boolean |
isModified() |
void |
read() |
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget.
|
void |
setDefaultConstraints()
Setter for the default constraint of the widget.
|
void |
setDefaultGeodeticPoint(fr.cnes.sirius.patrius.bodies.EllipsoidPoint defaultPoint)
Set the default geodetic point starting from an ellipsoid point.
|
void |
setDefaultGeodeticPoint(fr.cnes.sirius.patrius.bodies.LLHCoordinates defaultGeodeticPoint)
Setter for the default geodetic point.
|
void |
setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
Controls the display of the isModified indicator of all sub-widgets.
|
void |
setDisplayLabel(boolean b)
Setter for label display.
|
void |
setEnabled(boolean b) |
void |
setGeodeticPoint(fr.cnes.sirius.patrius.bodies.EllipsoidPoint point)
Set the geodetic point starting from an ellipsoid point.
|
void |
setGeodeticPoint(fr.cnes.sirius.patrius.bodies.LLHCoordinates geodeticPoint)
Setter for the geodetic point.
|
void |
setSavedGeodeticPoint(fr.cnes.sirius.patrius.bodies.EllipsoidPoint point)
Setter for the saved geodetic point.
|
void |
setSavedGeodeticPoint(fr.cnes.sirius.patrius.bodies.LLHCoordinates savedGeodeticPoint)
Setter for the reference geodetic point.
|
void |
setWidgetId(String widgetId) |
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
protected void |
updateIsModifiedIndicator() |
void |
updateStatus()
Update the status of the widget.
|
void |
write() |
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, isCopyPasteEvent, isForcedStatus, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, processMouseWheelEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidth, setWindowBusyCursor, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItempublic GPGeodeticPoint(String label, boolean withAltitude, boolean withName)
label - text to display in the label.withAltitude - boolean to specify if the altitude can be explicitly defined (zero
otherwise).withName - boolean to specify if the name can be explicitly defined ("" otherwise).public GPGeodeticPoint()
public GPGeodeticPoint(String label)
label - text to display in the label.public GPGeodeticPoint(String label, fr.cnes.sirius.patrius.bodies.LLHCoordinates geodeticPoint, boolean withAltitude, boolean withName)
label - text to display in the label.geodeticPoint - default geodetic point to set in the widget.withAltitude - boolean to specify if the altitude can be explicitly defined (zero
otherwise).withName - boolean to specify if the name can be explicitly defined ("" otherwise).public GPGeodeticPoint(String label, fr.cnes.sirius.patrius.bodies.LLHCoordinates geodeticPoint)
label - text to display in the label.geodeticPoint - default geodetic point to set in the widget.public GPGeodeticPoint(String widgetId, String label, boolean withAltitude, boolean withName)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.withAltitude - boolean to specify if the altitude can be explicitly defined (zero
otherwise).withName - boolean to specify if the name can be explicitly defined ("" otherwise).public GPGeodeticPoint(String widgetId, String label)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.public GPGeodeticPoint(String widgetId, String label, fr.cnes.sirius.patrius.bodies.LLHCoordinates geodeticPoint, boolean withAltitude, boolean withName)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.geodeticPoint - default geodetic point to set in the widget.withAltitude - boolean to specify if the altitude can be explicitly defined (zero
otherwise).withName - boolean to specify if the name can be explicitly defined ("" otherwise).public GPGeodeticPoint(String widgetId, String label, fr.cnes.sirius.patrius.bodies.LLHCoordinates geodeticPoint)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.geodeticPoint - default geodetic point to set in the widget.public final void setWidgetId(String widgetId)
setWidgetId in class fr.cnes.genius.main.GComponentpublic fr.cnes.genius.highLevel.GLabelWithIndicator getGLabel()
public fr.cnes.genius.highLevel.GEntryString getGEntryStringName()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealLatitude()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealLongitude()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealAltitude()
public final void setDefaultConstraints()
setDefaultConstraints in class fr.cnes.genius.main.GComponentpublic void setConstraint(int widgetGap)
widgetGap - left gap from panel border to display the label of the widget.public fr.cnes.sirius.patrius.bodies.LLHCoordinates getPatriusObject()
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.bodies.LLHCoordinates>public void setGeodeticPoint(fr.cnes.sirius.patrius.bodies.LLHCoordinates geodeticPoint)
throws fr.cnes.genius.exception.GArithmeticException
geodeticPoint - geodetic point to set.fr.cnes.genius.exception.GArithmeticException - if latitude, longitude or altitude in the geodeticPoint are NaN.public void setGeodeticPoint(fr.cnes.sirius.patrius.bodies.EllipsoidPoint point)
throws fr.cnes.genius.exception.GArithmeticException
point - the point on the surfacefr.cnes.genius.exception.GArithmeticException - if problems when setting the values of the coordinatespublic void setDefaultGeodeticPoint(fr.cnes.sirius.patrius.bodies.LLHCoordinates defaultGeodeticPoint)
throws fr.cnes.genius.exception.GArithmeticException
defaultGeodeticPoint - default geodetic point to set.fr.cnes.genius.exception.GArithmeticException - if latitude, longitude or altitude in the geodeticPoint are NaN.public void setDefaultGeodeticPoint(fr.cnes.sirius.patrius.bodies.EllipsoidPoint defaultPoint)
throws fr.cnes.genius.exception.GArithmeticException
defaultPoint - the default point to be usedfr.cnes.genius.exception.GArithmeticException - if problems when setting the values of the coordinatespublic void setSavedGeodeticPoint(fr.cnes.sirius.patrius.bodies.LLHCoordinates savedGeodeticPoint)
throws fr.cnes.genius.exception.GArithmeticException
savedGeodeticPoint - reference geodetic point to set.fr.cnes.genius.exception.GArithmeticException - if latitude, longitude or altitude in the geodeticPoint are NaN.public void setSavedGeodeticPoint(fr.cnes.sirius.patrius.bodies.EllipsoidPoint point)
throws fr.cnes.genius.exception.GArithmeticException
point - the body point to be usedfr.cnes.genius.exception.GArithmeticException - if problems when setting the values of the coordinatespublic void attachCopyPasteMenu(String label, fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu in class fr.cnes.genius.main.GComponentpublic final void updateStatus()
protected final void updateIsModifiedIndicator()
updateIsModifiedIndicator in class fr.cnes.genius.main.GComponentpublic boolean isEnabled()
isEnabled in class fr.cnes.genius.main.GComponentpublic void setEnabled(boolean b)
setEnabled in class fr.cnes.genius.main.GComponentpublic boolean isModified()
isModified in class fr.cnes.genius.main.GComponentpublic void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GContainerfr.cnes.genius.exception.GExceptionpublic void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplayfr.cnes.genius.exception.GExceptionpublic void before(fr.cnes.genius.main.GEvent e)
before in interface fr.cnes.genius.main.GListenerpublic void after(fr.cnes.genius.main.GEvent e)
throws fr.cnes.genius.exception.GFileManipulatorException
after in interface fr.cnes.genius.main.GListenerfr.cnes.genius.exception.GFileManipulatorExceptionpublic void read()
throws fr.cnes.genius.exception.GException
read in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GExceptionpublic void write()
throws fr.cnes.genius.exception.GException
write in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GExceptionpublic void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GExceptionpublic 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 updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfacepublic void setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
displayIndicatorStatus - if Always the modifiedStatusIndicator is always shown, if Never
the modifiedStatusIndicator is never shown, if Automatic the modifiedStatusIndicator
is shown as needed.public void setDisplayLabel(boolean b)
b - boolean to setCopyright © 2025. All rights reserved.