|
||||||||||
| 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.frames.GPFrame
public class GPFrame
Widget representing an OREKIT Frame.
| Index | Class | Item | Constraint |
| 0 | GComboBoxWithLabel | comboBoxRefFrame | 0, 0, 0 => "newline , gapleft 0 , split 2" 0, 0, 1 => (null) 0, 1 => "split 4" |
| 1 | GCheckBoxWithIndicator | checkBoxEOP | 1, 0, 0 => (null) 1, 0, 1 => (null) 1, 1 => (null) |
| 2 | GPAbsoluteDate | absoluteDateH0 | "newline" (see table below) |
| 3 | GEntryReal | entryRealN | 3, 0, 0 =>
"newline , gapleft 20 , split 2" 3, 0, 1 => (null) 3, 1 => "split 2" 3, 2 => (null) |
| 4 | GEntryReal | entryRealLon | 4, 0, 0 =>
"newline , gapleft 20 , split 2" 4, 0, 1 => (null) 4, 1 => "split 2" 4, 2 => (null) |
| Index | Class | Item | Constraint |
| 2, 0 | GLabelWithIndicator | label | 2, 0, 0 =>
"newline , gapleft 20 , split 2" 2, 0, 1 => (null) |
| 2, 1 | GPDateField | dateField | "spanx 2 , split 5" |
| 2, 2 | GPopupListWithLabel | popupListTimeScales | 2, 2, 0, 0 => "split 4" 2, 2, 0, 1 => (null) 2, 2, 1 => (null) |
| 2, 3 | GButton | buttonRelativeDate | (null) |
| Nested Class Summary | |
|---|---|
static class |
GPFrame.GPRefFrame
Enumerate of Reference frames available in the widget. |
| 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 | |
|---|---|
static String |
H0_MINUS_N_NAME
Name for any H0-n frame internally used in GENOPUS. |
| Fields inherited from class fr.cnes.genius.main.GComponent |
|---|
NAME_ATTRIBUTE |
| Constructor Summary | |
|---|---|
GPFrame(String label)
Constructor without frame and without list of frames for the widget (all from GPFrame.GPRefFrame will
be shown). |
|
GPFrame(String label,
org.orekit.frames.Frame frame)
Constructor without list of frames for the widget (all from GPFrame.GPRefFrame will be shown). |
|
GPFrame(String label,
org.orekit.frames.Frame frame,
GPFrame.GPRefFrame... framesToShow)
Constructor. |
|
GPFrame(String label,
GPFrame.GPRefFrame... framesToShow)
Constructor without frame. |
|
GPFrame(String widgetId,
String label)
Constructor without frame and without list of frames for the widget (all from GPFrame.GPRefFrame will
be shown). |
|
GPFrame(String widgetId,
String label,
org.orekit.time.AbsoluteDate h0,
double n,
double lon,
GPFrame.GPRefFrame... framesToShow)
Specific constructor to initialize the widget with an H0-n reference frame. |
|
GPFrame(String widgetId,
String label,
org.orekit.frames.Frame frame)
Constructor without list of frames for the widget (all from GPFrame.GPRefFrame will be shown). |
|
GPFrame(String widgetId,
String label,
org.orekit.frames.Frame frame,
GPFrame.GPRefFrame... framesToShow)
Constructor. |
|
GPFrame(String widgetId,
String label,
GPFrame.GPRefFrame... framesToShow)
Constructor without frame. |
|
| 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()
|
GPFrame.GPRefFrame[] |
getAvailableFrames()
Getter for the list of frames available in the widget. |
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBox()
Getter for the CheckBox widget to select whether to apply or not the EOP correction. |
fr.cnes.genius.highLevel.GComboBoxWithLabel |
getGComboBox()
Getter for the ComboBox widget to select the reference frame. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealLon()
Getter for the GEntryReal to select the longitude for the H0-n frame. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealN()
Getter for the GEntryReal to select the n for the H0-n frame. |
GPAbsoluteDate |
getGPAbsoluteDateH0()
Getter for the GPAbsoluteDate to select the H0 for the H0-n frame. |
org.orekit.frames.Frame |
getPatriusObject()
Frame getter. |
fr.cnes.genius.main.GComponent |
getSubComponent(int position)
|
boolean |
isEnabled()
|
boolean |
isH0MinusN()
Method to check if current frame is H0-n. |
boolean |
isModified()
|
Boolean |
isPseudoInertial()
Checks if the GPFrame is an inertial frame. |
void |
read()
|
void |
setAvailableFrames(GPFrame.GPRefFrame... framesToShow)
Setter for the list of frames available in the widget. |
void |
setConstraint(int labelGap)
Setter for the constraints of the widget. |
void |
setDefaultFrame(org.orekit.time.AbsoluteDate defaultH0,
Double defaultN,
Double defaultLon)
Frame setter for the default frame being a H0-n reference frame.. |
void |
setDefaultFrame(org.orekit.frames.Frame defaultFrame)
Setter for the default frame. |
void |
setEnabled(boolean b)
|
void |
setFrame(org.orekit.time.AbsoluteDate h0,
Double n,
Double lon)
Frame setter. |
void |
setFrame(org.orekit.frames.Frame frame)
Frame setter. |
void |
setSavedFrame(org.orekit.time.AbsoluteDate savedH0,
Double savedN,
Double savedLon)
Frame setter for the saved frame being a H0-n reference frame. |
void |
setSavedFrame(org.orekit.frames.Frame savedFrame)
Setter for the saved frame. |
void |
setWidgetId(String widgetId)
|
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
|
void |
updateIsModifiedIndicator()
|
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 |
| Field Detail |
|---|
public static final String H0_MINUS_N_NAME
| Constructor Detail |
|---|
public GPFrame(String label)
GPFrame.GPRefFrame will
be shown). The widgetId will be assigned automatically.
label - text to display in the label.
public GPFrame(String label,
GPFrame.GPRefFrame... framesToShow)
label - text to display in the label.framesToShow - list of frames to show in the widget.
public GPFrame(String label,
org.orekit.frames.Frame frame)
GPFrame.GPRefFrame will be shown). The
widgetId will be assigned automatically.
label - text to display in the label.frame - frame to show. It must be a frame available in the widget, otherwise it will throw a
GRuntimeException.
public GPFrame(String label,
org.orekit.frames.Frame frame,
GPFrame.GPRefFrame... framesToShow)
label - text to display in the label.frame - frame to show. It must be a frame available in the widget, otherwise it will throw a
GRuntimeException.framesToShow - list of frames to show in the widget.
public GPFrame(String widgetId,
String label)
GPFrame.GPRefFrame will
be shown).
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.
public GPFrame(String widgetId,
String label,
GPFrame.GPRefFrame... framesToShow)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.framesToShow - list of frames to show in the widget.
public GPFrame(String widgetId,
String label,
org.orekit.frames.Frame frame)
GPFrame.GPRefFrame will be shown).
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.frame - frame to show. It must be a frame available in the widget, otherwise it will throw a
GRuntimeException.
public GPFrame(String widgetId,
String label,
org.orekit.frames.Frame frame,
GPFrame.GPRefFrame... framesToShow)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.frame - frame to show. It must be a frame available in the widget, otherwise it will throw a
GRuntimeException.framesToShow - list of frames to show in the widget.
public GPFrame(String widgetId,
String label,
org.orekit.time.AbsoluteDate h0,
double n,
double lon,
GPFrame.GPRefFrame... framesToShow)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.h0 - launch date for the H0-n specific framen - delta time for the H0-n specific framelon - launchpad longitude for the H0-n specific frameframesToShow - list of frames to show in the widget.| Method Detail |
|---|
public void setWidgetId(String widgetId)
setWidgetId in class fr.cnes.genius.main.GComponentpublic fr.cnes.genius.highLevel.GComboBoxWithLabel getGComboBox()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBox()
public GPAbsoluteDate getGPAbsoluteDateH0()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealN()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealLon()
public GPFrame.GPRefFrame[] getAvailableFrames()
public void setAvailableFrames(GPFrame.GPRefFrame... framesToShow)
framesToShow - an array of GPRefFrame with the list of frames to show in the widget. If null: all frames
will be shown.public void setConstraint(int labelGap)
labelGap - left gap from panel border to display the label of the orbital parameters
public org.orekit.frames.Frame getPatriusObject()
throws GPFrameException
getPatriusObject in interface GPPatrius<org.orekit.frames.Frame>GPFrameException - if EOP data is not initialized.
public void setFrame(org.orekit.frames.Frame frame)
throws GPFrameException
Predefined.
frame - the frame to set
GPFrameException - if the given frame is not available in the widget or if the frame is H0-n (use
#setFrame(GPRefFrame, boolean, AbsoluteDate, double, double) in this case).
public void setFrame(org.orekit.time.AbsoluteDate h0,
Double n,
Double lon)
throws GPFrameException
h0 - launch date for the H0-n specific framen - delta time for the H0-n specific framelon - launchpad longitude for the H0-n specific frame
GPFrameException - if the frame is H0-n and H0, n or lon are null
public void setDefaultFrame(org.orekit.frames.Frame defaultFrame)
throws GPFrameException
Predefined.
defaultFrame - the frame to set as default one.
GPFrameException - if the given frame is not available in the widget or if the frame is H0-n (use
#setDefaultFrame(GPRefFrame, boolean, AbsoluteDate, double, double) in this case).
public void setDefaultFrame(org.orekit.time.AbsoluteDate defaultH0,
Double defaultN,
Double defaultLon)
throws GPFrameException
defaultH0 - launch date for the H0-n specific frame by default.defaultN - delta time for the H0-n specific frame by default.defaultLon - launchpad longitude for the H0-n specific frame by default.
GPFrameException - if the frame is H0-n and H0, n or lon are null, or if the given frame is not available in
the widget.
public void setSavedFrame(org.orekit.frames.Frame savedFrame)
throws GPFrameException
Predefined.
savedFrame - the frame to set as saved one.
GPFrameException - if the given frame is not available in the widget or if the frame is H0-n (use
#setSavedFrame(GPRefFrame, boolean, AbsoluteDate, double, double) in this case).
public void setSavedFrame(org.orekit.time.AbsoluteDate savedH0,
Double savedN,
Double savedLon)
throws GPFrameException
savedH0 - saved value of launch date for the H0-n specific frame.savedN - saved value of delta time for the H0-n specific frame.savedLon - saved value of launchpad longitude for the H0-n specific frame.
GPFrameException - if the frame is H0-n and H0, n or lon are null, or if the given frame is not available in
the widget.
public void attachCopyPasteMenu(String label,
fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu in class fr.cnes.genius.main.GComponentpublic void updateIsModifiedIndicator()
updateIsModifiedIndicator in class fr.cnes.genius.main.GComponentpublic 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 GPFrameException
after in interface fr.cnes.genius.main.GListenerGPFrameExceptionpublic void generic()
generic in class fr.cnes.genius.lowLevel.GContainer
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.GExceptionpublic boolean isEnabled()
isEnabled in class fr.cnes.genius.main.GComponentpublic void setEnabled(boolean b)
setEnabled in class fr.cnes.genius.main.GComponentpublic boolean isModified()
isModified in class fr.cnes.genius.main.GComponent
public void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GExceptionpublic boolean isH0MinusN()
public Boolean isPseudoInertial()
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.GComponentExceptionpublic void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||