public class GPGroundStation 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.groundstation.GeometricStationAntenna>, fr.cnes.genius.main.GClear, fr.cnes.genius.main.GCondensedStatusInterface
GeometricStationAntenna
.Constructor and Description |
---|
GPGroundStation()
Default constructor.
|
GPGroundStation(fr.cnes.sirius.patrius.groundstation.GeometricStationAntenna station)
Constructor.
|
GPGroundStation(String widgetId)
Constructor.
|
GPGroundStation(String widgetId,
fr.cnes.sirius.patrius.groundstation.GeometricStationAntenna station)
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.GChoice |
getCartesianGeodetic()
Getter for the cartesian/geodetic choice.
|
GPOneAxisEllipsoid |
getEllipsoid()
Getter for the ellipsoid.
|
GPGeodeticPoint |
getGeodeticPoint()
Getter for the geodetic point.
|
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the label of the widget.
|
fr.cnes.genius.highLevel.GEntryReal |
getHalfAperture()
Getter for the half-aperture.
|
fr.cnes.sirius.patrius.groundstation.GeometricStationAntenna |
getPatriusObject()
Getter for the
GeometricStationAntenna defined in the widget. |
fr.cnes.genius.highLevel.GEntryString |
getStationName()
Getter for the name of the station.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
fr.cnes.genius.highLevel.GEntryReal |
getX()
Getter for the x cartesian coordinate.
|
fr.cnes.genius.highLevel.GEntryReal |
getY()
Getter for the y cartesian coordinate.
|
fr.cnes.genius.highLevel.GEntryReal |
getZ()
Getter for the z cartesian coordinate.
|
boolean |
isEnabled() |
boolean |
isModified() |
void |
read() |
void |
setDefaultConstraints()
Setter for the constraints of the widget.
|
void |
setDefaultGroundStation(fr.cnes.sirius.patrius.groundstation.GeometricStationAntenna station)
Setter for the default ground station.
|
void |
setEllipsoidCheckBoxEnabled(boolean b)
Set the enable status of the ellipsoid check box
|
void |
setEnabled(boolean b) |
void |
setGroundStation(fr.cnes.sirius.patrius.groundstation.GeometricStationAntenna station)
Setter for the ground station.
|
void |
setName(String stationName)
Sets the ground station name.
|
void |
setSavedGroundStation(fr.cnes.sirius.patrius.groundstation.GeometricStationAntenna station)
Setter for the saved ground station.
|
void |
setWidgetId(String widgetId) |
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
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, writeConfigItem
public GPGroundStation() throws GPFrameException, fr.cnes.genius.exception.GArithmeticException
GPFrameException
- thrown if eq. radius or flatening in ellipsoid are NaNfr.cnes.genius.exception.GArithmeticException
- if some values are NaNpublic GPGroundStation(String widgetId, fr.cnes.sirius.patrius.groundstation.GeometricStationAntenna station) throws GPFrameException, fr.cnes.genius.exception.GArithmeticException
widgetId
- widget identifier, if null an identifier will be automatically createdstation
- station. Only CircularField
with [0, 0, 1] direction are accepted.GPFrameException
- thrown if eq. radius or flatening in ellipsoid are NaNfr.cnes.genius.exception.GArithmeticException
- if some values are NaNpublic GPGroundStation(fr.cnes.sirius.patrius.groundstation.GeometricStationAntenna station) throws GPFrameException, fr.cnes.genius.exception.GArithmeticException
station
- station. Only CircularField
with [0, 0, 1] direction are accepted.GPFrameException
- thrown if eq. radius or flatening in ellipsoid are NaNfr.cnes.genius.exception.GArithmeticException
- if some values are NaNpublic GPGroundStation(String widgetId) throws GPFrameException, fr.cnes.genius.exception.GArithmeticException
widgetId
- widget identifier, if null an identifier will be automatically createdGPFrameException
- thrown if eq. radius or flatening in ellipsoid are NaNfr.cnes.genius.exception.GArithmeticException
- if some values are NaNpublic final void setWidgetId(String widgetId)
setWidgetId
in class fr.cnes.genius.main.GComponent
public fr.cnes.genius.highLevel.GLabelWithIndicator getGLabel()
public fr.cnes.genius.highLevel.GEntryString getStationName()
public fr.cnes.genius.highLevel.GChoice getCartesianGeodetic()
public GPGeodeticPoint getGeodeticPoint()
public GPOneAxisEllipsoid getEllipsoid()
public fr.cnes.genius.highLevel.GEntryReal getX()
public fr.cnes.genius.highLevel.GEntryReal getY()
public fr.cnes.genius.highLevel.GEntryReal getZ()
public fr.cnes.genius.highLevel.GEntryReal getHalfAperture()
public final void setDefaultConstraints()
setDefaultConstraints
in class fr.cnes.genius.main.GComponent
public fr.cnes.sirius.patrius.groundstation.GeometricStationAntenna getPatriusObject() throws GPFrameException, fr.cnes.sirius.patrius.utils.exception.PatriusException
GeometricStationAntenna
defined in the widget.getPatriusObject
in interface GPPatrius<fr.cnes.sirius.patrius.groundstation.GeometricStationAntenna>
GPFrameException
- thrown if EOP data is not initializedfr.cnes.sirius.patrius.utils.exception.PatriusException
- thrown if some frame conversion failedpublic final void setGroundStation(fr.cnes.sirius.patrius.groundstation.GeometricStationAntenna station) throws fr.cnes.genius.exception.GArithmeticException, GPFrameException
station
- ground station to set. Only CircularField
with [0, 0, 1] direction
are accepted.fr.cnes.genius.exception.GArithmeticException
- thrown if eq. radius or flatness in ellipsoid are NaNGPFrameException
- thrown if the given frame is not available in the widgetpublic final void setDefaultGroundStation(fr.cnes.sirius.patrius.groundstation.GeometricStationAntenna station) throws fr.cnes.genius.exception.GArithmeticException, GPFrameException
station
- ground station to set. Only CircularField
with [0, 0, 1] direction
are accepted.fr.cnes.genius.exception.GArithmeticException
- thrown if eq. radius or flatness in ellipsoid are NaNGPFrameException
- thrown if the given frame is not available in the widgetpublic final void setSavedGroundStation(fr.cnes.sirius.patrius.groundstation.GeometricStationAntenna station) throws fr.cnes.genius.exception.GArithmeticException, GPFrameException
station
- ground station to set. Only CircularField
with [0, 0, 1] direction
are accepted.fr.cnes.genius.exception.GArithmeticException
- thrown if eq. radius or flatness in ellipsoid are NaNGPFrameException
- thrown if the given frame is not available in the widgetpublic void attachCopyPasteMenu(String label, fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu
in class fr.cnes.genius.main.GComponent
public final void updateStatus()
public void updateIsModifiedIndicator()
updateIsModifiedIndicator
in class fr.cnes.genius.main.GComponent
public boolean isEnabled()
isEnabled
in class fr.cnes.genius.main.GComponent
public void setEnabled(boolean b)
setEnabled
in class fr.cnes.genius.main.GComponent
public void setEllipsoidCheckBoxEnabled(boolean b)
b
- new enable status of ellipsoid check boxpublic boolean isModified()
isModified
in class fr.cnes.genius.main.GComponent
public void generic() throws fr.cnes.genius.exception.GException
generic
in class fr.cnes.genius.lowLevel.GContainer
fr.cnes.genius.exception.GException
public void display() throws fr.cnes.genius.exception.GException
display
in interface fr.cnes.genius.main.GDisplay
fr.cnes.genius.exception.GException
public void read() throws fr.cnes.genius.exception.GException
read
in interface fr.cnes.genius.main.GReadWrite
fr.cnes.genius.exception.GException
public void write() throws fr.cnes.genius.exception.GException
write
in interface fr.cnes.genius.main.GReadWrite
fr.cnes.genius.exception.GException
public void clear() throws fr.cnes.genius.exception.GException
clear
in interface fr.cnes.genius.main.GClear
fr.cnes.genius.exception.GException
public void before(fr.cnes.genius.main.GEvent e)
before
in interface fr.cnes.genius.main.GListener
public void after(fr.cnes.genius.main.GEvent e) throws fr.cnes.genius.exception.GFileManipulatorException, GPFrameException, fr.cnes.genius.exception.GArithmeticException
after
in interface fr.cnes.genius.main.GListener
GPFrameException
- thrown if cartesian coordinates computation failedfr.cnes.genius.exception.GArithmeticException
- thrown if cartesian coordinates computation failedfr.cnes.genius.exception.GFileManipulatorException
public fr.cnes.genius.main.GComponent getSubComponent(int position) throws fr.cnes.genius.exception.GComponentException
getSubComponent
in class fr.cnes.genius.main.GComponent
fr.cnes.genius.exception.GComponentException
public void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus
in interface fr.cnes.genius.main.GCondensedStatusInterface
public void setName(String stationName)
stationName
- the ground station nameCopyright © 2024. All rights reserved.