|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object IcanGui.GuiHierarchy
public abstract class GuiHierarchy
Maintain GUI global data and hierarchy (what calls what).
Field Summary | |
---|---|
private static int |
current
The current class/window to do. |
private static GuiWindow[] |
doClass
Array of classes. |
private static int |
doFirst
The default class/window to start at. |
private static IcanFrame[] |
doFrame
Array of window frames. |
private static boolean |
doInit
Switch so that initialization of static variables is not repeated. |
private static int[] |
doPrev
Array of subscripts pointing to the calling/previous window/class. |
static int |
IDO_ICAN_DATA
Class and window subscript in hierarchy for GuiIcanData. |
static int |
IDO_ICAN_DATA_BOOLEANS
Class and window subscript in hierarchy for GuiIcanDataBooleans. |
static int |
IDO_ICAN_DATA_DAMPING
Class and window subscript in hierarchy for GuiDataDamping. |
static int |
IDO_ICAN_DATA_IMPACT
Class and window subscript in hierarchy for GuiDataImpact. |
static int |
IDO_ICAN_DATA_LOADS
Class and window subscript in hierarchy for GuiIcanDataLoads. |
static int |
IDO_ICAN_DATA_MATERIAL
Class and window subscript in hierarchy for GuiIcanDataMaterial. |
static int |
IDO_ICAN_DATA_OUTPUTS
Class and window subscript in hierarchy for GuiIcanDataOutputs. |
static int |
IDO_ICAN_DATA_PLOT_IMPACT
Class and window subscript in hierarchy for GuiIcanDataPlotImpact. |
static int |
IDO_ICAN_DATA_PLOTPL
Class and window subscript in hierarchy for GuiIcanDataPlotPL. |
static int |
IDO_ICAN_DATA_PLY
Class and window subscript in hierarchy for GuiIcanDataPly. |
static int |
IDO_ICAN_DATA_PROCESS
Class and window subscript in hierarchy for GuiIcanDataProcess. |
static int |
IDO_ICAN_DATA_REACTION
Class and window subscript in hierarchy for GuiIcanDataReaction. |
static int |
IDO_ICAN_DATA_SLICE
Class and window subscript in hierarchy for GuiIcanDataSlice. |
static int |
IDO_ICAN_DATA_SLICE_TABLE
Class and window subscript in hierarchy for GuiIcanDataSliceTable. |
static int |
IDO_ICAN_DATA_VVI
Class and window subscript in hierarchy for GuiIcanVoidVolumeItems. |
static int |
IDO_ICAN_DATA_VVR
Class and window subscript in hierarchy for GuiIcanVoidVolumeRatios. |
static int |
IDO_ICAN_ELECTRICAL_CYCLIC_LOADS
Class and window subscript in hierarchy for GuiIcanElectricalCyclicLoads. |
static int |
IDO_ICAN_ELECTRICAL_STATIC_LOADS
Class and window subscript in hierarchy for GuiIcanElectricalStaticLoads. |
static int |
IDO_ICAN_EXPERT
Class and window subscript in hierarchy for GuiExpert. |
static int |
IDO_ICAN_HYGRAL_CYCLIC_LOADS
Class and window subscript in hierarchy for GuiIcanHygralCyclicLoads. |
static int |
IDO_ICAN_HYGRAL_STATIC_LOADS
Class and window subscript in hierarchy for GuiIcanHygralStaticLoads. |
static int |
IDO_ICAN_MECH_CYCLIC_LOADS
Class and window subscript in hierarchy for GuiIcanMechCyclicLoads. |
static int |
IDO_ICAN_MECH_STATIC_DISPLACEMENTS
Class and window subscript in hierarchy for GuiIcanMechStaticDisplacements. |
static int |
IDO_ICAN_MECH_STATIC_LOADS
Class and window subscript in hierarchy for GuiIcanMechStaticLoads. |
static int |
IDO_ICAN_MORE_LOADS
Class and window subscript in hierarchy for GuiIcanMoreLoads. |
static int |
IDO_ICAN_PROMPT
Class and window subscript in hierarchy for GuiIcanPrompt. |
static int |
IDO_ICAN_RATE_LOADS
Class and window subscript in hierarchy for GuiIcanRateLoads. |
static int |
IDO_ICAN_THERMAL_CYCLIC_LOADS
Class and window subscript in hierarchy for GuiIcanThermalCyclicLoads. |
static int |
IDO_ICAN_THERMAL_STATIC_LOADS
Class and window subscript in hierarchy for GuiIcanThermalStaticLoads. |
static int |
IDO_MAIN
Class and window subscript in hierarchy for GuiMain. |
static int |
IDO_MDB_DATA_MFIM
Class and window subscript in hierarchy for GuiMdbDataMfim. |
static int |
IDO_MDB_DATA_START
Starting class and window subscript in hierarchy for GuiMdbData. |
static int |
IDO_MDB_PROMPT
Class and window subscript in hierarchy for GuiMdbPrompt. |
static int |
IDO_MSG_DATA
Class and window subscript in hierarchy for GuiMsgData. |
private static int |
lastIdo
The previous class/window to return to for a quickie. |
static int |
NDO
Number of GUI classes (= number of windows) to keep track of. |
private static int |
nMdbTypes
Number of variable items based on the number of different kinds of data in the Material property DataBank. |
Constructor Summary | |
---|---|
GuiHierarchy()
Constructor saves GUI window hierarchy. |
Method Summary | |
---|---|
void |
changeAllGuiUnits()
Change units on GUI for this class. |
static void |
exitGui(int nerr)
Dispose of all window frames and exit this application/applet. |
static int |
getCurrent()
Get current class/window subscript. |
static IcanFrame |
getFrame()
Get current window frame. |
static IcanFrame |
getFrame(int iwh)
Get specified window frame. |
static GuiWindow |
getGuiWindowClass()
Get current window class. |
static GuiWindow |
getGuiWindowClass(int iwh)
Get specified window class. |
static void |
hideMe()
Remove current window from screen. |
void |
initHierarchy(int iwh,
IcanFrame whf,
GuiWindow whc)
Save corresponding class and window frame. |
abstract void |
setCompFocus()
Set focus in current class/frame. |
abstract void |
setCompFocus(java.awt.Component cFocus)
Set focus in current class/frame. |
static void |
setCurrent(int phase)
Set current class/window subscript from specified value. |
static void |
setNextUp()
Set current class/window subscript to next class up in the GUI window hierarchy. |
static void |
showMe()
Display the current window. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int IDO_MAIN
public static final int IDO_ICAN_EXPERT
public static final int IDO_ICAN_PROMPT
public static final int IDO_ICAN_DATA
public static final int IDO_ICAN_DATA_BOOLEANS
public static final int IDO_ICAN_DATA_PLY
public static final int IDO_ICAN_DATA_MATERIAL
public static final int IDO_ICAN_DATA_VVR
public static final int IDO_ICAN_DATA_VVI
public static final int IDO_ICAN_DATA_LOADS
public static final int IDO_ICAN_MECH_STATIC_LOADS
public static final int IDO_ICAN_MECH_CYCLIC_LOADS
public static final int IDO_ICAN_MECH_STATIC_DISPLACEMENTS
public static final int IDO_ICAN_THERMAL_STATIC_LOADS
public static final int IDO_ICAN_THERMAL_CYCLIC_LOADS
public static final int IDO_ICAN_HYGRAL_STATIC_LOADS
public static final int IDO_ICAN_HYGRAL_CYCLIC_LOADS
public static final int IDO_ICAN_ELECTRICAL_STATIC_LOADS
public static final int IDO_ICAN_ELECTRICAL_CYCLIC_LOADS
public static final int IDO_ICAN_MORE_LOADS
public static final int IDO_ICAN_RATE_LOADS
public static final int IDO_ICAN_DATA_DAMPING
public static final int IDO_ICAN_DATA_REACTION
public static final int IDO_ICAN_DATA_IMPACT
public static final int IDO_ICAN_DATA_OUTPUTS
public static final int IDO_ICAN_DATA_SLICE
public static final int IDO_ICAN_DATA_SLICE_TABLE
public static final int IDO_MDB_PROMPT
public static final int IDO_MDB_DATA_MFIM
public static final int IDO_MSG_DATA
public static final int IDO_ICAN_DATA_PROCESS
public static final int IDO_ICAN_DATA_PLOTPL
public static final int IDO_ICAN_DATA_PLOT_IMPACT
public static final int IDO_MDB_DATA_START
private static final int nMdbTypes
public static final int NDO
private static final int doFirst
private static int current
private static int lastIdo
private static boolean doInit
private static int[] doPrev
private static IcanFrame[] doFrame
private static GuiWindow[] doClass
Constructor Detail |
---|
public GuiHierarchy()
Method Detail |
---|
public void initHierarchy(int iwh, IcanFrame whf, GuiWindow whc)
iwh
- Class/window subscript.whf
- GUI window/frame to save.whc
- GUI class to save.public static void setCurrent(int phase)
phase
- Next class/window subscript to set.public static int getCurrent()
public static void setNextUp()
public static void showMe()
public abstract void setCompFocus()
public abstract void setCompFocus(java.awt.Component cFocus)
cFocus
- Component to save to reset later.public static void hideMe()
public static IcanFrame getFrame()
public static IcanFrame getFrame(int iwh)
iwh
- Specified class/window subscript.
public static GuiWindow getGuiWindowClass()
public static GuiWindow getGuiWindowClass(int iwh)
iwh
- Specified class/window subscript.
public static void exitGui(int nerr)
nerr
- Number of errors, so far.public void changeAllGuiUnits()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |