|
||||||||||
| 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.GPVehicleMassProps
public class GPVehicleMassProps
Widger for vehicle definition panel.
| Index | Class | Item | Constraint |
| 0 | GEntryReal | dryMassEntryReal | 0, 0, 0 => "newline , gapleft 20 , split 2" 0, 0, 1 => (null) 0, 1 => "split 2" 0, 2 => (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 | |
|---|---|
GPVehicleMassProps(String widgetId,
String name)
Create a new instance. |
|
GPVehicleMassProps(String widgetId,
String name,
Double dryMass)
Create a new instance with an initial dry mass. |
|
| 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 |
getDryMass()
Get the dry mass. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealDryMass()
Getter for the entry real to set the dry mass. |
fr.cnes.sirius.patrius.assembly.properties.MassProperty |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget. |
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 |
setDefaultDryMass(Double dryMass)
Setter for the default dry mass. |
void |
setDisplayIsModifiedIndicatorAll(fr.cnes.genius.main.GComponent.DisplayIndicatorStatus displayIndicatorStatus)
Controls the display of the isModified indicator of all sub-widgets. |
void |
setDryMass(Double dryMass)
Setter for the dry mass. |
void |
setEnabled(boolean b)
|
void |
setSavedDryMass(Double dryMass)
Setter for the saved dry mass. |
void |
setWidgetId(String widgetId)
|
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
|
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, 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 GPVehicleMassProps(String widgetId,
String name)
widgetId - widget identifier, if null an identifier will be automatically createdname - name in configuration file
public GPVehicleMassProps(String widgetId,
String name,
Double dryMass)
widgetId - widget identifier, if null an identifier will be automatically createdname - name in configuration filedryMass - default dry mass to set in the widget.| Method Detail |
|---|
public void setDryMass(Double dryMass)
dryMass - dry mass to be set.public void setDefaultDryMass(Double dryMass)
dryMass - dry mass to be set by default.public void setSavedDryMass(Double dryMass)
dryMass - dry mass to be set as saved one.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.GEntryReal getGEntryRealDryMass()
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 clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.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 getDryMass()
public fr.cnes.sirius.patrius.assembly.properties.MassProperty getPatriusObject()
throws GPVehicleException
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.assembly.properties.MassProperty>GPVehicleException - if it has no dry mass or if the dry mass is negative.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.
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.GComponentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||