fr.cnes.genopus.vehicle
Class GPRadiativeIRProperty

java.lang.Object
  extended by fr.cnes.genius.main.GComponent
      extended by fr.cnes.genius.lowLevel.GContainer
          extended by fr.cnes.genopus.vehicle.GPRadiativePropertyAbstract
              extended by fr.cnes.genopus.vehicle.GPRadiativeIRProperty
All Implemented Interfaces:
fr.cnes.genius.main.GClear, fr.cnes.genius.main.GCondensedStatusInterface, fr.cnes.genius.main.GDisplay, fr.cnes.genius.main.GListener, fr.cnes.genius.main.GReadWrite, GPPatrius<fr.cnes.sirius.patrius.assembly.properties.RadiativeIRProperty>

public class GPRadiativeIRProperty
extends GPRadiativePropertyAbstract
implements GPPatrius<fr.cnes.sirius.patrius.assembly.properties.RadiativeIRProperty>

Widget representing an infrared radiative property.

Author:
ffsm
Default Constraint(s):
IndexClassItemConstraint
0GLabelWithIndicatorlabel0, 0 => "newline , gapleft 0 , split 2"
0, 1 => (null)
1GEntryRealdiffuseCoefEntryReal1, 0, 0 => "newline , gapleft 20 , split 2"
1, 0, 1 => (null)
1, 1 => (null)
2GEntryRealspecularCoefEntryReal2, 0, 0 => "newline , gapleft 20 , split 2"
2, 0, 1 => (null)
2, 1 => (null)
3GEntryRealdiffuseCoefEntryReal3, 0, 0 => "newline , gapleft 20 , split 2"
3, 0, 1 => (null)
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
 
Field Summary
 
Fields inherited from class fr.cnes.genius.main.GComponent
NAME_ATTRIBUTE
 
Constructor Summary
GPRadiativeIRProperty(String widgetId, String label)
          Creates a new instance.
GPRadiativeIRProperty(String widgetId, String label, fr.cnes.sirius.patrius.assembly.properties.RadiativeIRProperty irRadiativeProperty)
          Creates a new instance.
 
Method Summary
 double getAbsorptionCoef()
          Get absorption coefficient (infrared domain).
 double getDiffuseReflectionCoef()
          Get diffuse coefficient (infrared domain).
 fr.cnes.sirius.patrius.assembly.properties.RadiativeIRProperty getPatriusObject()
          Returns the PATRIUS object associated to a GENOPUS widget.
 double getSpecularReflectionCoef()
          Get specular coefficient (infrared domain).
 void setDefaultValue(fr.cnes.sirius.patrius.assembly.properties.RadiativeIRProperty irRadiativeProperty)
          Setter for the default infrared radiative property.
 void setSavedValue(fr.cnes.sirius.patrius.assembly.properties.RadiativeIRProperty irRadiativeProperty)
          Setter for the saved infrared radiative property.
 void setValue(fr.cnes.sirius.patrius.assembly.properties.RadiativeIRProperty irRadiativeProperty)
          Setter for the infrared radiative property.
 
Methods inherited from class fr.cnes.genopus.vehicle.GPRadiativePropertyAbstract
after, before, clear, display, generic, getGEntryRealAbsCoeff, getGEntryRealDifCoeff, getGEntryRealSpcCoeff, getGLabel, getSubComponent, isEnabled, isModified, read, setConstraint, setDisplayIsModifiedIndicatorAll, setEnabled, setNameInConfigFile, setWidgetId, updateCondensedStatus, updateIsModifiedIndicator, updateStatus, 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, 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

GPRadiativeIRProperty

public GPRadiativeIRProperty(String widgetId,
                             String label,
                             fr.cnes.sirius.patrius.assembly.properties.RadiativeIRProperty irRadiativeProperty)
Creates a new instance.

Parameters:
widgetId - widget identifier, if null an identifier will be automatically created
label - widget label
irRadiativeProperty - initial infrared radiative property

GPRadiativeIRProperty

public GPRadiativeIRProperty(String widgetId,
                             String label)
Creates a new instance.

Parameters:
widgetId - widget identifier, if null an identifier will be automatically created
label - widget label
Method Detail

getPatriusObject

public fr.cnes.sirius.patrius.assembly.properties.RadiativeIRProperty getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.

Specified by:
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.assembly.properties.RadiativeIRProperty>
Returns:
the PATRIUS object associated to the widget.

setValue

public void setValue(fr.cnes.sirius.patrius.assembly.properties.RadiativeIRProperty irRadiativeProperty)
Setter for the infrared radiative property.

Parameters:
irRadiativeProperty - infrared radiative property

setDefaultValue

public void setDefaultValue(fr.cnes.sirius.patrius.assembly.properties.RadiativeIRProperty irRadiativeProperty)
Setter for the default infrared radiative property.

Parameters:
irRadiativeProperty - default infrared radiative property.

setSavedValue

public void setSavedValue(fr.cnes.sirius.patrius.assembly.properties.RadiativeIRProperty irRadiativeProperty)
Setter for the saved infrared radiative property.

Parameters:
irRadiativeProperty - saved infrared radiative property

getAbsorptionCoef

public double getAbsorptionCoef()
Get absorption coefficient (infrared domain).

Returns:
the absorption coefficient (infrared domain).

getSpecularReflectionCoef

public double getSpecularReflectionCoef()
Get specular coefficient (infrared domain).

Returns:
the specular coefficient (infrared domain)

getDiffuseReflectionCoef

public double getDiffuseReflectionCoef()
Get diffuse coefficient (infrared domain).

Returns:
the diffuse coefficient (infrared domain)


Copyright © 2017. All rights reserved.