public class GPAeroCoeffByOneVar
extends fr.cnes.genius.highLevel.GTable1D
implements fr.cnes.genius.main.GClear
fr.cnes.genius.highLevel.GTable1D.TableOrientation| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
after, attachCopyPasteMenu, before, display, generic, getGVector, getSubComponent, isCopyPasteEvent, isEnabled, isModified, read, setCopyPasteMenuEnabled, setDefaultValues, setEnabled, setSavedValues, setValues, setWidgetId, updateIsModifiedIndicator, updateStatus, writegetClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, put, setClassConstraint, setColumnConstraints, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setPreferredSize, setRowConstraints, setVerticalScrollactivateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, 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, writeConfigItempublic 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 variablepublic 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 functionpublic 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 tablepublic void setValue(CustomAeroCoeffByOneVarAbstract dragCoefFunction, CustomAeroCoeffByOneVarAbstract liftCoefFunction) throws GPVehicleException, fr.cnes.genius.exception.GArithmeticException
dragCoefFunction - drag coefficient functionliftCoefFunction - lift coefficient functionGPVehicleException - if the number of functions in the array is not two or if they have different abscisa
values.fr.cnes.genius.exception.GArithmeticException - if dragCoefFunction or liftCoefFunction contain NaNs.public void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GExceptionpublic void setDefaultValue(CustomAeroCoeffByOneVarAbstract dragCoefFunction, CustomAeroCoeffByOneVarAbstract liftCoefFunction) throws GPVehicleException, fr.cnes.genius.exception.GArithmeticException
dragCoefFunction - drag coefficient functionliftCoefFunction - lift coefficient functionGPVehicleException - if the number of functions in the array is not two or if they have different abscisa
values.fr.cnes.genius.exception.GArithmeticException - if dragCoefFunction or liftCoefFunction contain NaNs.public void setSavedValue(CustomAeroCoeffByOneVarAbstract dragCoefFunction, CustomAeroCoeffByOneVarAbstract liftCoefFunction) throws GPVehicleException, fr.cnes.genius.exception.GArithmeticException
dragCoefFunction - drag coefficient functionliftCoefFunction - lift coefficient functionGPVehicleException - if the number of functions in the array is not two or if they have different abscisa
values.fr.cnes.genius.exception.GArithmeticException - if dragCoefFunction or liftCoefFunction contain NaNs.Copyright © 2017. All rights reserved.