|
||||||||||
| 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.GPanel
fr.cnes.genius.highLevel.GTable1D
fr.cnes.genopus.vehicle.GPAeroCoeffByOneVar
public class GPAeroCoeffByOneVar
Widget for expert aerodynamic coefficients.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class fr.cnes.genius.highLevel.GTable1D |
|---|
fr.cnes.genius.highLevel.GTable1D.TableOrientation |
| Nested classes/interfaces inherited from class fr.cnes.genius.lowLevel.GPanel |
|---|
fr.cnes.genius.lowLevel.GPanel.Panel, fr.cnes.genius.lowLevel.GPanel.ScrollBarVisibility |
| 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 | |
|---|---|
GPAeroCoeffByOneVar(String widgetId,
String label,
fr.cnes.genius.highLevel.GEntryRealVector varRealVec)
Creates a new instance. |
|
GPAeroCoeffByOneVar(String widgetId,
String label,
fr.cnes.genius.highLevel.GEntryRealVector varRealVec,
CustomAeroCoeffByOneVarAbstract dragCoefFunction,
CustomAeroCoeffByOneVarAbstract liftCoefFunction)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
clear()
|
Double[] |
getDragArray()
Gets the array of Doubles with the drag coefficients. |
Double[] |
getLiftArray()
Gets the array of Doubles with the lift coefficients. |
Double[] |
getVariableArray()
Gets the array of Doubles with the abscisa variables. |
void |
setDefaultValue(CustomAeroCoeffByOneVarAbstract dragCoefFunction,
CustomAeroCoeffByOneVarAbstract liftCoefFunction)
Setter for the default values for abscisas, drag coefficients and lift coefficients. |
protected void |
setNamesInConfigFile(String nameForVarVect,
String nameForDragVect,
String nameForLiftVect,
String nameForTable)
Setter for the name in config file for each one of the components. |
void |
setSavedValue(CustomAeroCoeffByOneVarAbstract dragCoefFunction,
CustomAeroCoeffByOneVarAbstract liftCoefFunction)
Setter for the saved values for abscisas, drag coefficients and lift coefficients. |
void |
setValue(CustomAeroCoeffByOneVarAbstract dragCoefFunction,
CustomAeroCoeffByOneVarAbstract liftCoefFunction)
Setter for the values for abscisas, drag coefficients and lift coefficients. |
| Methods inherited from class fr.cnes.genius.highLevel.GTable1D |
|---|
after, attachCopyPasteMenu, before, display, generic, getGVector, getSubComponent, isCopyPasteEvent, isEnabled, isModified, read, setCopyPasteMenuEnabled, setDefaultValues, setEnabled, setSavedValues, setValues, setWidgetId, updateIsModifiedIndicator, updateStatus, write |
| Methods inherited from class fr.cnes.genius.lowLevel.GPanel |
|---|
getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, put, setClassConstraint, setColumnConstraints, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setPreferredSize, setRowConstraints, setVerticalScroll |
| Methods inherited from class fr.cnes.genius.main.GComponent |
|---|
activateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleProcessEventException, launchInvalidPositionException, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setConstraint, 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 GPAeroCoeffByOneVar(String widgetId,
String label,
fr.cnes.genius.highLevel.GEntryRealVector varRealVec)
widgetId - widget identifier, if null an identifier will be automatically createdlabel - for the table1DvarRealVec - GEntryRealVector to define the abscisa variable
public GPAeroCoeffByOneVar(String widgetId,
String label,
fr.cnes.genius.highLevel.GEntryRealVector varRealVec,
CustomAeroCoeffByOneVarAbstract dragCoefFunction,
CustomAeroCoeffByOneVarAbstract liftCoefFunction)
widgetId - widget identifier, if null an identifier will be automatically createdlabel - for the table1DvarRealVec - GEntryRealVector to define the abscisa variabledragCoefFunction - drag coefficient functionliftCoefFunction - lift coefficient function| Method Detail |
|---|
public Double[] getLiftArray()
public Double[] getDragArray()
public Double[] getVariableArray()
protected void setNamesInConfigFile(String nameForVarVect,
String nameForDragVect,
String nameForLiftVect,
String nameForTable)
nameForVarVect - name for abscisa variable vectornameForDragVect - name for drag coefficient vectornameForLiftVect - name for lift coefficient vectornameForTable - name for the table
public void setValue(CustomAeroCoeffByOneVarAbstract dragCoefFunction,
CustomAeroCoeffByOneVarAbstract liftCoefFunction)
throws GPVehicleException
dragCoefFunction - drag coefficient functionliftCoefFunction - lift coefficient function
GPVehicleException - if the number of functions in the array is not two or if they have different abscisa
values.
public void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GException
public void setDefaultValue(CustomAeroCoeffByOneVarAbstract dragCoefFunction,
CustomAeroCoeffByOneVarAbstract liftCoefFunction)
throws GPVehicleException
dragCoefFunction - drag coefficient functionliftCoefFunction - lift coefficient function
GPVehicleException - if the number of functions in the array is not two or if they have different abscisa
values.
public void setSavedValue(CustomAeroCoeffByOneVarAbstract dragCoefFunction,
CustomAeroCoeffByOneVarAbstract liftCoefFunction)
throws GPVehicleException
dragCoefFunction - drag coefficient functionliftCoefFunction - lift coefficient function
GPVehicleException - if the number of functions in the array is not two or if they have different abscisa
values.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||