|
||||||||||
| 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.GPanel
fr.cnes.genopus.maneuvers.GPFuelTank
public class GPFuelTank
Widget for fuel tank definition.
| Index | Class | Item | Constraint |
| 0 | GLabelWithIndicator | label | 0, 0 => "newline , gapleft 0" 0, 1 => (null) |
| 1 | GEntryString | entryStringTankName | 1, 0, 0 =>
"newline , gapleft 20" 1, 0, 1 => (null) 1, 1 => (null) |
| 2 | GEntryReal | entryRealPropMass | 2, 0, 0 => "newline , gapleft 20" 2, 0, 1 => (null) 2, 1 => (null) 2, 2 => (null) |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class fr.cnes.genius.lowLevel.GPanel |
|---|
fr.cnes.genius.lowLevel.GPanel.Panel, fr.cnes.genius.lowLevel.GPanel.ScrollBarVisibility |
| 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 | |
|---|---|
GPFuelTank()
Constructor without tank and label (convenient for GComponentList). |
|
GPFuelTank(CustomFuelTank tank)
Constructor. |
|
GPFuelTank(String tankName)
Constructor without tank. |
|
GPFuelTank(String label,
CustomFuelTank tank)
Constructor. |
|
GPFuelTank(String widgetId,
String tankName)
Constructor. |
|
GPFuelTank(String widgetId,
String label,
CustomFuelTank tank)
Constructor. |
|
| Method Summary | |
|---|---|
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()
|
GPFuelTank |
clone()
|
void |
display()
|
void |
generic()
|
static int |
getCount()
Getter for the tanks counter. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealPropellantMass()
Getter for the GEntryReal (m_propellantMass) of the widget. |
fr.cnes.genius.highLevel.GEntryString |
getGEntryStingTankName()
Getter for the GEntryString (m_tankName) of the widget. |
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the GLabel of the widget. |
CustomFuelTank |
getPatriusObject()
Get tank. |
fr.cnes.genius.main.GComponent |
getSubComponent(int position)
|
String |
getTankName()
Get tank name. |
boolean |
isEnabled()
|
boolean |
isModified()
|
void |
read()
|
static void |
setCount(int count)
Getter for the tanks counter. |
void |
setDefaultTank(CustomFuelTank defaultTank)
Setter for the default tank. |
void |
setEnabled(boolean b)
|
void |
setSavedTank(CustomFuelTank savedTank)
Setter for the reference tank. |
void |
setTank(CustomFuelTank tank)
Setter for the tank. |
void |
setWidgetId(String widgetId)
|
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
|
void |
updateIsModifiedIndicator()
|
void |
write()
|
| Methods inherited from class fr.cnes.genius.lowLevel.GPanel |
|---|
getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, put, setClassConstraint, setColumnConstraints, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setPreferredSize, setRowConstraints, setVerticalScroll |
| Methods inherited from class fr.cnes.genius.main.GComponent |
|---|
activateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, 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 |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GPFuelTank()
public GPFuelTank(CustomFuelTank tank)
tank - default tank to set in the widget.public GPFuelTank(String tankName)
tankName - text to display in the label.
public GPFuelTank(String label,
CustomFuelTank tank)
label - text to display in the label.tank - default tank to set in the widget.
public GPFuelTank(String widgetId,
String tankName)
widgetId - widget identifier, if null an identifier will be automatically created.tankName - text to display in the label.
public GPFuelTank(String widgetId,
String label,
CustomFuelTank tank)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.tank - default tank to set in the widget.| Method Detail |
|---|
public static int getCount()
public static void setCount(int count)
count - the number of already created tanks until now.public fr.cnes.genius.highLevel.GLabelWithIndicator getGLabel()
public fr.cnes.genius.highLevel.GEntryString getGEntryStingTankName()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealPropellantMass()
public void setTank(CustomFuelTank tank)
tank - tank to set.public void setDefaultTank(CustomFuelTank defaultTank)
defaultTank - default tank to set.public void setSavedTank(CustomFuelTank savedTank)
savedTank - reference tank to set.
public void attachCopyPasteMenu(String label,
fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu in class fr.cnes.genius.main.GComponentpublic void updateIsModifiedIndicator()
updateIsModifiedIndicator in class fr.cnes.genius.main.GComponentpublic 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.GComponent
public void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GPanelfr.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.GExceptionpublic String getTankName()
public CustomFuelTank getPatriusObject()
getPatriusObject in interface GPPatrius<CustomFuelTank>
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
public void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.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 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 updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfacepublic void setWidgetId(String widgetId)
setWidgetId in class fr.cnes.genius.main.GComponent
public GPFuelTank clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||