|
||||||||||
| 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.GPRotation
public class GPRotation
Widget for a rotation definition.
| Index | Class | Item | Constraint |
| 0 | GLabelWithIndicator | label | 0, 0 => "newline , gapleft 0 , split 2" 0, 1 => (null) |
| 1 | GButton | forcePivotButton | (null) |
| 2 | GCheckBox | deactivateConversionsCheckbox | "newline , gapleft 20 , spanx 4" |
| 3 | GComboBoxWithLabel | comboBoxRotationOrder | 3, 0, 0 =>
"newline , gapleft 20 , split 2" 3, 0, 1 => (null) 3, 1 => (null) |
| 4 | GEntryReal | entryRealPsi | 4, 0, 0 =>
"newline , gapleft 20 , split 2" 4, 0, 1 => (null) 4, 1 => "split 2" 4, 2 => (null) |
| 5 | GEntryReal | entryRealTheta | 5, 0, 0 =>
"newline , gapleft 20 , split 2" 5, 0, 1 => (null) 5, 1 => "split 2" 5, 2 => (null) |
| 6 | GEntryReal | entryRealPhi | 6, 0, 0 =>
"newline , gapleft 20 , split 2" 6, 0, 1 => (null) 6, 1 => "split 2" 6, 2 => (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 | |
|---|---|
GPRotation(String label)
Constructor. |
|
GPRotation(String label,
CustomRotation rotation)
Constructor with an initial rotation. |
|
GPRotation(String widgetId,
String label)
Constructor. |
|
GPRotation(String widgetId,
String label,
CustomRotation rotation)
Constructor with an initial rotation. |
|
| 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.lowLevel.GButton |
getGButtonForcePivot()
Getter for the GButton used to force the pivot. |
fr.cnes.genius.lowLevel.GCheckBox |
getGCheckBoxBlockConversions()
Getter for the GCheckBox used to block conversions. |
fr.cnes.genius.highLevel.GComboBoxWithLabel |
getGComboBoxRotationOrder()
Getter for the GComboBoxWithLabel used to select rotation order. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealPhi()
Getter for the GEntryReal corresponding to Phi angle. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealPsi()
Getter for the GEntryReal corresponding to Psi angle. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealTheta()
Getter for the GEntryReal corresponding to Theta angle. |
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the label of the widget. |
CustomRotation |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget. |
double |
getPhi()
Get phi (third elementary rotation). |
double |
getPsi()
Get psi (first elementary rotation). |
org.apache.commons.math3.geometry.euclidean.threed.RotationOrder |
getRotationOrder()
Get rotation order. |
fr.cnes.genius.main.GComponent |
getSubComponent(int position)
|
double |
getTeta()
Get theta (second elementary rotation). |
boolean |
isEnabled()
|
boolean |
isModified()
|
void |
read()
|
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget. |
void |
setDefaultRotation(CustomRotation rotation)
Setter for a default rotation. |
void |
setDefaultRotation(CustomRotation rotation,
org.apache.commons.math3.geometry.euclidean.threed.RotationOrder rotationOrder)
Setter for a default rotation. |
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 |
setRotation(CustomRotation rotation)
Setter for a rotation. |
void |
setRotation(CustomRotation rotation,
org.apache.commons.math3.geometry.euclidean.threed.RotationOrder rotationOrder)
Setter for a rotation. |
void |
setSavedRotation(CustomRotation rotation)
Setter for a saved rotation. |
void |
setSavedRotation(CustomRotation rotation,
org.apache.commons.math3.geometry.euclidean.threed.RotationOrder rotationOrder)
Setter for a saved rotation. |
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, 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 GPRotation(String label)
label - text to display in the label.
public GPRotation(String label,
CustomRotation rotation)
label - text to display in the label.rotation - to show in the widget.
public GPRotation(String widgetId,
String label)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.
public GPRotation(String widgetId,
String label,
CustomRotation rotation)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.rotation - to show in the widget.| 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.lowLevel.GButton getGButtonForcePivot()
public fr.cnes.genius.lowLevel.GCheckBox getGCheckBoxBlockConversions()
public fr.cnes.genius.highLevel.GComboBoxWithLabel getGComboBoxRotationOrder()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealPsi()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealTheta()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealPhi()
public boolean isModified()
isModified in class fr.cnes.genius.main.GComponentpublic boolean isEnabled()
isEnabled in class fr.cnes.genius.main.GComponent
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 setEnabled(boolean b)
setEnabled 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 void attachCopyPasteMenu(String label,
fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu in class fr.cnes.genius.main.GComponentprotected void updateIsModifiedIndicator()
updateIsModifiedIndicator in class fr.cnes.genius.main.GComponentpublic org.apache.commons.math3.geometry.euclidean.threed.RotationOrder getRotationOrder()
public double getPsi()
public double getTeta()
public double getPhi()
public CustomRotation getPatriusObject()
getPatriusObject in interface GPPatrius<CustomRotation>
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.GException
public void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GException
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 setRotation(CustomRotation rotation)
rotation - the rotation to be set.
public void setRotation(CustomRotation rotation,
org.apache.commons.math3.geometry.euclidean.threed.RotationOrder rotationOrder)
rotation - the rotation to be set.rotationOrder - the rotation order to be set.public void setDefaultRotation(CustomRotation rotation)
rotation - the rotation to be set as default
public void setDefaultRotation(CustomRotation rotation,
org.apache.commons.math3.geometry.euclidean.threed.RotationOrder rotationOrder)
rotation - the rotation to be set as defaultrotationOrder - the rotation order to be set as defaultpublic void setSavedRotation(CustomRotation rotation)
rotation - the rotation to be set as saved.
public void setSavedRotation(CustomRotation rotation,
org.apache.commons.math3.geometry.euclidean.threed.RotationOrder rotationOrder)
rotation - the rotation to be set as savedrotationOrder - the rotation order to be set as savedpublic void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfacepublic 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||