|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.genius.main.GComponent
fr.cnes.genius.lowLevel.GContainer
fr.cnes.genopus.events.GPEventDetectorAbstract
fr.cnes.genopus.events.GPTriggeredEventDetectorAbstract
public abstract class GPTriggeredEventDetectorAbstract
Abstract class defining the default methods to be implemented by any class defining an CustomEventDetector widget that can be triggered after a given number of ocurrences.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class fr.cnes.genius.main.GComponent |
|---|
fr.cnes.genius.main.GComponent.CopyPasteOperation, fr.cnes.genius.main.GComponent.DisplayIndicatorStatus, fr.cnes.genius.main.GComponent.ItemType, fr.cnes.genius.main.GComponent.Operation |
| Field Summary |
|---|
| Fields inherited from class fr.cnes.genopus.events.GPEventDetectorAbstract |
|---|
ACTION, DETECTOR_ERROR |
| Fields inherited from class fr.cnes.genius.main.GComponent |
|---|
NAME_ATTRIBUTE |
| Constructor Summary | |
|---|---|
GPTriggeredEventDetectorAbstract(String widgetId,
String label)
Constructor. |
|
| Method Summary | |
|---|---|
void |
after(fr.cnes.genius.main.GEvent e)
|
void |
display()
|
void |
generic()
|
fr.cnes.genius.highLevel.GEntryInt |
getGEntryIntTriggerCount()
Getter for the GEntryInt defining the count at wich the event must be triggered. |
fr.cnes.genius.main.GComponent |
getSubComponent(int position)
|
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)
|
| Methods inherited from class fr.cnes.genopus.events.GPEventDetectorAbstract |
|---|
attachCopyPasteMenu, blockAction, clear, getGCheckBoxExpertConfig, getGComboBoxAction, getGEntryRealMaxCheck, getGEntryRealThreshold, getGLabel, getPatriusObject, getSelectedAction, getXMLTag, isEnabled, isNativeEventDetector, read, setDefaultConstraint, setDefaultEventDetector, setDisplayAction, setDisplayExpertConfig, setEventDetector, setSavedEventDetector, updateIsModifiedIndicator, updateStatus, write |
| Methods inherited from class fr.cnes.genius.lowLevel.GContainer |
|---|
put |
| Methods inherited from class fr.cnes.genius.main.GComponent |
|---|
activateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, 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, writeConfigItem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fr.cnes.genius.main.GListener |
|---|
before |
| Constructor Detail |
|---|
public GPTriggeredEventDetectorAbstract(String widgetId,
String label)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.| Method Detail |
|---|
public void setWidgetId(String widgetId)
setWidgetId in class GPEventDetectorAbstractpublic fr.cnes.genius.highLevel.GEntryInt getGEntryIntTriggerCount()
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 GPEventDetectorAbstract
public void generic()
throws fr.cnes.genius.exception.GException
generic in class GPEventDetectorAbstractfr.cnes.genius.exception.GException
public void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplaydisplay in class GPEventDetectorAbstractfr.cnes.genius.exception.GException
public 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)
setAbstractClassValue in class GPEventDetectorAbstractcustomDetector - the custom detector where to extract the values to be set as default ones in the sub-widgetsprotected void setAbstractClassDefaultValue(CustomEventDetector customDetector)
setAbstractClassDefaultValue in class GPEventDetectorAbstractcustomDetector - the custom detector where to extract the values to be set as default ones in the sub-widgetsprotected void setAbstractClassSavedValue(CustomEventDetector customDetector)
setAbstractClassSavedValue in class GPEventDetectorAbstractcustomDetector - the custom detector where to extract the values to be set as saved ones in the sub-widgets
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 GPEventDetectorAbstract
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||