public abstract class GPTriggeredEventDetectorAbstract extends GPEventDetectorAbstract
ACTION, DETECTOR_ERROR| Constructor and Description |
|---|
GPTriggeredEventDetectorAbstract(String widgetId,
String label,
org.orekit.propagation.events.EventDetector.Action... actionsToShow)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
after(fr.cnes.genius.main.GEvent e) |
void |
display() |
void |
generic() |
fr.cnes.genius.highLevel.GEntryInt |
getGEntryIntTriggerAt()
Getter for the GEntryInt at occurrence.
|
fr.cnes.genius.highLevel.GEntryInt |
getGEntryIntTriggerFrom()
Getter for the GEntryInt from occurrence.
|
fr.cnes.genius.highLevel.GEntryInt |
getGEntryIntTriggerStep()
Getter for the GEntryInt occurrence step.
|
fr.cnes.genius.highLevel.GEntryInt |
getGEntryIntTriggerTo()
Getter for the GEntryInt to occurrence.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
protected int |
getTriggerFrom()
Getter for the trigger at/from.
|
protected Integer |
getTriggerStep()
Getter for the trigger step.
|
protected Integer |
getTriggerTo()
Getter for the trigger to.
|
boolean |
isModified() |
protected void |
setAbstractClassDefaultValue(CustomEventDetector customDetector)
Set default values for the abstract class sub-widgets from a given custom detector:
- the entry int for the triggerer. |
protected void |
setAbstractClassSavedValue(CustomEventDetector customDetector)
Set saved values for the abstract class sub-widgets from a given custom detector:
- the entry int for the triggerer. |
protected void |
setAbstractClassValue(CustomEventDetector customDetector)
Set default values for the abstract class sub-widgets from a given custom detector:
- the entry int for the triggerer. |
void |
setConstraint(int labelGap,
int subWidgetGap)
Setter for the constraints of the Event Detector widget.
|
void |
setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
Controls the display of the isModified indicator of all sub-widgets.
|
void |
setEnabled(boolean b) |
void |
setWidgetId(String widgetId) |
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
attachCopyPasteMenu, clear, getAvailableActions, getGCheckBoxExpertConfig, getGComboBoxAction, getGEntryRealMaxCheck, getGEntryRealThreshold, getGLabel, getPatriusObject, getSelectedAction, getXMLTag, initMaxCheckAndThresholdGEntryReals, isEnabled, isNativeEventDetector, read, setAvailableActions, setDefaultConstraint, setDefaultEventDetector, setDisplayExpertConfig, setEventDetector, setSavedEventDetector, updateIsModifiedIndicator, updateStatus, writeactivateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, launchInvalidPositionException, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setNameAndCommentInConfigFile, setNameInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidth, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItempublic GPTriggeredEventDetectorAbstract(String widgetId, String label, org.orekit.propagation.events.EventDetector.Action... actionsToShow)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.actionsToShow - list of actions to show in the widget. If null or empty all actions will be available.public void setWidgetId(String widgetId)
setWidgetId in class GPEventDetectorAbstractpublic fr.cnes.genius.highLevel.GEntryInt getGEntryIntTriggerAt()
public fr.cnes.genius.highLevel.GEntryInt getGEntryIntTriggerFrom()
public fr.cnes.genius.highLevel.GEntryInt getGEntryIntTriggerStep()
public fr.cnes.genius.highLevel.GEntryInt getGEntryIntTriggerTo()
protected int getTriggerFrom()
protected Integer getTriggerStep()
protected Integer getTriggerTo()
public void setConstraint(int labelGap,
int subWidgetGap)
setConstraint in class GPEventDetectorAbstractlabelGap - left gap from panel border to display the label of the event.subWidgetGap - left gap from panel border to display the sub-widgets of the event.public void setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
setDisplayIsModifiedIndicatorAll in class GPEventDetectorAbstractdisplayIndicatorStatus - if Always the modifiedStatusIndicator is always shown, if Never the modifiedStatusIndicator
is always shown, if Automatic the modifiedStatusIndicator is shown as needed.public void setEnabled(boolean b)
setEnabled in class GPEventDetectorAbstractpublic boolean isModified()
isModified in class GPEventDetectorAbstractpublic void generic()
throws fr.cnes.genius.exception.GException
generic in class GPEventDetectorAbstractfr.cnes.genius.exception.GExceptionpublic void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplaydisplay in class GPEventDetectorAbstractfr.cnes.genius.exception.GExceptionpublic void after(fr.cnes.genius.main.GEvent e)
throws GPEventException
after in interface fr.cnes.genius.main.GListenerafter in class GPEventDetectorAbstractGPEventExceptionprotected void setAbstractClassValue(CustomEventDetector customDetector) throws fr.cnes.genius.exception.GArithmeticException, GPEventException
setAbstractClassValue in class GPEventDetectorAbstractcustomDetector - the custom detector where to extract the values to be set as default ones in the sub-widgetsfr.cnes.genius.exception.GArithmeticException - if max check interval or threshold in customDetector are Nan.GPEventException - If action is not available.protected void setAbstractClassDefaultValue(CustomEventDetector customDetector) throws fr.cnes.genius.exception.GArithmeticException, GPEventException
setAbstractClassDefaultValue in class GPEventDetectorAbstractcustomDetector - the custom detector where to extract the values to be set as default ones in the sub-widgetsfr.cnes.genius.exception.GArithmeticException - if max check interval or threshold in customDetector are Nan.GPEventException - If action is not available.protected void setAbstractClassSavedValue(CustomEventDetector customDetector) throws fr.cnes.genius.exception.GArithmeticException, GPEventException
setAbstractClassSavedValue in class GPEventDetectorAbstractcustomDetector - the custom detector where to extract the values to be set as saved ones in the sub-widgetsfr.cnes.genius.exception.GArithmeticException - if max check interval or threshold in customDetector are Nan.GPEventException - If action is not available.public fr.cnes.genius.main.GComponent getSubComponent(int position)
throws fr.cnes.genius.exception.GComponentException
getSubComponent in class GPEventDetectorAbstractfr.cnes.genius.exception.GComponentExceptionpublic void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfaceupdateCondensedStatus in class GPEventDetectorAbstractCopyright © 2017. All rights reserved.