|
||||||||||
| 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.attitudes.GPAxisCoordinates
public class GPAxisCoordinates
Widget representing an OREKIT's Vector3D.
| Index | Class | Item | Constraint |
| 0 | GLabelWithIndicator | label | 0, 0 => "newline , gapleft 0 , split 2" 0, 1 => (null) |
| 1 | GComboBoxWithLabel | comboBoxType | 1, 0, 0 =>
"newline , gapleft 20 , split 2" 1, 0, 1 => (null) 1, 1 => (null) |
| 2 | GEntryReal | entryRealVecX | 2, 0, 0 =>
"newline , gapleft 20 , split 2" 2, 0, 1 => (null) 2, 1 => "split 2" 2, 2 => (null) |
| 3 | GEntryReal | entryRealVecY | 3, 0, 0 =>
"newline , gapleft 20 , split 2" 3, 0, 1 => (null) 3, 1 => "split 2" 3, 2 => (null) |
| 4 | GEntryReal | entryRealVecZ | 4, 0, 0 =>
"newline , gapleft 20 , split 2" 4, 0, 1 => (null) 4, 1 => "split 2" 4, 2 => (null) |
| 5 | GEntryReal | entryRealAlfa | 5, 0, 0 =>
"newline , gapleft 20 , split 2" 5, 0, 1 => (null) 5, 1 => "split 2" 5, 2 => (null) |
| 6 | GEntryReal | entryRealBeta | 6, 0, 0 =>
"newline , gapleft 20 , split 2" 6, 0, 1 => (null) 6, 1 => "split 2" 6, 2 => (null) |
| 7 | GEntryReal | entryRealNorm | 7, 0, 0 =>
"newline , gapleft 20 , split 2" 7, 0, 1 => (null) 7, 1 => "split 2" 7, 2 => (null) |
| Nested Class Summary | |
|---|---|
static class |
GPAxisCoordinates.GPAxisEnum
Available options for the type of axis coordinates. |
| 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 | |
|---|---|
GPAxisCoordinates(String label,
boolean isUnitary,
fr.cnes.genius.unit.GUnit[] units)
Constructor. |
|
GPAxisCoordinates(String label,
boolean isUnitary,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector,
fr.cnes.genius.unit.GUnit[] units)
Constructor with an initial vector. |
|
GPAxisCoordinates(String widgetId,
String label,
boolean isUnitary,
fr.cnes.genius.unit.GUnit[] units)
Creates a new instance. |
|
GPAxisCoordinates(String widgetId,
String label,
boolean isUnitary,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector,
fr.cnes.genius.unit.GUnit[] units)
Constructor with an initial vector. |
|
| 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 arg0)
|
void |
clear()
|
void |
display()
|
void |
generic()
|
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getDefaultValue()
|
fr.cnes.genius.highLevel.GComboBoxWithLabel |
getGComboBoxType()
Getter for the combo box with the type of coordinates. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealAlfa()
Getter for the entry real to set alfa angle. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealBeta()
Getter for the entry real to set beta angle. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealNorm()
Getter for the entry real to set norm. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealVecX()
Getter for the entry real to set X axis. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealVecY()
Getter for the entry real to set Y axis. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealVecZ()
Getter for the entry real to set Z axis. |
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the label of the widget. |
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget. |
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getSavedValue()
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position)
|
boolean |
isEnabled()
|
boolean |
isModified()
|
void |
read()
|
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget. |
void |
setDefaultValue(org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector)
Setter of the default values from a PATRIUS Vector3D object. |
void |
setDefaultValue(org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector,
GPAxisCoordinates.GPAxisEnum typeOfCoord)
Setter of the default values from a PATRIUS Vector3D object. |
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 |
setLabel(String string)
Set title. |
void |
setNormInterval(fr.cnes.genius.interval.GInterval... intervals)
Method to modify the interval for the norm of the vector. |
void |
setSavedValue(org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector)
Setter of the saved values from a PATRIUS Vector3D object. |
void |
setSavedValue(org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector,
GPAxisCoordinates.GPAxisEnum typeOfCoord)
Setter of the saved values from a PATRIUS Vector3D object. |
void |
setToolTipText(String text)
|
void |
setValue(org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector)
Setter from a PATRIUS Vector3D object. |
void |
setValue(org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector,
GPAxisCoordinates.GPAxisEnum typeOfCoord)
Setter from a PATRIUS Vector3D object. |
void |
setWidgetId(String widgetId)
|
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
|
protected 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, 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 GPAxisCoordinates(String label,
boolean isUnitary,
fr.cnes.genius.unit.GUnit[] units)
label - label for the widget.isUnitary - flag indicating if the widget must accept only unitary vectors. In this case, the units will
be ignored.units - list of units to display in the unit menu of the widget. Set to null for a widget without
units.
public GPAxisCoordinates(String widgetId,
String label,
boolean isUnitary,
fr.cnes.genius.unit.GUnit[] units)
widgetId - widget identifier, if null an identifier will be automatically createdlabel - label for the widget.isUnitary - flag indicating if the widget must accept only unitary vectors. In this case, the units will
be ignored.units - list of units to display in the unit menu of the widget. Set to null for a widget without
units.
public GPAxisCoordinates(String widgetId,
String label,
boolean isUnitary,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector,
fr.cnes.genius.unit.GUnit[] units)
widgetId - widget identifier, if null an identifier will be automatically createdlabel - label for the widgetisUnitary - flag indicating if the widget must accept only unitary vectors. In this case, the units will
be ignored.vector - to be set in the widgetunits - list of units to display in the unit menu of the widget. Set to null for a widget without
units.
public GPAxisCoordinates(String label,
boolean isUnitary,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector,
fr.cnes.genius.unit.GUnit[] units)
label - label for the widgetisUnitary - flag indicating if the widget must accept only unitary vectors. In this case, the units will
be ignored.vector - to be set in the widgetunits - list of units to display in the unit menu of the widget. Set to null for a widget without
units.| Method Detail |
|---|
public void setWidgetId(String widgetId)
setWidgetId in class fr.cnes.genius.main.GComponentpublic fr.cnes.genius.highLevel.GLabelWithIndicator getGLabel()
public fr.cnes.genius.highLevel.GComboBoxWithLabel getGComboBoxType()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealVecX()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealVecY()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealVecZ()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealAlfa()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealBeta()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealNorm()
public void attachCopyPasteMenu(String label,
fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu in class fr.cnes.genius.main.GComponent
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.GException
public void before(fr.cnes.genius.main.GEvent arg0)
throws fr.cnes.genius.exception.GException
before in interface fr.cnes.genius.main.GListenerfr.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 generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GContainerfr.cnes.genius.exception.GExceptionpublic void setConstraint(int widgetGap)
widgetGap - left gap from panel border to display the label of the widget.public void setLabel(String string)
string - titlepublic org.apache.commons.math3.geometry.euclidean.threed.Vector3D getPatriusObject()
getPatriusObject in interface GPPatrius<org.apache.commons.math3.geometry.euclidean.threed.Vector3D>public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getDefaultValue()
public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getSavedValue()
public void setValue(org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector)
vector - to be set in the widget.
public void setValue(org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector,
GPAxisCoordinates.GPAxisEnum typeOfCoord)
vector - to be set in the widget. It cannot be null.typeOfCoord - type of coordinates to select in the combobox.public void setDefaultValue(org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector)
vector - to be set as default one in the widget. It cannot be null.
public void setDefaultValue(org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector,
GPAxisCoordinates.GPAxisEnum typeOfCoord)
vector - to be set as default one in the widget. It cannot be null.typeOfCoord - default type of coordinatespublic void setSavedValue(org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector)
vector - to be set as saved one in the widget. It cannot be null.
public void setSavedValue(org.apache.commons.math3.geometry.euclidean.threed.Vector3D vector,
GPAxisCoordinates.GPAxisEnum typeOfCoord)
vector - to be set as saved one in the widget. It cannot be null.typeOfCoord - saved type of Coordinates
public void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GExceptionpublic void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfaceprotected void updateIsModifiedIndicator()
updateIsModifiedIndicator in class fr.cnes.genius.main.GComponentpublic boolean isModified()
isModified in class fr.cnes.genius.main.GComponentpublic boolean isEnabled()
isEnabled in class fr.cnes.genius.main.GComponentpublic void setEnabled(boolean b)
setEnabled in class fr.cnes.genius.main.GComponentpublic 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.GComponentExceptionpublic void setToolTipText(String text)
setToolTipText in class fr.cnes.genius.main.GComponent
public void setNormInterval(fr.cnes.genius.interval.GInterval... intervals)
throws fr.cnes.genius.exception.GIntervalException
intervals - new intervals for the norm of the vector.
fr.cnes.genius.exception.GIntervalException - in case that the new intervals overlaps with each other
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||