|
||||||||||
| 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.GPEngine
public class GPEngine
Widget for engine definition.
| Index | Class | Item | Constraint |
| 0 | GLabelWithIndicator | label | 0, 0 => "newline , gapleft 0" 0, 1 => (null) |
| 1 | GEntryString | entryStringName | 1, 0, 0 => "newline , gapleft 20" 1, 0, 1 => (null) 1, 1 => (null) |
| 2 | GEntryReal | entryRealIsp | 2, 0, 0 => "newline , gapleft 20" 2, 0, 1 => (null) 2, 1 => (null) 2, 2 => (null) |
| 3 | GEntryReal | entryRealThrust | 3, 0, 0 => "newline , gapleft 20" 3, 0, 1 => (null) 3, 1 => (null) 3, 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 | |
|---|---|
GPEngine()
Constructor without engine and label (convenient for GComponentList). |
|
GPEngine(CustomEngine engine)
Constructor. |
|
GPEngine(String engineName)
Constructor without engine. |
|
GPEngine(String engineName,
CustomEngine engine)
Constructor. |
|
GPEngine(String widgetId,
String engineName)
Constructor. |
|
GPEngine(String widgetId,
String label,
CustomEngine engine)
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()
|
GPEngine |
clone()
|
void |
display()
|
void |
generic()
|
static int |
getCount()
Getter for the engines counter. |
String |
getEngineName()
Get engine name. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealIsp()
Getter for the GEntryReal (m_isp) of the widget. |
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealThrust()
Getter for the GEntryReal (m_thrust) of the widget. |
fr.cnes.genius.highLevel.GEntryString |
getGEntryStingEngineName()
Getter for the GEntryString (m_engineName) of the widget. |
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the GLabel of the widget. |
CustomEngine |
getPatriusObject()
Get engine. |
fr.cnes.genius.main.GComponent |
getSubComponent(int position)
|
boolean |
isEnabled()
|
boolean |
isModified()
|
void |
read()
|
static void |
setCount(int count)
Getter for the engines counter. |
void |
setDefaultEngine(CustomEngine defaultEngine)
Setter for the default engine. |
void |
setEnabled(boolean b)
|
void |
setEngine(CustomEngine engine)
Setter for the engine. |
void |
setSavedEngine(CustomEngine savedEngine)
Setter for the reference engine. |
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 GPEngine()
public GPEngine(CustomEngine engine)
engine - default engine to set in the widget.public GPEngine(String engineName)
engineName - engine name to display in the label.
public GPEngine(String engineName,
CustomEngine engine)
engineName - text to display in the label.engine - default engine to set in the widget.
public GPEngine(String widgetId,
String engineName)
widgetId - widget identifier, if null an identifier will be automatically created.engineName - text to display in the label.
public GPEngine(String widgetId,
String label,
CustomEngine engine)
widgetId - widget identifier, if null an identifier will be automatically created.label - text to display in the label.engine - default engine to set in the widget.| Method Detail |
|---|
public static int getCount()
public static void setCount(int count)
count - the number of already created engines until now.public fr.cnes.genius.highLevel.GLabelWithIndicator getGLabel()
public fr.cnes.genius.highLevel.GEntryString getGEntryStingEngineName()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealIsp()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealThrust()
public void setEngine(CustomEngine engine)
engine - engine to set.public void setDefaultEngine(CustomEngine defaultEngine)
defaultEngine - default engine to set.public void setSavedEngine(CustomEngine savedEngine)
savedEngine - reference engine 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 getEngineName()
public CustomEngine getPatriusObject()
getPatriusObject in interface GPPatrius<CustomEngine>
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 GPEngine clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||