|
||||||||||
| 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.time.GPDualAbsoluteDate
public class GPDualAbsoluteDate
Class defining a Dual date widget containing a reference date and an external date.
| Index | Class | Item | Constraint |
| 0 | GLabelWithIndicator | label | 0, 0 => "newline , gapleft 0 , split 2" 0, 1 => "wmin 68" |
| 1 | GChoice | typeDateChoice | 1, 0, 0 =>
"newline , gapleft 20 , split 2" 1, 0, 1 => (null) 1, 1 => "split" |
| 2 | GPAbsoluteDate | referenceAbsoluteDate | "newline" (see table below) |
| 3 | GPAbsoluteDate | externalAbsoluteDate | "newline" (see table below) |
| Index | Class | Item | Constraint |
| 2, 0 | GLabelWithIndicator | label | 2, 0, 0 =>
"newline , gapleft 20 , split 2" 2, 0, 1 => (null) |
| 2, 1 | GPDateField | dateField | (null) |
| 2, 2 | GPopupListWithLabel | popupListTimeScales | 2, 2, 0, 0 => "split 4" 2, 2, 0, 1 => (null) 2, 2, 1 => (null) |
| 2, 3 | GButton | buttonRelativeDate | (null) |
| Index | Class | Item | Constraint |
| 3, 0 | GLabelWithIndicator | label | 3, 0, 0 =>
"newline , gapleft 20 , split 2" 3, 0, 1 => (null) |
| 3, 1 | GPDateField | dateField | (null) |
| 3, 2 | GPopupListWithLabel | popupListTimeScales | 3, 2, 0, 0 => "split 4" 3, 2, 0, 1 => (null) 3, 2, 1 => (null) |
| 3, 3 | GButton | buttonRelativeDate | (null) |
| 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.genius.main.GComponent |
|---|
NAME_ATTRIBUTE |
| Constructor Summary | |
|---|---|
GPDualAbsoluteDate(String label)
Constructor without geodetic point. |
|
GPDualAbsoluteDate(String label,
org.orekit.time.AbsoluteDate externalDate)
Constructor just with externalDate. |
|
GPDualAbsoluteDate(String label,
org.orekit.time.AbsoluteDate referenceDate,
org.orekit.time.AbsoluteDate externalDate)
Constructor just with externalDate. |
|
GPDualAbsoluteDate(String widgetId,
String label)
Constructor just with widgetId. |
|
GPDualAbsoluteDate(String widgetId,
String label,
org.orekit.time.AbsoluteDate externalDate)
|
|
GPDualAbsoluteDate(String widgetId,
String label,
org.orekit.time.AbsoluteDate referenceDate,
org.orekit.time.AbsoluteDate externalDate)
|
|
| Method Summary | |
|---|---|
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 |
getGChoiceDateType()
Get Type Date Choice. |
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Get Reference Date Label. |
GPAbsoluteDate |
getGPAbsoluteDateExternal()
Get External date. |
GPAbsoluteDate |
getGPAbsoluteDateReference()
Get Reference date. |
org.orekit.time.AbsoluteDate |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget. |
fr.cnes.genius.main.GComponent |
getSubComponent(int position)
|
org.orekit.time.TimeScale |
getTimeScale()
Get Reference Time Scale. |
boolean |
isEnabled()
|
boolean |
isModified()
|
void |
read()
|
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget. |
void |
setDefaultExternalDate(org.orekit.time.AbsoluteDate date)
Setter for the default external date and the "external" mode by default. |
void |
setDefaultRefDate(org.orekit.time.AbsoluteDate date)
Setter for the default reference date and the "custom" mode by default. |
void |
setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
Controls the display of the isModified indicator of all sub-widgets. |
void |
setEnabled(boolean b)
Enable/Disable reference date. |
void |
setExternalDate(org.orekit.time.AbsoluteDate externalDate)
Method to set the external date and the "external" mode. |
void |
setRefDate(org.orekit.time.AbsoluteDate date)
Method to set the reference date and the "custom" mode. |
void |
setSavedExternalDate(org.orekit.time.AbsoluteDate date)
Setter for the saved reference date and the "external" mode as saved. |
void |
setSavedRefDate(org.orekit.time.AbsoluteDate date)
Setter for the saved reference date and the "custom" mode as saved. |
void |
setWidgetId(String widgetId)
|
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
|
void |
updateExternalDate(org.orekit.time.AbsoluteDate externalDate)
Method to update the external date (also its saved and default value). |
protected void |
updateIsModifiedIndicator()
|
void |
updateStatus()
Update the status of the widget. |
void |
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 |
| Constructor Detail |
|---|
public GPDualAbsoluteDate(String label)
label - text to display in the label.
public GPDualAbsoluteDate(String widgetId,
String label)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.
public GPDualAbsoluteDate(String label,
org.orekit.time.AbsoluteDate externalDate)
label - text to display in the label.externalDate - date to be initially set as reference date.
public GPDualAbsoluteDate(String label,
org.orekit.time.AbsoluteDate referenceDate,
org.orekit.time.AbsoluteDate externalDate)
label - text to display in the label.referenceDate - date to show.externalDate - date to be initially set as reference date.
public GPDualAbsoluteDate(String widgetId,
String label,
org.orekit.time.AbsoluteDate externalDate)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.externalDate - date to be initially set as reference date.
public GPDualAbsoluteDate(String widgetId,
String label,
org.orekit.time.AbsoluteDate referenceDate,
org.orekit.time.AbsoluteDate externalDate)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.referenceDate - date to show.externalDate - date to be initially set as reference date.| Method Detail |
|---|
public void setWidgetId(String widgetId)
setWidgetId 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.genius.highLevel.GLabelWithIndicator getGLabel()
public fr.cnes.genius.highLevel.GChoice getGChoiceDateType()
public GPAbsoluteDate getGPAbsoluteDateReference()
public GPAbsoluteDate getGPAbsoluteDateExternal()
public void attachCopyPasteMenu(String label,
fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu in class fr.cnes.genius.main.GComponentpublic org.orekit.time.AbsoluteDate getPatriusObject()
getPatriusObject in interface GPPatrius<org.orekit.time.AbsoluteDate>public org.orekit.time.TimeScale getTimeScale()
public void setRefDate(org.orekit.time.AbsoluteDate date)
date - date to be set.public void setDefaultRefDate(org.orekit.time.AbsoluteDate date)
date - the default date to set.public void setSavedRefDate(org.orekit.time.AbsoluteDate date)
date - the saved date to set.public void setExternalDate(org.orekit.time.AbsoluteDate externalDate)
externalDate - date to be set.public void setDefaultExternalDate(org.orekit.time.AbsoluteDate date)
date - the default date to set.public void setSavedExternalDate(org.orekit.time.AbsoluteDate date)
date - the saved date to set.public void updateExternalDate(org.orekit.time.AbsoluteDate externalDate)
externalDate - date to be set.public boolean isEnabled()
isEnabled in class fr.cnes.genius.main.GComponentpublic void setEnabled(boolean b)
setEnabled in class fr.cnes.genius.main.GComponentb - boolean to enable/disable reference date.public void updateStatus()
protected void updateIsModifiedIndicator()
updateIsModifiedIndicator in class fr.cnes.genius.main.GComponentpublic boolean isModified()
isModified in class fr.cnes.genius.main.GComponentpublic void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterface
public void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GContainerfr.cnes.genius.exception.GException
public void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplayfr.cnes.genius.exception.GException
public void read()
throws fr.cnes.genius.exception.GException
read in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GException
public void write()
throws fr.cnes.genius.exception.GException
write in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GException
public void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GException
public void before(fr.cnes.genius.main.GEvent e)
throws fr.cnes.genius.exception.GException
before in interface fr.cnes.genius.main.GListenerfr.cnes.genius.exception.GException
public void after(fr.cnes.genius.main.GEvent e)
throws fr.cnes.genius.exception.GException
after in interface fr.cnes.genius.main.GListenerfr.cnes.genius.exception.GExceptionpublic 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 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.GComponentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||