Class ICAN

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Panel
              extended by java.applet.Applet
                  extended by ICAN
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class ICAN
extends java.applet.Applet

Start initialization and processing in the ICAN/JAVA program. The Graphical User Interface (GUI) is initialized in separate frames and control is passed to the first one.

Since:
1.0;
Version:
1.1.15;
Updated by Louis Handler on Dec 12, 2007, 14:31 EST (1.1.15).
Updated by Louis Handler on Apr 15, 2005, 15:18 EDT (1.1.0).
Updated by Louis Handler on Oct 7, 2002, 12:47 EDT.
Updated by Louis Handler on Oct 3, 2002, 10:12 EDT.
Updated by Louis Handler on Jun 28, 2002, 08:05 EDT.
Updated by Louis Handler on Mar 29, 2000, 15:08 EST.
Updated by Louis Handler on Mar 6, 2000, 10:31 EST.
Updated by Louis Handler on Feb 23, 2000, 09:15 EST.
Updated by Louis Handler on Dec 15, 1999, 13:32 EST.
Updated by Louis Handler on Nov 29, 1999, 08:32 EST.
Updated by Louis Handler on Jan 4, 1999, 08:57 EST.
Updated by Louis Handler on Dec 11, 1998, 08:51 EST.
Updated by Louis Handler on Nov 18, 1998, 15:58 EST.
Updated by Louis Handler on Nov 5, 1998, 10:11 EST.
Updated by Louis Handler on Nov 2, 1998, 08:04 EST.
Updated by Louis Handler on Jul 27, 1998, 08:30 EDT.
Updated by Louis Handler on Jul 16, 1998, 10:19 EDT.
Updated by Louis Handler on Jul 6, 1998, 07:59 EDT.
Updated by Louis Handler on Jul 2, 1998, 13:29 EDT.
Updated by Louis Handler on Jun 18, 1998, 13:04:17 EDT.
Author:
Louis Handler
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
 
Nested classes/interfaces inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  ComputeIcanData cmp
          Instance of ComputeIcanData class.
private  Output err
          Instance of Output class used for execution error output.
private  GuiExpert gExp
          Instance of GuiExpert GUI window.
private  GuiGlobals gg
          Instance of GuiGlobals class.
private  GuiIcanData gID
          Instance of GuiIcanData GUI window.
private  GuiIcanDataBooleans gIDB
          Instance of GuiIcanDataBooleans GUI window.
private  GuiIcanDataImpact gIDI
          Instance of GuiIcanDataImpact GUI window.
private  GuiIcanDataLoads gIDL
          Instance of GuiIcanDataLoads GUI window.
private  GuiIcanDataMaterial gIDM
          Instance of GuiIcanDataMaterial GUI window.
private  GuiIcanMoreLoads gIDMore
          Instance of GuiIcanMoreLoads time, frequency, and rates GUI control window.
private  GuiIcanDataOutputs gIDO
          Instance of GuiIcanDataOutputs GUI window.
private  GuiIcanDataPly gIDP
          Instance of GuiIcanDataPly GUI window.
private  GuiIcanRateLoads gIDRate
          Instance of GuiIcanRateLoads GUI Rate control window.
private  GuiIcanPrompt gIP
          Instance of GuiIcanPrompt GUI window.
private  GuiMain gMain
          Instance of GuiMain GUI window.
private  GuiMdbPrompt gMdbP
          Instance of GuiMdbPrompt GUI window.
private  GuiMdbData[] gMdbs
          Array of instances of GuiMdbData GUI windows.
private  GuiMdbDataMfim gMfim
          Instance of GuiMdbDataMfim GUI window.
private  GuiIcanDataPlotImpact gPlIV
          Instance of GuiIcanDataPlotImpact GUI plot control window.
private  GuiIcanDataPlotPL gPlPL
          Instance of GuiIcanDataPlotPL GUI plot control window.
private  GuiIcanDataProcess gProc
          Instance of GuiIcanDataProcess GUI plot control window.
private  boolean inApplet
          True if this is an applet; else, false if this is an application.
private  Output jrn
          Instance of Output class used for journalling.
private static int nMdbTypes
          Number of material DataBank types.
