|
||||||||||
| 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.GContainer
fr.cnes.genopus.vehicle.GPVehicleRadiativeProps
public class GPVehicleRadiativeProps
Widget representing the vehicle radiative properties.
| 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) |
| Nested Class Summary |
|---|
| 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 |
| Nested classes/interfaces inherited from interface fr.cnes.genopus.main.GPPatriusWithObjects |
|---|
GPPatriusWithObjects.ArgsChecker |
| Field Summary |
|---|
| Fields inherited from class fr.cnes.genius.main.GComponent |
|---|
NAME_ATTRIBUTE |
| Constructor Summary | |
|---|---|
GPVehicleRadiativeProps(String widgetId,
String name)
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()
|
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). |
CustomRadiativeProperties |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget. |
CustomRadiativeProperties |
getPatriusObject(Object... args)
Returns the PATRIUS object associated to a GENOPUS widget. |
fr.cnes.genius.main.GComponent |
getSubComponent(int position)
|
CustomVehicleSurfaceModel |
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 |
setDefaultRadiativeProperties(CustomRadiativeProperties 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(CustomRadiativeProperties radiativeProperties)
Setter for the radiative properties. |
void |
setSavedRadiativeProperties(CustomRadiativeProperties radiativeProperties)
Setter for the saved radiative properties. |
void |
setSurfaceModel(CustomVehicleSurfaceModel 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()
|
| Methods inherited from class fr.cnes.genius.lowLevel.GContainer |
|---|
put |
| Methods inherited from class fr.cnes.genius.main.GComponent |
|---|
activateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, 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, 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 GPVehicleRadiativeProps(String widgetId,
String name)
widgetId - widget identifier, if null an identifier will be automatically createdname - name in configuration file| 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 void setSurfaceModel(CustomVehicleSurfaceModel vehicleSurfaceModel)
getPatriusObject() method.
vehicleSurfaceModel - vehicle surface model.public CustomVehicleSurfaceModel 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.GException
public void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GContainerfr.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.GException
public CustomRadiativeProperties getPatriusObject()
throws GPVehicleException
getPatriusObject in interface GPPatrius<CustomRadiativeProperties>GPVehicleException - if the surface model is null
public CustomRadiativeProperties getPatriusObject(Object... args)
throws fr.cnes.genius.exception.GException
getPatriusObject in interface GPPatriusWithObjects<CustomRadiativeProperties>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.GComponent
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 setRadiativeProperties(CustomRadiativeProperties radiativeProperties)
radiativeProperties - the radiative properties.public void setDefaultRadiativeProperties(CustomRadiativeProperties radiativeProperties)
radiativeProperties - the default radiative properties.public void setSavedRadiativeProperties(CustomRadiativeProperties radiativeProperties)
radiativeProperties - the saved radiative properties.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||