public class GPVehicle extends fr.cnes.genius.lowLevel.GPanel implements fr.cnes.genius.main.GReadWrite, fr.cnes.genius.main.GListener, fr.cnes.genius.main.GClear, fr.cnes.genius.main.GDisplay, fr.cnes.genius.main.GCondensedStatusInterface, fr.cnes.genius.observer.GObservable, GFuelTankEngineProvider, GPPatriusWithObjects<fr.cnes.sirius.patrius.assembly.Vehicle>, fr.cnes.genius.observer.GObserver
Index | Class | Item | Constraint |
0 | GLabelWithIndicator | label | 0, 0 => "newline , gapleft 0 , split 2" 0, 1 => "wmin 167" |
1 | GEntryReal | totalMassEntryReal | 1, 0, 0 =>
"newline , gapleft 20 , split 2" 1, 0, 1 => (null) 1, 1 => "split 2" 1, 2 => (null) |
2 | GCheckBoxWithIndicator | massPropCheckbox | 2, 0, 0 =>
"newline , gapleft 20 , split 2" 2, 0, 1 => (null) 2, 1 => (null) |
3 | GPVehicleMassProps | massProps | "newline" (see table below) |
4 | GPVehicleShape | vehicleShape | "newline" (see table below) |
5 | GCheckBoxWithIndicator | propulsivePropCheckbox | 5,
0, 0 => "newline , gapleft 20 , split 2" 5, 0, 1 => (null) 5, 1 => (null) |
6 | GPVehiclePropulsiveProps | propulsiveProps | "newline , spanx 4 , growx" (see table below) |
7 | GCheckBoxWithIndicator | aeroPropCheckbox | 7, 0, 0
=> "newline , gapleft 20 , split 2" 7, 0, 1 => (null) 7, 1 => (null) |
8 | GPVehicleAeroProps | aeroProps | "newline , spanx 4 , growx" (see table below) |
9 | GCheckBoxWithIndicator | radiativePropCheckbox | 9,
0, 0 => "newline , gapleft 20 , split 2" 9, 0, 1 => (null) 9, 1 => (null) |
10 | GPVehicleRadiativeProps | radiativeProps | "newline" (see table below) |
Index | Class | Item | Constraint |
3, 0 | GEntryReal | dryMassEntryReal | 3, 0, 0, 0 =>
"newline , gapleft 40 , split 2" 3, 0, 0, 1 => (null) 3, 0, 1 => "split 2" 3, 0, 2 => (null) |
Index | Class | Item | Constraint |
4, 0 | GLabelWithIndicator | label | 4, 0, 0 =>
"newline , gapleft 20 , split 2" 4, 0, 1 => (null) |
4, 1 | GChoice | shapeChoice | 4, 1, 0, 0 =>
"newline , gapleft 40 , split 2" 4, 1, 0, 1 => (null) 4, 1, 1 => "split" |
4, 2 | GChoice | shapeDefChoice | 4, 2, 0, 0 =>
"newline , gapleft 40 , split 2" 4, 2, 0, 1 => (null) 4, 2, 1 => "split" |
4, 3 | GEntryReal | sphRadEntryReal | 4, 3, 0, 0 =>
"newline , gapleft 60 , split 2" 4, 3, 0, 1 => (null) 4, 3, 1 => "split 2" 4, 3, 2 => (null) |
4, 4 | GEntryReal | sphSurfEntryReal | 4, 4, 0, 0 =>
"newline , gapleft 60 , split 2" 4, 4, 0, 1 => (null) 4, 4, 1 => "split 2" 4, 4, 2 => (null) |
4, 5 | GEntryReal | parallLengthEntryReal | 4, 5, 0, 0 =>
"newline , gapleft 60 , split 2" 4, 5, 0, 1 => (null) 4, 5, 1 => "split 2" 4, 5, 2 => (null) |
4, 6 | GEntryReal | parallWidthEntryReal | 4, 6, 0, 0 =>
"newline , gapleft 60 , split 2" 4, 6, 0, 1 => (null) 4, 6, 1 => "split 2" 4, 6, 2 => (null) |
4, 7 | GEntryReal | parallHeightEntryReal | 4, 7, 0, 0 =>
"newline , gapleft 60 , split 2" 4, 7, 0, 1 => (null) 4, 7, 1 => "split 2" 4, 7, 2 => (null) |
4, 8 | GEntryReal | parallXSurfEntryReal | 4, 8, 0, 0 =>
"newline , gapleft 60 , split 2" 4, 8, 0, 1 => (null) 4, 8, 1 => "split 2" 4, 8, 2 => (null) |
4, 9 | GEntryReal | parallYSurfEntryReal | 4, 9, 0, 0 =>
"newline , gapleft 60 , split 2" 4, 9, 0, 1 => (null) 4, 9, 1 => "split 2" 4, 9, 2 => (null) |
4, 10 | GEntryReal | parallZSurfEntryReal | 4, 10, 0, 0
=> "newline , gapleft 60 , split 2" 4, 10, 0, 1 => (null) 4, 10, 1 => "split 2" 4, 10, 2 => (null) |
4, 11 | GEntryReal | cylRadEntryReal | 4, 11, 0, 0 =>
"newline , gapleft 60 , split 2" 4, 11, 0, 1 => (null) 4, 11, 1 => "split 2" 4, 11, 2 => (null) |
4, 12 | GEntryReal | cylLengthEntryReal | 4, 12, 0, 0 =>
"newline , gapleft 60 , split 2" 4, 12, 0, 1 => (null) 4, 12, 1 => "split 2" 4, 12, 2 => (null) |
4, 13 | GEntryReal | cylXSurfEntryReal | 4, 13, 0, 0 =>
"newline , gapleft 60 , split 2" 4, 13, 0, 1 => (null) 4, 13, 1 => "split 2" 4, 13, 2 => (null) |
4, 14 | GEntryReal | cylTSurfEntryReal | 4, 14, 0, 0 =>
"newline , gapleft 60 , split 2" 4, 14, 0, 1 => (null) 4, 14, 1 => "split 2" 4, 14, 2 => (null) |
4, 15 | GCheckBoxWithIndicator | solarPanelsChoice | 4,
15, 0, 0 => "newline , gapleft 40 , split 2" 4, 15, 0, 1 => (null) 4, 15, 1 => (null) |
4, 16 | GEntryReal | panelXSurfEntryReal | 4, 16, 0, 0
=> "newline , gapleft 60 , split 2" 4, 16, 0, 1 => (null) 4, 16, 1 => "split 2" 4, 16, 2 => (null) |
4, 17 | GEntryReal | panelYSurfEntryReal | 4, 17, 0, 0
=> "newline , gapleft 60 , split 2" 4, 17, 0, 1 => (null) 4, 17, 1 => "split 2" 4, 17, 2 => (null) |
4, 18 | GEntryReal | panelZSurfEntryReal | 4, 18, 0, 0
=> "newline , gapleft 60 , split 2" 4, 18, 0, 1 => (null) 4, 18, 1 => "split 2" 4, 18, 2 => (null) |
Index | Class | Item | Constraint |
6, 0 | GEntryReal | ergMassEntryReal | 6, 0, 0, 0
=> "newline , gapleft 40 , split 2" 6, 0, 0, 1 => (null) 6, 0, 1 => (null) 6, 0, 2 => (null) |
6, 1 | GSeparator | enginesSeparator | "newline , gapleft 40 , spanx 4 , growx" |
6, 2 | GOpenCloseButton | enginesOpenCloseButton | "newline , gapleft 20 , split 2" |
6, 3 | GLabelWithIndicator | enginesLabel | 6, 3, 0 => (null) 6, 3, 1 => (null) |
6, 4 | GComponentList | enginesList | "newline , gapleft 40 , spanx 4 , growx" (see table below) |
6, 5 | GSeparator | tanksSeparator | "newline , gapleft 40 , spanx 4 , growx" |
6, 6 | GOpenCloseButton | tanksOpenCloseButton | "newline , gapleft 20 , split 2" |
6, 7 | GLabelWithIndicator | tanksLabel | 6, 7, 0 => (null) 6, 7, 1 => (null) |
6, 8 | GComponentList | tanksList | "newline , gapleft 40 , spanx 4 , growx" (see table below) |
Index | Class | Item | Constraint |
6, 4, 0 | GHeaderPanel | header | "hmin 40" (see table below) |
6, 4, 1 | GLabel | spaceLabel | "newline , height 0" |
Index | Class | Item | Constraint |
6, 4, 0, 0 | GEntryInt | totalNumberItemsEntry | 6, 4, 0,
0, 0, 0 => "newline , split 2" 6, 4, 0, 0, 0, 1 => (null) 6, 4, 0, 0, 1 => "skip 2 , width 50" |
6, 4, 0, 1 | GEntryInt | currentItemRankEntry | 6, 4, 0, 1, 0, 0 => "split 2" 6, 4, 0, 1, 0, 1 => (null) 6, 4, 0, 1, 1 => "width 50" |
6, 4, 0, 2 | GButton | decrButton | "alignx Right , height 20" |
6, 4, 0, 3 | GButton | incrButton | "height 20" |
6, 4, 0, 4 | GPopupList | menu | (null) |
Index | Class | Item | Constraint |
6, 8, 0 | GHeaderPanel | header | "hmin 40" (see table below) |
6, 8, 1 | GLabel | spaceLabel | "newline , height 0" |
Index | Class | Item | Constraint |
6, 8, 0, 0 | GEntryInt | totalNumberItemsEntry | 6, 8, 0,
0, 0, 0 => "newline , split 2" 6, 8, 0, 0, 0, 1 => (null) 6, 8, 0, 0, 1 => "skip 2 , width 50" |
6, 8, 0, 1 | GEntryInt | currentItemRankEntry | 6, 8, 0, 1, 0, 0 => "split 2" 6, 8, 0, 1, 0, 1 => (null) 6, 8, 0, 1, 1 => "width 50" |
6, 8, 0, 2 | GButton | decrButton | "alignx Right , height 20" |
6, 8, 0, 3 | GButton | incrButton | "height 20" |
6, 8, 0, 4 | GPopupList | menu | (null) |
Index | Class | Item | Constraint |
8, 0 | GChoice | coeffsTypeChoice | 8, 0, 0, 0 =>
"newline , gapleft 40 , split 2" 8, 0, 0, 1 => (null) 8, 0, 1 => "split" |
8, 1 | GEntryReal | dragCoeffEntryReal | 8, 1, 0, 0 =>
"newline , gapleft 40 , split 2" 8, 1, 0, 1 => (null) 8, 1, 1 => (null) |
8, 2 | GEntryReal | liftCoeffEntryReal | 8, 2, 0, 0 =>
"newline , gapleft 40 , split 2" 8, 2, 0, 1 => (null) 8, 2, 1 => (null) |
8, 3 | GChoice | variableChoice | 8, 3, 0, 0 =>
"newline , gapleft 40 , split 2" 8, 3, 0, 1 => (null) 8, 3, 1 => "split" |
8, 4 | GPAeroCoeffByOneVar | altitudeTable1D | "newline , gapleft 40 , spanx 3" (see table below) |
8, 5 | GPAeroCoeffByOneVar | aoATable1D | "newline , gapleft 40 , spanx 3" (see table below) |
8, 6 | GPAeroCoeffByOneVar | machTable1D | "newline , gapleft 40 , spanx 3" (see table below) |
8, 7 | GPAeroCoeffByTwoVar | aoAandMachTable2D | "newline , gapleft 40 , spanx 3"
(see table below) |
Index | Class | Item | Constraint |
8, 4, 0 | GLabelWithIndicator | title | 8, 4, 0, 0
=> "newline , split 2" 8, 4, 0, 1 => "wrap" |
8, 4, 1 | GEntryRealVector | altitudeRealVec | "newline" (see table below) |
8, 4, 2 | GEntryRealVector | dragRealVec | "newline" (see table below) |
8, 4, 3 | GEntryRealVector | liftRealVec | "newline" (see table below) |
8, 4, 4 | GPopupList | popup_0 | (null) |
8, 4, 5 | GPopupList | popup_1 | (null) |
Index | Class | Item | Constraint |
8, 4, 1, 0 | GLabelWithIndicator | label | 8, 4,
1, 0, 0 => "split 2 , alignx Center" 8, 4, 1, 0, 1 => (null) |
8, 4, 1, 1 | GRealField | field_1 | "newline" |
8, 4, 1, 2 | GPopupList | unitPopup | "alignx Center , cell 0 2" |
Index | Class | Item | Constraint |
8, 4, 2, 0 | GLabelWithIndicator | label | 8, 4, 2, 0,
0 => "split 2 , alignx Center" 8, 4, 2, 0, 1 => (null) |
8, 4, 2, 1 | GRealField | field_1 | "" |
Index | Class | Item | Constraint |
8, 4, 3, 0 | GLabelWithIndicator | label | 8, 4, 3, 0,
0 => "split 2 , alignx Center" 8, 4, 3, 0, 1 => (null) |
8, 4, 3, 1 | GRealField | field_1 | "" |
Index | Class | Item | Constraint |
8, 5, 0 | GLabelWithIndicator | title | 8, 5, 0, 0 =>
"newline , split 2" 8, 5, 0, 1 => "wrap" |
8, 5, 1 | GEntryRealVector | aoARealVec | "newline" (see table below) |
8, 5, 2 | GEntryRealVector | dragRealVec | "newline" (see table below) |
8, 5, 3 | GEntryRealVector | liftRealVec | "newline" (see table below) |
8, 5, 4 | GPopupList | popup_0 | (null) |
8, 5, 5 | GPopupList | popup_1 | (null) |
Index | Class | Item | Constraint |
8, 5, 1, 0 | GLabelWithIndicator | label | 8, 5, 1, 0,
0 => "split 2 , alignx Center" 8, 5, 1, 0, 1 => (null) |
8, 5, 1, 1 | GRealField | field_1 | "newline" |
8, 5, 1, 2 | GPopupList | unitPopup | "alignx Center , cell 0 2" |
Index | Class | Item | Constraint |
8, 5, 2, 0 | GLabelWithIndicator | label | 8, 5, 2, 0,
0 => "split 2 , alignx Center" 8, 5, 2, 0, 1 => (null) |
8, 5, 2, 1 | GRealField | field_1 | "" |
Index | Class | Item | Constraint |
8, 5, 3, 0 | GLabelWithIndicator | label | 8, 5, 3, 0,
0 => "split 2 , alignx Center" 8, 5, 3, 0, 1 => (null) |
8, 5, 3, 1 | GRealField | field_1 | "" |
Index | Class | Item | Constraint |
8, 6, 0 | GLabelWithIndicator | title | 8, 6, 0, 0 =>
"newline , split 2" 8, 6, 0, 1 => "wrap" |
8, 6, 1 | GEntryRealVector | machRealVec | "newline" (see table below) |
8, 6, 2 | GEntryRealVector | dragRealVec | "newline" (see table below) |
8, 6, 3 | GEntryRealVector | liftRealVec | "newline" (see table below) |
8, 6, 4 | GPopupList | popup_0 | (null) |
8, 6, 5 | GPopupList | popup_1 | (null) |
Index | Class | Item | Constraint |
8, 6, 1, 0 | GLabelWithIndicator | label | 8, 6, 1, 0,
0 => "split 2 , alignx Center" 8, 6, 1, 0, 1 => (null) |
8, 6, 1, 1 | GRealField | field_1 | "newline" |
Index | Class | Item | Constraint |
8, 6, 2, 0 | GLabelWithIndicator | label | 8, 6, 2, 0,
0 => "split 2 , alignx Center" 8, 6, 2, 0, 1 => (null) |
8, 6, 2, 1 | GRealField | field_1 | "" |
Index | Class | Item | Constraint |
8, 6, 3, 0 | GLabelWithIndicator | label | 8, 6, 3, 0,
0 => "split 2 , alignx Center" 8, 6, 3, 0, 1 => (null) |
8, 6, 3, 1 | GRealField | field_1 | "" |
Index | Class | Item | Constraint |
8, 7, 0 | GChoice | aoAandMachCoeffChoice | 8,
7, 0, 0, 0 => "newline , gapleft 0 , split 2" 8, 7, 0, 0, 1 => (null) 8, 7, 0, 1 => "split" |
8, 7, 1 | GTable2D | aoAandMachCxTable2D | "newline , gapleft 0 , spanx 3" (see table below) |
8, 7, 2 | GTable2D | aoAandMachCzTable2D | "newline , gapleft 0 , spanx 3" (see table below) |
Index | Class | Item | Constraint |
8, 7, 1, 0 | GLabel | dataLabel | "newline , spanx 2 , alignx Center" |
8, 7, 1, 1 | GLabel | columnHeaderLabel | "newline , spanx 2 , split 2 , alignx Center" |
8, 7, 1, 2 | GLabel | rowHeaderLabel | "newline , aligny Center" |
8, 7, 1, 3 | GTable | table | "wmax 450 , hmax 200" |
Index | Class | Item | Constraint |
8, 7, 2, 0 | GLabel | dataLabel | "newline , spanx 2 , alignx Center" |
8, 7, 2, 1 | GLabel | columnHeaderLabel | "newline , spanx 2 , split 2 , alignx Center" |
8, 7, 2, 2 | GLabel | rowHeaderLabel | "newline , aligny Center" |
8, 7, 2, 3 | GTable | table | "wmax 450 , hmax 200" |
Index | Class | Item | Constraint |
10, 0 | GPRadiativeProperty | radiativeProperty | "newline" (see table below) |
10, 1 | GCheckBoxWithIndicator | infraPropCheckbox | 10,
1, 0, 0 => "newline , gapleft 40 , split 2" 10, 1, 0, 1 => (null) 10, 1, 1 => (null) |
10, 2 | GPRadiativeIRProperty | radiativeIRProperty | "newline" (see table below) |
Index | Class | Item | Constraint |
10, 0, 0 | GLabelWithIndicator | label | 10, 0,
0, 0 => "newline , gapleft 40 , split 2" 10, 0, 0, 1 => (null) |
10, 0, 1 | GEntryReal | diffuseCoefEntryReal | 10, 0,
1, 0, 0 => "newline , gapleft 60 , split 2" 10, 0, 1, 0, 1 => (null) 10, 0, 1, 1 => (null) |
10, 0, 2 | GEntryReal | specularCoefEntryReal | 10, 0, 2, 0, 0 =>
"newline , gapleft 60 , split 2" 10, 0, 2, 0, 1 => (null) 10, 0, 2, 1 => (null) |
10, 0, 3 | GEntryReal | diffuseCoefEntryReal | 10, 0, 3, 0, 0 =>
"newline , gapleft 60 , split 2" 10, 0, 3, 0, 1 => (null) 10, 0, 3, 1 => (null) |
Index | Class | Item | Constraint |
10, 2, 0 | GLabelWithIndicator | label | 10,
2, 0, 0 => "newline , gapleft 60 , split 2" 10, 2, 0, 1 => (null) |
10, 2, 1 | GEntryReal | diffuseCoefEntryReal | 10, 2,
1, 0, 0 => "newline , gapleft 80 , split 2" 10, 2, 1, 0, 1 => (null) 10, 2, 1, 1 => (null) |
10, 2, 2 | GEntryReal | specularCoefEntryReal | 10, 2, 2, 0, 0 =>
"newline , gapleft 80 , split 2" 10, 2, 2, 0, 1 => (null) 10, 2, 2, 1 => (null) |
10, 2, 3 | GEntryReal | diffuseCoefEntryReal | 10, 2, 3, 0, 0 =>
"newline , gapleft 80 , split 2" 10, 2, 3, 0, 1 => (null) 10, 2, 3, 1 => (null) |
fr.cnes.genius.lowLevel.GPanel.Panel, fr.cnes.genius.lowLevel.GPanel.ScrollBarVisibility
fr.cnes.genius.main.GComponent.CopyPasteOperation, fr.cnes.genius.main.GComponent.DisplayIndicatorStatus, fr.cnes.genius.main.GComponent.ItemType, fr.cnes.genius.main.GComponent.Operation
GPPatriusWithObjects.ArgsChecker
Constructor and Description |
---|
GPVehicle()
Create a new instance with empty label.
|
GPVehicle(String label)
Create a new instance with all properties active.
|
GPVehicle(String label,
boolean showMassProperties,
boolean showPropulsiveProperties,
boolean showAeroProperties,
boolean showAeroExpertSettings,
boolean showRadiativeProperties)
Create a new instance.
|
GPVehicle(String widgetId,
String label)
Create a new instance with all properties active.
|
GPVehicle(String widgetId,
String label,
boolean showMassProperties,
boolean showPropulsiveProperties,
boolean showAeroProperties,
boolean showAeroExpertSettings,
boolean showRadiativeProperties)
Create a new instance.
|
GPVehicle(String widgetId,
String label,
fr.cnes.sirius.patrius.assembly.Vehicle vehicle,
boolean showMassProperties,
boolean showPropulsiveProperties,
boolean showAeroProperties,
boolean showAeroExpertSettings,
boolean showRadiativeProperties)
Create a new instance with an initial vehicle.
|
GPVehicle(String label,
fr.cnes.sirius.patrius.assembly.Vehicle vehicle)
Create a new instance with all properties active and with an initial vehicle.
|
GPVehicle(String label,
fr.cnes.sirius.patrius.assembly.Vehicle vehicle,
boolean showMassProperties,
boolean showPropulsiveProperties,
boolean showAeroProperties,
boolean showAeroExpertSettings,
boolean showRadiativeProperties)
Create a new instance with an initial vehicle.
|
Modifier and Type | Method and Description |
---|---|
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.sirius.patrius.assembly.vehicle.AerodynamicProperties |
getAerodynamicProperties()
Get aerodynamic properties.
|
fr.cnes.sirius.patrius.assembly.Assembly |
getAssembly(fr.cnes.sirius.patrius.frames.Frame propagationFrame)
Get vehicle assembly.
|
fr.cnes.sirius.patrius.forces.atmospheres.Atmosphere |
getAtmosphere()
Getter for the atmosphere.
|
fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid |
getEarthShape()
Getter for the Earth shape.
|
ArrayList<fr.cnes.sirius.patrius.assembly.properties.PropulsiveProperty> |
getEngineList()
Get list of engines.
|
String[] |
getEngineNames()
Method to get the list of engine names.
|
ArrayList<fr.cnes.sirius.patrius.assembly.properties.TankProperty> |
getFuelTankList()
Get list of tanks.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxAeroProps()
Getter for the checkbox for the aerodynamic properties visibility.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxPropulsiveProps()
Getter for the checkbox for the propulsive properties visibility.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxRadiativeProps()
Getter for the checkbox for the radiative properties visibility.
|
fr.cnes.genius.lowLevel.GSeparator |
getGEntryRealDragCoeff(int i)
Getter for the different separators.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealTotalMass()
Getter for the entry real for the total mass.
|
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the label of the widget.
|
GPVehicleAeroProps |
getGPVehicleAeroProps()
Getter for the widget to set the vehicle aerodynamic properties.
|
GPVehicleMassProps |
getGPVehicleMassProps()
Getter for the entry real to set the dry mass.
|
GPVehiclePropulsiveProps |
getGPVehiclePropulsiveProps()
Getter for the widget to set the vehicle propulsive properties.
|
GPVehicleRadiativeProps |
getGPVehicleRadiativeProps()
Getter for the widget to set the vehicle radiative properties.
|
GPVehicleShape |
getGPVehicleShape()
Getter for the widget to set the vehicle shape.
|
fr.cnes.genius.main.GComponent |
getGSeparatorAeroProps()
Getter for the separator before the aerodynamic properties sub widget.
|
fr.cnes.genius.main.GComponent |
getGSeparatorMassProps()
Getter for the separator before the mass properties sub widget.
|
fr.cnes.genius.main.GComponent |
getGSeparatorPropulsiveProps()
Getter for the separator before the propulsive properties sub widget.
|
fr.cnes.genius.main.GComponent |
getGSeparatorRadiativeProps()
Getter for the separator before the radiative properties sub widget.
|
fr.cnes.genius.main.GComponent |
getGSeparatorVehicleShape()
Getter for the separator before the vehicle shape sub widget.
|
fr.cnes.sirius.patrius.assembly.properties.MassProperty |
getMassProperty()
Get the mass property.
|
fr.cnes.sirius.patrius.assembly.Vehicle |
getPatriusObject()
Get the vehicle data.
|
fr.cnes.sirius.patrius.assembly.Vehicle |
getPatriusObject(Object... args)
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties |
getRadiativeProperties()
Get radiative properties.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
String[] |
getTankNames()
Method to get the list of tank names.
|
boolean |
hasAeroProperties()
Boolean to know if aerodynamic properties are activated.
|
boolean |
hasMassProperties()
Boolean to know if mass properties are activated.
|
boolean |
hasPropulsiveProperties()
Boolean to know if propulsive properties are activated.
|
boolean |
hasRadiativeProperties()
Boolean to know if radiative properties are activated.
|
boolean |
isEnabled() |
boolean |
isModified() |
void |
notify(Object observable,
Object... args) |
void |
notifyObservers(Object... args) |
void |
read() |
void |
registerObserver(fr.cnes.genius.observer.GObserver observer) |
void |
setAtmosphere(fr.cnes.sirius.patrius.forces.atmospheres.Atmosphere atmosphere)
Setter for the atmosphere.
|
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget.
|
void |
setDefaultConstraints()
Setter for the default constraint of the widget.
|
void |
setDefaultVehicle(fr.cnes.sirius.patrius.assembly.Vehicle vehicle)
Setter for the default vehicle.
|
void |
setEarthShape(fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid earthShape)
Setter for the Earth shape.
|
void |
setEnabled(boolean b) |
void |
setMassPropertiesVisible(boolean visible)
Sets the mass properties and the total mass visible / invisible.
|
void |
setSavedVehicle(fr.cnes.sirius.patrius.assembly.Vehicle vehicle)
Setter for the saved vehicle.
|
void |
setVehicle(fr.cnes.sirius.patrius.assembly.Vehicle vehicle)
Setter for the vehicle.
|
void |
setWidgetId(String widgetId) |
void |
unregisterObserver(fr.cnes.genius.observer.GObserver observer) |
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
protected void |
updateIsModifiedIndicator() |
void |
write() |
clearConstraint, getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getLayoutConstraints, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, processMouseWheelEvent, put, setClassConstraint, setColumnConstraints, setConstraint, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setMargins, setPanelConstraints, setPreferredSize, setRowConstraints, setUnitIncrement, setVerticalScroll, unput
activateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getPathInConfigFile, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isForcedStatus, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidth, setWindowBusyCursor, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem
public GPVehicle()
public GPVehicle(String label)
label
- widget labelpublic GPVehicle(String widgetId, String label)
widgetId
- widget identifier, if null an identifier will be automatically createdlabel
- widget labelpublic GPVehicle(String label, boolean showMassProperties, boolean showPropulsiveProperties, boolean showAeroProperties, boolean showAeroExpertSettings, boolean showRadiativeProperties)
label
- widget labelshowMassProperties
- if true, masses appear (dry and total)showPropulsiveProperties
- if true, propulsive properties appearshowAeroProperties
- if true, aerodynamic properties appearshowAeroExpertSettings
- if true and showAeroProperties true, tabulated coefficients
appear too for sphere shapeshowRadiativeProperties
- if true, radiative properties appearpublic GPVehicle(String widgetId, String label, boolean showMassProperties, boolean showPropulsiveProperties, boolean showAeroProperties, boolean showAeroExpertSettings, boolean showRadiativeProperties)
widgetId
- widget identifier, if null an identifier will be automatically createdlabel
- widget labelshowMassProperties
- if true, masses appear (dry and total)showPropulsiveProperties
- if true, propulsive properties appearshowAeroProperties
- if true, aerodynamic properties appearshowAeroExpertSettings
- if true and showAeroProperties true, tabulated coefficients
appear too for sphere shapeshowRadiativeProperties
- if true, radiative properties appearpublic GPVehicle(String label, fr.cnes.sirius.patrius.assembly.Vehicle vehicle)
label
- widget labelvehicle
- initial vehicle to be set in the widget.public GPVehicle(String label, fr.cnes.sirius.patrius.assembly.Vehicle vehicle, boolean showMassProperties, boolean showPropulsiveProperties, boolean showAeroProperties, boolean showAeroExpertSettings, boolean showRadiativeProperties)
label
- widget labelvehicle
- initial vehicle to be set in the widget. IMPORTANT: It must be compatible with
the different show*Properties arguments.showMassProperties
- if true, masses appear (dry and total)showPropulsiveProperties
- if true, propulsive properties appearshowAeroProperties
- if true, aerodynamic properties appearshowAeroExpertSettings
- if true and showAeroProperties true, tabulated coefficients
appear too for sphere shapeshowRadiativeProperties
- if true, radiative properties appearpublic GPVehicle(String widgetId, String label, fr.cnes.sirius.patrius.assembly.Vehicle vehicle, boolean showMassProperties, boolean showPropulsiveProperties, boolean showAeroProperties, boolean showAeroExpertSettings, boolean showRadiativeProperties)
widgetId
- widget identifier, if null an identifier will be automatically createdlabel
- widget labelvehicle
- initial vehicle to be set in the widget. IMPORTANT: It must be compatible with
the different show*Properties arguments.showMassProperties
- if true, masses appear (dry and total)showPropulsiveProperties
- if true, propulsive properties appearshowAeroProperties
- if true, aerodynamic properties appearshowAeroExpertSettings
- if true and showAeroProperties true, tabulated coefficients
appear too for sphere shapeshowRadiativeProperties
- if true, radiative properties appearpublic void setWidgetId(String widgetId)
setWidgetId
in class fr.cnes.genius.main.GComponent
public final void setDefaultConstraints()
setDefaultConstraints
in class fr.cnes.genius.lowLevel.GPanel
public 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.GComponent
public fr.cnes.genius.highLevel.GLabelWithIndicator getGLabel()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealTotalMass()
public fr.cnes.genius.main.GComponent getGSeparatorMassProps()
public GPVehicleMassProps getGPVehicleMassProps()
public fr.cnes.genius.main.GComponent getGSeparatorVehicleShape()
public GPVehicleShape getGPVehicleShape()
public fr.cnes.genius.main.GComponent getGSeparatorPropulsiveProps()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxPropulsiveProps()
public GPVehiclePropulsiveProps getGPVehiclePropulsiveProps()
public fr.cnes.genius.main.GComponent getGSeparatorAeroProps()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxAeroProps()
public GPVehicleAeroProps getGPVehicleAeroProps()
public fr.cnes.genius.main.GComponent getGSeparatorRadiativeProps()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxRadiativeProps()
public GPVehicleRadiativeProps getGPVehicleRadiativeProps()
public fr.cnes.genius.lowLevel.GSeparator getGEntryRealDragCoeff(int i)
i
- separator indexpublic void generic() throws fr.cnes.genius.exception.GException
generic
in class fr.cnes.genius.lowLevel.GPanel
fr.cnes.genius.exception.GException
public void display() throws fr.cnes.genius.exception.GException
display
in interface fr.cnes.genius.main.GDisplay
fr.cnes.genius.exception.GException
public void read() throws fr.cnes.genius.exception.GException
read
in interface fr.cnes.genius.main.GReadWrite
fr.cnes.genius.exception.GException
public void write() throws fr.cnes.genius.exception.GException
write
in interface fr.cnes.genius.main.GReadWrite
fr.cnes.genius.exception.GException
public void clear() throws fr.cnes.genius.exception.GException
clear
in interface fr.cnes.genius.main.GClear
fr.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.GListener
fr.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.GListener
fr.cnes.genius.exception.GException
public final boolean hasMassProperties()
public final boolean hasPropulsiveProperties()
public final boolean hasAeroProperties()
public final boolean hasRadiativeProperties()
public fr.cnes.sirius.patrius.assembly.properties.MassProperty getMassProperty() throws GPVehicleException
GPVehicleException
- if it has no mass properties defined or if the dry mass is
negative.public fr.cnes.sirius.patrius.assembly.vehicle.AerodynamicProperties getAerodynamicProperties() throws GPVehicleException
GPVehicleException
- if it has no aerodynamic properties definedpublic fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties getRadiativeProperties() throws GPVehicleException
GPVehicleException
- if it has no radiative properties definedpublic fr.cnes.sirius.patrius.assembly.Vehicle getPatriusObject() throws GPVehicleException
getPatriusObject
in interface GPPatrius<fr.cnes.sirius.patrius.assembly.Vehicle>
GPVehicleException
- if dry mass is negativepublic fr.cnes.sirius.patrius.assembly.Vehicle getPatriusObject(Object... args) throws fr.cnes.genius.exception.GException
getPatriusObject
in interface GPPatriusWithObjects<fr.cnes.sirius.patrius.assembly.Vehicle>
args
- The parameters are 0: OneAxisEllipsoid 1: Atmosphere.fr.cnes.genius.exception.GException
- if the PATRIUS object cannot be created from the widget data.public fr.cnes.sirius.patrius.assembly.Assembly getAssembly(fr.cnes.sirius.patrius.frames.Frame propagationFrame) throws GPVehicleException, fr.cnes.sirius.patrius.utils.exception.PatriusException
propagationFrame
- propagation frameGPVehicleException
- if dry mass is negativefr.cnes.sirius.patrius.utils.exception.PatriusException
- problem to the assembly creationpublic void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus
in interface fr.cnes.genius.main.GCondensedStatusInterface
public boolean isEnabled()
isEnabled
in class fr.cnes.genius.main.GComponent
public void setEnabled(boolean b)
setEnabled
in class fr.cnes.genius.main.GComponent
public boolean isModified()
isModified
in class fr.cnes.genius.main.GComponent
protected void updateIsModifiedIndicator()
updateIsModifiedIndicator
in class fr.cnes.genius.main.GComponent
public fr.cnes.genius.main.GComponent getSubComponent(int position) throws fr.cnes.genius.exception.GComponentException
getSubComponent
in class fr.cnes.genius.main.GComponent
fr.cnes.genius.exception.GComponentException
public String[] getEngineNames() throws GPVehicleException
GPVehicleException
- if propulsive features were not definedpublic String[] getTankNames() throws GPVehicleException
GPVehicleException
- if propulsive features were not definedpublic ArrayList<fr.cnes.sirius.patrius.assembly.properties.TankProperty> getFuelTankList()
getFuelTankList
in interface GFuelTankEngineProvider
public ArrayList<fr.cnes.sirius.patrius.assembly.properties.PropulsiveProperty> getEngineList()
getEngineList
in interface GFuelTankEngineProvider
public void registerObserver(fr.cnes.genius.observer.GObserver observer)
registerObserver
in interface fr.cnes.genius.observer.GObservable
public void unregisterObserver(fr.cnes.genius.observer.GObserver observer)
unregisterObserver
in interface fr.cnes.genius.observer.GObservable
public void notifyObservers(Object... args)
notifyObservers
in interface fr.cnes.genius.observer.GObservable
public final void setVehicle(fr.cnes.sirius.patrius.assembly.Vehicle vehicle) throws GPVehicleException, fr.cnes.genius.exception.GArithmeticException
vehicle
- vehicle to be setGPVehicleException
- if there is any kind of incompatibility between the input vehicle
and the widget.fr.cnes.genius.exception.GArithmeticException
- if dryMass is NaN, orpublic final void setDefaultVehicle(fr.cnes.sirius.patrius.assembly.Vehicle vehicle) throws GPVehicleException, fr.cnes.genius.exception.GArithmeticException
vehicle
- the default vehicle to be setGPVehicleException
- if there is any kind of incompatibility between the input vehicle
and the widget.fr.cnes.genius.exception.GArithmeticException
- if dryMass is NaN, orpublic final void setSavedVehicle(fr.cnes.sirius.patrius.assembly.Vehicle vehicle) throws GPVehicleException, fr.cnes.genius.exception.GArithmeticException
vehicle
- the saved vehicle to be setGPVehicleException
- if there is any kind of incompatibility between the input vehicle
and the widget.fr.cnes.genius.exception.GArithmeticException
- if dryMass is NaN, orpublic void setEarthShape(fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid earthShape) throws fr.cnes.genius.exception.GArithmeticException
earthShape
- the Earth's shapefr.cnes.genius.exception.GArithmeticException
- if equatorial radius or flatness in earthShape are NaNpublic fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid getEarthShape()
public void setAtmosphere(fr.cnes.sirius.patrius.forces.atmospheres.Atmosphere atmosphere)
atmosphere
- the atmospherepublic fr.cnes.sirius.patrius.forces.atmospheres.Atmosphere getAtmosphere()
public void setMassPropertiesVisible(boolean visible)
visible
- visible if true; invisible if falseCopyright © 2023. All rights reserved.