public class WidEventsPanel extends fr.cnes.genius.lowLevel.GPanel implements fr.cnes.genius.main.GReadWrite, fr.cnes.genius.main.GClear, fr.cnes.genius.main.GListener, PsimuObject<List<fr.cnes.genopus.nonWidget.events.CustomEventDetector>>
| Modifier and Type | Class and Description |
|---|---|
static class |
WidEventsPanel.GPEventSequenceEventSelector
Event Selector class to create the events that will be in the eventComponentList.
|
| Constructor and Description |
|---|
WidEventsPanel(String widgetId,
fr.cnes.sirius.patrius.time.AbsoluteDate externalDate)
Constructor with widgetId and externalDate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
after(fr.cnes.genius.main.GEvent event) |
void |
before(fr.cnes.genius.main.GEvent event) |
void |
clear() |
void |
display() |
void |
generic() |
List<fr.cnes.genopus.nonWidget.events.CustomEventDetector> |
getPsimuObject()
Get JPSIMU object.
|
void |
read() |
void |
setEarthShape(fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid earthShape)
Set Earth Shape.
|
void |
setExternalDate(fr.cnes.sirius.patrius.time.AbsoluteDate externalDate)
Method to set the external date and the "external" mode.
|
void |
setReferenceDate(fr.cnes.sirius.patrius.time.AbsoluteDate date)
Set reference date.
|
void |
updateExternalDate(fr.cnes.sirius.patrius.time.AbsoluteDate externalDate)
Update external date value.
|
protected void |
updateStatus()
Update the global status of the widget following the status of its components.
|
void |
write() |
clearConstraint, getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getLayoutConstraints, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, processMouseWheelEvent, put, setClassConstraint, setColumnConstraints, setConstraint, setDefaultConstraints, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setMargins, setPanelConstraints, setPreferredSize, setRowConstraints, setUnitIncrement, setVerticalScroll, unputactivateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getPathInConfigFile, getSimpleWidgetId, getStatus, getStringConstraint, getSubComponent, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isEnabled, isForcedStatus, isModified, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setEnabled, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, setWindowBusyCursor, updateIsModifiedIndicator, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItempublic WidEventsPanel(String widgetId, fr.cnes.sirius.patrius.time.AbsoluteDate externalDate)
widgetId - widget identifier.externalDate - date to be initially set as reference date.public void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GPanelfr.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 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 void after(fr.cnes.genius.main.GEvent event)
throws fr.cnes.genius.exception.GException
after in interface fr.cnes.genius.main.GListenerfr.cnes.genius.exception.GExceptionpublic void before(fr.cnes.genius.main.GEvent event)
throws fr.cnes.genius.exception.GException
before in interface fr.cnes.genius.main.GListenerfr.cnes.genius.exception.GExceptionprotected final void updateStatus()
public List<fr.cnes.genopus.nonWidget.events.CustomEventDetector> getPsimuObject() throws fr.cnes.genopus.exception.GPEventException
getPsimuObject in interface PsimuObject<List<fr.cnes.genopus.nonWidget.events.CustomEventDetector>>fr.cnes.genopus.exception.GPEventExceptionpublic void setReferenceDate(fr.cnes.sirius.patrius.time.AbsoluteDate date)
throws fr.cnes.genius.exception.GArithmeticException
date - date.fr.cnes.genius.exception.GArithmeticException - if date contains NaNspublic void updateExternalDate(fr.cnes.sirius.patrius.time.AbsoluteDate externalDate)
throws fr.cnes.genius.exception.GArithmeticException
externalDate - the new external datefr.cnes.genius.exception.GArithmeticException - if externalDate contains NaNspublic void setExternalDate(fr.cnes.sirius.patrius.time.AbsoluteDate externalDate)
throws fr.cnes.genius.exception.GArithmeticException
externalDate - date to be set.fr.cnes.genius.exception.GArithmeticException - if externalDate contains NaNspublic void setEarthShape(fr.cnes.sirius.patrius.bodies.ExtendedOneAxisEllipsoid earthShape)
throws fr.cnes.genopus.exception.GPEventException,
fr.cnes.genius.exception.GArithmeticException
earthShape - Earth Shape.fr.cnes.genopus.exception.GPEventException - if frame contained in the ellipsoid is not available in the GPOneAxisEllipsoid
frame selectorfr.cnes.genius.exception.GArithmeticException - if eq. radius or flatness in ellipsoid are NaNCopyright © 2022. All rights reserved.