|
||||||||||
| 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.genopus.vehicle.GPAeroCoeffByTwoVar
public class GPAeroCoeffByTwoVar
Widget for expert aerodynamic coefficients.
| Index | Class | Item | Constraint |
| 0 | GChoice | aoAandMachCoeffChoice | 0, 0, 0 => "newline , gapleft 0 , split 2" 0, 0, 1 => (null) 0, 1 => "split" |
| 1 | GTable2D | aoAandMachCxTable2D | "newline , gapleft 0 , spanx 3" (see table below) |
| 2 | GTable2D | aoAandMachCzTable2D | "newline , gapleft 0 , spanx 3" (see table below) |
| Index | Class | Item | Constraint |
| 1, 0 | GLabel | dataLabel | "newline , spanx 2 , alignx Center" |
| 1, 1 | GLabel | columnHeaderLabel | "newline , spanx 2 , split 2 , alignx Center" |
| 1, 2 | GLabel | rowHeaderLabel | "newline , aligny Center" |
| 1, 3 | GTable | table | "wmax 450 , hmax 200" |
| Index | Class | Item | Constraint |
| 2, 0 | GLabel | dataLabel | "newline , spanx 2 , alignx Center" |
| 2, 1 | GLabel | columnHeaderLabel | "newline , spanx 2 , split 2 , alignx Center" |
| 2, 2 | GLabel | rowHeaderLabel | "newline , aligny Center" |
| 2, 3 | GTable | table | "wmax 450 , hmax 200" |
| Nested Class Summary |
|---|
| 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 | |
|---|---|
GPAeroCoeffByTwoVar(String widgetId)
Creates a new instance. |
|
GPAeroCoeffByTwoVar(String widgetId,
CustomAeroCoeffByAoAAndMach dragCoefFunction,
CustomAeroCoeffByAoAAndMach liftCoefFunction)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
after(fr.cnes.genius.main.GEvent e)
|
void |
before(fr.cnes.genius.main.GEvent e)
|
void |
clear()
|
void |
display()
|
void |
generic()
|
double[] |
getDragAoAArray()
Gets the array of Doubles with the angles of attack of the drag table. |
double[][] |
getDragData()
Gets the double array of Doubles with the data of the drag table. |
double[] |
getDragMachArray()
Gets the array of Doubles with the mach numbers of the drag table. |
fr.cnes.genius.highLevel.GChoice |
getGChoiceAoAandMachCoeff()
Getter for the choice with the visible coefficient table as a function of mach number and angle of attack. |
fr.cnes.genius.table.GTable2D |
getGTable2DAoAandMachCx()
Getter for the table 2D to set the Cx table as a function of mach number and angle of attack. |
fr.cnes.genius.table.GTable2D |
getGTable2DDAoAandMachCz()
Getter for the table 2D to set the Cz table as a function of mach number and angle of attack. |
double[] |
getLiftAoAArray()
Gets the array of Doubles with the angles of attack of the lift table. |
double[][] |
getLiftData()
Gets the double array of Doubles with the data of the lift table. |
double[] |
getLiftMachArray()
Gets the array of Doubles with the mach numbers of the lift table. |
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(CustomAeroCoeffByAoAAndMach dragCoefFunction,
CustomAeroCoeffByAoAAndMach liftCoefFunction)
Setter for the default values for abscisas, drag coefficients and lift coefficients. |
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 |
setValue(CustomAeroCoeffByAoAAndMach dragCoefFunction,
CustomAeroCoeffByAoAAndMach liftCoefFunction)
Setter for the values for abscisas, drag coefficients and lift coefficients. |
void |
setWidgetId(String widgetId)
|
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
|
void |
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, 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, isCopyPasteEvent, launchInvalidPositionException, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setNameAndCommentInConfigFile, setNameInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidth, updateIsModifiedIndicator, 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 GPAeroCoeffByTwoVar(String widgetId)
widgetId - widget identifier, if null an identifier will be automatically created
public GPAeroCoeffByTwoVar(String widgetId,
CustomAeroCoeffByAoAAndMach dragCoefFunction,
CustomAeroCoeffByAoAAndMach liftCoefFunction)
widgetId - widget identifier, if null an identifier will be automatically createddragCoefFunction - drag coefficient functionliftCoefFunction - lift coefficient function| Method Detail |
|---|
public void setWidgetId(String widgetId)
setWidgetId 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 fr.cnes.genius.highLevel.GChoice getGChoiceAoAandMachCoeff()
public fr.cnes.genius.table.GTable2D getGTable2DAoAandMachCx()
public fr.cnes.genius.table.GTable2D getGTable2DDAoAandMachCz()
public void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GPanelfr.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 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 e)
throws fr.cnes.genius.exception.GException
before in interface fr.cnes.genius.main.GListenerfr.cnes.genius.exception.GExceptionpublic double[] getDragAoAArray()
public double[] getDragMachArray()
public double[][] getDragData()
public double[] getLiftAoAArray()
public double[] getLiftMachArray()
public double[][] getLiftData()
public void setValue(CustomAeroCoeffByAoAAndMach dragCoefFunction,
CustomAeroCoeffByAoAAndMach 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 setDefaultValue(CustomAeroCoeffByAoAAndMach dragCoefFunction,
CustomAeroCoeffByAoAAndMach 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.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.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 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 | |||||||||