private  Output out
          Instance of Output class used for execution output.
private  IcanStart startMe
          Temporary message window to tell user to wait for completion of start-up.
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
ICAN()
          Same as default constructor.
 
Method Summary
 java.lang.String getAppletInfo()
          Returns information about this applet.
 java.lang.String getName()
          Get class name.
 void init()
          Begin here when run as an applet.
static void main(java.lang.String[] args)
          Begin here when run as an application.
 void start()
          Begin processing at the "first" frame.
 
Methods inherited from class java.applet.Applet
destroy, getAccessibleContext, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, stop
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

gg

private GuiGlobals gg
Instance of GuiGlobals class. Need constructor to set the static data.


inApplet

private boolean inApplet
True if this is an applet; else, false if this is an application.


startMe

private IcanStart startMe
Temporary message window to tell user to wait for completion of start-up.


gMain

private GuiMain gMain
Instance of GuiMain GUI window.


gExp

private GuiExpert gExp
Instance of GuiExpert GUI window.


gIP

private GuiIcanPrompt gIP
Instance of GuiIcanPrompt GUI window.


gID

private GuiIcanData gID
Instance of GuiIcanData GUI window.


gIDB

private GuiIcanDataBooleans gIDB
Instance of GuiIcanDataBooleans GUI window.


gIDP

private GuiIcanDataPly gIDP
Instance of GuiIcanDataPly GUI window.


gIDM

private GuiIcanDataMaterial gIDM
Instance of GuiIcanDataMaterial GUI window.


gIDL

private GuiIcanDataLoads gIDL
Instance of GuiIcanDataLoads GUI window.


gIDMore

private GuiIcanMoreLoads gIDMore
Instance of GuiIcanMoreLoads time, frequency, and rates GUI control window.


gIDRate

private GuiIcanRateLoads gIDRate
Instance of GuiIcanRateLoads GUI Rate control window.


gIDI

private GuiIcanDataImpact gIDI
Instance of GuiIcanDataImpact GUI window.


gIDO

private GuiIcanDataOutputs gIDO
Instance of GuiIcanDataOutputs GUI window.


gMdbP

private GuiMdbPrompt gMdbP
Instance of GuiMdbPrompt GUI window.


gProc

private GuiIcanDataProcess gProc
Instance of GuiIcanDataProcess GUI plot control window.


gPlPL

private GuiIcanDataPlotPL gPlPL
Instance of GuiIcanDataPlotPL GUI plot control window.


gPlIV

private GuiIcanDataPlotImpact gPlIV
Instance of GuiIcanDataPlotImpact GUI plot control window.


nMdbTypes

private static final int nMdbTypes
Number of material DataBank types. Used to determine number of GUI windows to initialize for material DataBank data.


gMdbs

private GuiMdbData[] gMdbs
Array of instances of GuiMdbData GUI windows.


gMfim

private GuiMdbDataMfim gMfim
Instance of GuiMdbDataMfim GUI window.


cmp

private ComputeIcanData cmp
Instance of ComputeIcanData class.


out

private Output out
Instance of Output class used for execution output.


err

private Output err
Instance of Output class used for execution error output.


jrn

private Output jrn
Instance of Output class used for journalling.

Constructor Detail

ICAN

public ICAN()
Same as default constructor.

Method Detail

main

public static void main(java.lang.String[] args)
Begin here when run as an application.

Parameters:
args - Command line arguments are ignored.

init

public void init()
Begin here when run as an applet. The Graphical User Interface (GUI) is initialized in separate frames.

Overrides:
init in class java.applet.Applet

start

public void start()
Begin processing at the "first" frame. The Graphical User Interface (GUI) is started so that control is passed to the first frame.

Overrides:
start in class java.applet.Applet

getAppletInfo

public java.lang.String getAppletInfo()
Returns information about this applet. An applet should override this method to return a String containing information about the author, version, and copyright of the applet.

Overrides:
getAppletInfo in class java.applet.Applet
Returns:
A string containing information about the author, version, and copyright of the applet.

getName

public java.lang.String getName()
Get class name.

Overrides:
getName in class java.awt.Component
Returns:
Class name.