public class GPVehicleRadiativeProps extends fr.cnes.genius.lowLevel.GContainer implements fr.cnes.genius.main.GReadWrite, fr.cnes.genius.main.GListener, fr.cnes.genius.main.GDisplay, fr.cnes.genius.main.GClear, fr.cnes.genius.main.GCondensedStatusInterface, GPPatriusWithObjects<fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties>
| Index | Class | Item | Constraint |
| 0 | GPRadiativeProperty | radiativeProperty | "newline" (see table below) |
| 1 | GCheckBoxWithIndicator | infraPropCheckbox | 1, 0, 0
=> "newline , gapleft 20 , split 2" 1, 0, 1 => (null) 1, 1 => (null) |
| 2 | GPRadiativeIRProperty | radiativeIRProperty | "newline" (see table below) |
| Index | Class | Item | Constraint |
| 0, 0 | GLabelWithIndicator | label | 0, 0, 0 =>
"newline , gapleft 20 , split 2" 0, 0, 1 => (null) |
| 0, 1 | GEntryReal | diffuseCoefEntryReal | 0, 1, 0, 0 =>
"newline , gapleft 40 , split 2" 0, 1, 0, 1 => (null) 0, 1, 1 => (null) |
| 0, 2 | GEntryReal | specularCoefEntryReal | 0, 2, 0, 0 =>
"newline , gapleft 40 , split 2" 0, 2, 0, 1 => (null) 0, 2, 1 => (null) |
| 0, 3 | GEntryReal | diffuseCoefEntryReal | 0, 3, 0, 0 =>
"newline , gapleft 40 , split 2" 0, 3, 0, 1 => (null) 0, 3, 1 => (null) |
| Index | Class | Item | Constraint |
| 2, 0 | GLabelWithIndicator | label | 2, 0, 0
=> "newline , gapleft 40 , split 2" 2, 0, 1 => (null) |
| 2, 1 | GEntryReal | diffuseCoefEntryReal | 2, 1, 0, 0 =>
"newline , gapleft 60 , split 2" 2, 1, 0, 1 => (null) 2, 1, 1 => (null) |
| 2, 2 | GEntryReal | specularCoefEntryReal | 2, 2, 0, 0 =>
"newline , gapleft 60 , split 2" 2, 2, 0, 1 => (null) 2, 2, 1 => (null) |
| 2, 3 | GEntryReal | diffuseCoefEntryReal | 2, 3, 0, 0 =>
"newline , gapleft 60 , split 2" 2, 3, 0, 1 => (null) 2, 3, 1 => (null) |
fr.cnes.genius.main.GComponent.CopyPasteOperation, fr.cnes.genius.main.GComponent.DisplayIndicatorStatus, fr.cnes.genius.main.GComponent.ItemType, fr.cnes.genius.main.GComponent.OperationGPPatriusWithObjects.ArgsChecker| Constructor and Description |
|---|
GPVehicleRadiativeProps()
Creates a new instance with empty label.
|
GPVehicleRadiativeProps(String widgetId,
String name)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
after(fr.cnes.genius.main.GEvent e) |
void |
before(fr.cnes.genius.main.GEvent e) |
void |
clear() |
void |
display() |
void |
generic() |
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxIRCoeffs()
Getter for the checkbox for the coefficients of the infrared domain.
|
GPRadiativeIRProperty |
getGPRadiativeIRProperty()
Getter for the radiative property (infrared domain).
|
GPRadiativeProperty |
getGPRadiativeProperty()
Getter for the radiative property (visible domain).
|
fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties |
getPatriusObject(Object... args)
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
fr.cnes.sirius.patrius.assembly.vehicle.VehicleSurfaceModel |
getSurfaceModel()
Method to get the vehicle surface model that will allow to get the radiative properties.
|
boolean |
hasIRProps()
Method to check if the vehicle has solar panels defined.
|
boolean |
isEnabled() |
boolean |
isModified() |
void |
read() |
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget.
|
void |
setDefaultConstraints()
Setter for the default constraint of the widget.
|
void |
setDefaultRadiativeProperties(fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties radiativeProperties)
Setter for the default radiative properties.
|
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 |
setRadiativeProperties(fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties radiativeProperties)
Setter for the radiative properties.
|
void |
setSavedRadiativeProperties(fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties radiativeProperties)
Setter for the saved radiative properties.
|
void |
setSurfaceModel(fr.cnes.sirius.patrius.assembly.vehicle.VehicleSurfaceModel vehicleSurfaceModel)
Method to set the vehicle surface model that will allow to get the radiative properties.
|
void |
setWidgetId(String widgetId) |
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
protected void |
updateIsModifiedIndicator() |
void |
write() |
activateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, 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, processMouseWheelEvent, setBusyCursor, setCommentInConfigFile, setConstraint, 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, writeConfigItempublic GPVehicleRadiativeProps()
public void setWidgetId(String widgetId)
setWidgetId in class fr.cnes.genius.main.GComponentpublic void setDefaultConstraints()
setDefaultConstraints 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 setSurfaceModel(fr.cnes.sirius.patrius.assembly.vehicle.VehicleSurfaceModel vehicleSurfaceModel)
getPatriusObject() method.vehicleSurfaceModel - vehicle surface model.public fr.cnes.sirius.patrius.assembly.vehicle.VehicleSurfaceModel getSurfaceModel()
public GPRadiativeProperty getGPRadiativeProperty()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxIRCoeffs()
public GPRadiativeIRProperty getGPRadiativeIRProperty()
public void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GExceptionpublic void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GContainerfr.cnes.genius.exception.GExceptionpublic void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplayfr.cnes.genius.exception.GExceptionpublic void read()
throws fr.cnes.genius.exception.GException
read in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GExceptionpublic void write()
throws fr.cnes.genius.exception.GException
write in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GExceptionpublic 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.GExceptionpublic 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 fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties getPatriusObject()
throws GPVehicleException
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties>GPVehicleException - if the surface model is nullpublic fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties getPatriusObject(Object... args) throws fr.cnes.genius.exception.GException
getPatriusObject in interface GPPatriusWithObjects<fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties>args - requiered input objects to generate the patrius object.fr.cnes.genius.exception.GException - if the PATRIUS object cannot be created from the widget data.public boolean hasIRProps()
public void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfacepublic 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.protected void updateIsModifiedIndicator()
updateIsModifiedIndicator in class fr.cnes.genius.main.GComponentpublic 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 setRadiativeProperties(fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties radiativeProperties)
throws fr.cnes.genius.exception.GArithmeticException
radiativeProperties - the radiative properties.fr.cnes.genius.exception.GArithmeticException - if any of the radiative coefficients in radiativeProperty is
NaN.public void setDefaultRadiativeProperties(fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties radiativeProperties)
throws fr.cnes.genius.exception.GArithmeticException
radiativeProperties - the default radiative properties.fr.cnes.genius.exception.GArithmeticException - if any of the radiative coefficients in radiativeProperty is
NaN.public void setSavedRadiativeProperties(fr.cnes.sirius.patrius.assembly.vehicle.RadiativeProperties radiativeProperties)
throws fr.cnes.genius.exception.GArithmeticException
radiativeProperties - the saved radiative properties.fr.cnes.genius.exception.GArithmeticException - if any of the radiative coefficients in radiativeProperty is
NaN.Copyright © 2025. All rights reserved.