IcanGui
Class GuiIcanVoidVolumeSliceTable

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Window
              extended by java.awt.Frame
                  extended by IcanGui.GuiIcanVoidVolumeSliceTable
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.KeyListener, java.awt.event.WindowListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible

public class GuiIcanVoidVolumeSliceTable
extends java.awt.Frame
implements java.awt.event.ActionListener, java.awt.event.KeyListener, java.awt.event.WindowListener

Class to create Substructure Slice table.

See Also:
Serialized Form

Nested Class Summary
(package private)  class GuiIcanVoidVolumeSliceTable.Madapter
          Mouse Adapter Inner Class
 
Nested classes/interfaces inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
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.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  double[] boxesLoZs
           
private static java.lang.String[] buttonLabels
          Labels to display on action buttons.
private  java.awt.Button[] buttons
          Action buttons.
private  java.lang.String chosenPlies
          String containing the selected Ply number(s) or "ALL".
private  java.lang.String chosenSubstructs
          String specifying which Substructure subrange(s) to slice or "ALL".
private  int[] codeSlice
          Values of the number of Slices for Fiber or Particle, Interphase, Matrix or Binder.
private  double[] d
          Values of Diameter/Distance for Fiber or Particle, (Fiber or Particle +) Interphase, Matrix or Binder.
private  IcanDataSet dataset
          ICAN/JAVA data set.
private  java.lang.String[] descr
          Descriptive titles at top of window.
private static double EPSR
          Extra amount to allow when rounding the number of fibers in the ply up to the next highest value.
private  int fiberOrParticle
          Either MaterialProperty.PROPERTY_TYPE_FIBER or MaterialProperty.PROPERTY_TYPE_PARTICLE: used to determine whether the analysis is 2D or 3D, respectively.
private  java.awt.GridBagConstraints gbc
          GridBag Layout constraints.
private  java.awt.GridBagLayout gbl
          GridBag Layout manager.
private static double HALF
          The number one half.
private static int iCancel
          Cancel Button exits this screen and discards any data entered.
private static int iExit
          Exit Button exits the entire program.
private static int iF
          Index of Fiber or Particle variables.
private static int iHelp
          Help Button displays information on this window.
private static int iI
          Index of Interphase variables.
private static int iM
          Index of Matrix or Binder variables.
private  int iPly
          Index of invoking Slice button corresponding to Ply number or range.
private  int iPS
          0 for Primary, 1 for Secondary.
private  int iSlice
          Index of slices in Substructure Slice table.
private  double[] k
          Volume ratios for Fiber or Particle, Interphase, Matrix or Binder.
private  int lastSubstruct
          Number of Substructures per Ply, rounded to next higher integer for selection.
private  java.awt.Label[] lblDescr
          Labels for descriptions at top of window.
private  java.awt.Label[][] lblSliceCol
          (Column) Labels in Substructure Slice table.
private  java.awt.Label[] lblSliceTotals
          Totals for columns in Substructure Slice table.
private  java.awt.Label[][] lblSliceVar
          Labels in Substructure Slice fields.
private  java.lang.String[] materialCode
          Strings containing the Materal codes for Fiber or Particle, Interphase, Matrix or Binder.
private  GuiIcanVoidVolumeSliceTable.Madapter myMadapter
          Mouse Adapter to handle mouse entering the window for the first time and right clicks.
private static int nButtons
          Number of action buttons.
private  int nDescrs
          Number of descriptive labels at top of window.
private  int nPlies
          Number of Plies in Ply range.
private static int nset
          Number of Fiber or Particle, Interphase, and Matrix or Binder indices.
private static int nSliceCols
          Number of Columns in Substructure Slice table.
private  int nSlicesTotal
          Computed total number of Slices in Ply range.
private  java.awt.Panel[] panelCol
          Panel containing user's Substructure data table columns.
private  java.awt.Panel panelFrame
          The Panel that contains the data to be displayed within a scrolling frame.
private  java.awt.Panel panelUser
          Panel containing user's Substructure data table.
private  double plyLoRange
          Value of low Ply position for the Ply range.
private  java.lang.String plyMaterialID
          String containing the composite material code.
private  java.lang.String plyRange
          String containing Ply number or range.
private  int[] plyRangeArray
          Array of integers denoting Ply range.
private  double plyThickness
          Value of Ply thickness for each Ply in the range.
private  java.awt.Component saveCompFocus
          Component to set focus to.
private  java.awt.ScrollPane scrollFrame
          The scrolling frame in which the data is displayed.
private static java.lang.String[][] sliceColTitle
          Titles for columns in Substructure Slice table.
private  double[] sliceHiZs
           
private  double[] sliceLoZs
           
private  double[] sThick
          Computed Slice Thicknesses for Fiber or Particle, Interphase, Matrix or Binder.
private  GuiIcanVoidVolumeItems that
          Calling class GuiIcanVoidVolumeItems.
private  java.lang.String theTitle
          String containing the description/title of the ICAN/JAVA run.
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
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
GuiIcanVoidVolumeSliceTable(GuiIcanVoidVolumeItems that, java.lang.String title, int iPly, java.lang.String plyRange, java.lang.String plyMaterialID, int iPS, java.lang.String[] materialCode, double[] k, double[] d, double plyThickness, double plyLoRange, int fiberOrParticle, java.lang.String chosenPlies, java.lang.String chosenSubstructs, int[] codeSlice, double[] sThick, int nPlies, int lastSubstruct)
          Constructor creates windows to display text entry fields, buttons, and table of slices.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          Detect Action Events and process accordingly
private  boolean addIcanDataUser()
          Add a set of Substructure input data per ply.
 void doArrow(int key)
          Process arrow key to move focus.
 java.lang.String getName()
          Get class name.
 void helpMe()
          Display help message.
 void helpMe(java.awt.Component target)
          Display help message for a specified component.
protected  void initMe()
          Initialize window.
 void keyPressed(java.awt.event.KeyEvent evt)
          Makes sure that keys are not processed twice.
 void keyReleased(java.awt.event.KeyEvent evt)
          Detects when the following keys are released Tab, up arrow, down arrow, enter, shift+tab, alt+right, alt+left, F1
 void keyTyped(java.awt.event.KeyEvent evt)
          Does Nothing
 void presetData()
          Set title and other ICAN/JAVA data.
 void remove()
          Remove buttons and labels to destroy window.
 void windowActivated(java.awt.event.WindowEvent evt)
          Does Nothing
 void windowClosed(java.awt.event.WindowEvent evt)
          Does Nothing
 void windowClosing(java.awt.event.WindowEvent evt)
          Checks to make sure you want to exit
 void windowDeactivated(java.awt.event.WindowEvent evt)
          Does Nothing
 void windowDeiconified(java.awt.event.WindowEvent evt)
          Does Nothing
 void windowIconified(java.awt.event.WindowEvent evt)
          Does Nothing
 void windowOpened(java.awt.event.WindowEvent evt)
          Does Nothing
 
Methods inherited from class java.awt.Frame
addNotify, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, 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, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

dataset

private IcanDataSet dataset
ICAN/JAVA data set.


that

private GuiIcanVoidVolumeItems that
Calling class GuiIcanVoidVolumeItems.


panelUser

private java.awt.Panel panelUser
Panel containing user's Substructure data table.


panelCol

private java.awt.Panel[] panelCol
Panel containing user's Substructure data table columns. This was added to allow a GridLayout in one direction (height) and a GridBagLayout in the other direction (width) because there is a limit of 512 rows or columns in a GridBagLayout.


gbl

private java.awt.GridBagLayout gbl
GridBag Layout manager. Note that there is a limit of 512 rows or columns in a GridBagLayout.


gbc

private java.awt.GridBagConstraints gbc
GridBag Layout constraints.


iPly

private int iPly
Index of invoking Slice button corresponding to Ply number or range.


iPS

private int iPS
0 for Primary, 1 for Secondary.


descr

private java.lang.String[] descr
Descriptive titles at top of window.


nDescrs

private int nDescrs
Number of descriptive labels at top of window.


lblDescr

private java.awt.Label[] lblDescr
Labels for descriptions at top of window.


theTitle

private java.lang.String theTitle
String containing the description/title of the ICAN/JAVA run.


plyRange

private java.lang.String plyRange
String containing Ply number or range.


plyRangeArray

private int[] plyRangeArray
Array of integers denoting Ply range. The 2 elements denote start and end of Ply range.

See Also:
plyRange

nPlies

private int nPlies
Number of Plies in Ply range.

See Also:
plyRange

plyMaterialID

private java.lang.String plyMaterialID
String containing the composite material code.


plyThickness

private double plyThickness
Value of Ply thickness for each Ply in the range.


plyLoRange

private double plyLoRange
Value of low Ply position for the Ply range.


chosenPlies

private java.lang.String chosenPlies
String containing the selected Ply number(s) or "ALL".


chosenSubstructs

private java.lang.String chosenSubstructs
String specifying which Substructure subrange(s) to slice or "ALL".


fiberOrParticle

private int fiberOrParticle
Either MaterialProperty.PROPERTY_TYPE_FIBER or MaterialProperty.PROPERTY_TYPE_PARTICLE: used to determine whether the analysis is 2D or 3D, respectively.


iF

private static final int iF
Index of Fiber or Particle variables.

See Also:
Constant Field Values

iI

private static final int iI
Index of Interphase variables.

See Also:
Constant Field Values

iM

private static final int iM
Index of Matrix or Binder variables.

See Also:
Constant Field Values

nset

private static final int nset
Number of Fiber or Particle, Interphase, and Matrix or Binder indices.

See Also:
Constant Field Values

codeSlice

private int[] codeSlice
Values of the number of Slices for Fiber or Particle, Interphase, Matrix or Binder.


materialCode

private java.lang.String[] materialCode
Strings containing the Materal codes for Fiber or Particle, Interphase, Matrix or Binder.


k

private double[] k
Volume ratios for Fiber or Particle, Interphase, Matrix or Binder.


d

private double[] d
Values of Diameter/Distance for Fiber or Particle, (Fiber or Particle +) Interphase, Matrix or Binder.


sThick

private double[] sThick
Computed Slice Thicknesses for Fiber or Particle, Interphase, Matrix or Binder.


lastSubstruct

private int lastSubstruct
Number of Substructures per Ply, rounded to next higher integer for selection.


nSlicesTotal

private int nSlicesTotal
Computed total number of Slices in Ply range.


sliceColTitle

private static final java.lang.String[][] sliceColTitle
Titles for columns in Substructure Slice table.


nSliceCols

private static final int nSliceCols
Number of Columns in Substructure Slice table.


lblSliceCol

private java.awt.Label[][] lblSliceCol
(Column) Labels in Substructure Slice table.


lblSliceTotals

private java.awt.Label[] lblSliceTotals
Totals for columns in Substructure Slice table.


lblSliceVar

private java.awt.Label[][] lblSliceVar
Labels in Substructure Slice fields.
  1. For each slice:
    • Slice number - descending order.
    • Slice Thickness.
    • Position - position of (center) of slice.
    • Fiber or Particle Volume Ratio.
    • Interphase Volume Ratio.
    • Matrix or Binder Volume Ratio.
    • Void Volume Ratio.
  2. Total - same as slice except Position is blank.


boxesLoZs

private double[] boxesLoZs

sliceLoZs

private double[] sliceLoZs

sliceHiZs

private double[] sliceHiZs

iSlice

private int iSlice
Index of slices in Substructure Slice table.


saveCompFocus

private java.awt.Component saveCompFocus
Component to set focus to.


HALF

private static final double HALF
The number one half.

See Also:
Constant Field Values

iCancel

private static final int iCancel
Cancel Button exits this screen and discards any data entered.

See Also:
Constant Field Values

iHelp

private static final int iHelp
Help Button displays information on this window.

See Also:
Constant Field Values

iExit

private static final int iExit
Exit Button exits the entire program.
To exit just this screen, see Cancel.

See Also:
iCancel, Constant Field Values

buttonLabels

private static final java.lang.String[] buttonLabels
Labels to display on action buttons.


nButtons

private static final int nButtons
Number of action buttons.


buttons

private java.awt.Button[] buttons
Action buttons.


scrollFrame

private java.awt.ScrollPane scrollFrame
The scrolling frame in which the data is displayed.


panelFrame

private java.awt.Panel panelFrame
The Panel that contains the data to be displayed within a scrolling frame.


myMadapter

private GuiIcanVoidVolumeSliceTable.Madapter myMadapter
Mouse Adapter to handle mouse entering the window for the first time and right clicks.


EPSR

private static final double EPSR
Extra amount to allow when rounding the number of fibers in the ply up to the next highest value. For example, an exact integer or a slightly greater number should stay at the exact number and should not round up until it exceeds the exact number by the given amount.

See Also:
Constant Field Values
Constructor Detail

GuiIcanVoidVolumeSliceTable

public GuiIcanVoidVolumeSliceTable(GuiIcanVoidVolumeItems that,
                                   java.lang.String title,
                                   int iPly,
                                   java.lang.String plyRange,
                                   java.lang.String plyMaterialID,
                                   int iPS,
                                   java.lang.String[] materialCode,
                                   double[] k,
                                   double[] d,
                                   double plyThickness,
                                   double plyLoRange,
                                   int fiberOrParticle,
                                   java.lang.String chosenPlies,
                                   java.lang.String chosenSubstructs,
                                   int[] codeSlice,
                                   double[] sThick,
                                   int nPlies,
                                   int lastSubstruct)
Constructor creates windows to display text entry fields, buttons, and table of slices.

Parameters:
that - Instance of caller: GuiIcanVoidVolumeItems.
title - The description/title of the ICAN/JAVA run.
iPly - Subscript of Ply range data.
plyRange - Range of Ply Id numbers for this substructure.
plyMaterialID - Composite material code for ply.
iPS - 0 for Primary, 1 for Secondary.
materialCode - Material code for fiber or particle, interphase, matrix or binder.
k - Volume ratio for Fiber or particle , Interphase, Matrix or binder
d - Fiber or particle diameter, interphase diameter, matrix or binder distance.
plyThickness - Thickness of each Ply in the range.
plyLoRange - Low position of the first ply in range.
fiberOrParticle - See MaterialDataBank.MaterialProperty.PROPERTY_TYPE_FIBER or MaterialDataBank.MaterialProperty.PROPERTY_TYPE_PARTICLE to determine whether 2-D or 3-D analysis is required.
chosenPlies - Selected Ply number(s)
chosenSubstructs - Selected Substructure(s) to slice
codeSlice - Array containing number of slices of each type (F/P, I, or M/B) to initialize the class for.
sThick - Slice Thicknesses for Fiber or Particle, Interphase, Matrix or Binder.
nPlies - Number of Plies in Ply range.
lastSubstruct - Number of Substructures per Ply, rounded to next higher integer for selection.
See Also:
MaterialProperty.PROPERTY_TYPE_FIBER, MaterialProperty.PROPERTY_TYPE_PARTICLE
Method Detail

initMe

protected void initMe()
Initialize window.


addIcanDataUser

private boolean addIcanDataUser()
Add a set of Substructure input data per ply.

Returns:
True, if no error; false, if error.

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Detect Action Events and process accordingly

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
evt - Action event.

helpMe

public void helpMe()
Display help message.


helpMe

public void helpMe(java.awt.Component target)
Display help message for a specified component.

Parameters:
target - Component for which help is desired.

remove

public void remove()
Remove buttons and labels to destroy window.


windowActivated

public void windowActivated(java.awt.event.WindowEvent evt)
Does Nothing

Specified by:
windowActivated in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent evt)
Does Nothing

Specified by:
windowDeactivated in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

windowIconified

public void windowIconified(java.awt.event.WindowEvent evt)
Does Nothing

Specified by:
windowIconified in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent evt)
Does Nothing

Specified by:
windowDeiconified in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

windowOpened

public void windowOpened(java.awt.event.WindowEvent evt)
Does Nothing

Specified by:
windowOpened in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

windowClosed

public void windowClosed(java.awt.event.WindowEvent evt)
Does Nothing

Specified by:
windowClosed in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

windowClosing

public void windowClosing(java.awt.event.WindowEvent evt)
Checks to make sure you want to exit

Specified by:
windowClosing in interface java.awt.event.WindowListener
Parameters:
evt - Window event.

keyTyped

public void keyTyped(java.awt.event.KeyEvent evt)
Does Nothing

Specified by:
keyTyped in interface java.awt.event.KeyListener
Parameters:
evt - Key event.

keyPressed

public void keyPressed(java.awt.event.KeyEvent evt)
Makes sure that keys are not processed twice.

Specified by:
keyPressed in interface java.awt.event.KeyListener
Parameters:
evt - Key event.

keyReleased

public void keyReleased(java.awt.event.KeyEvent evt)
Detects when the following keys are released Tab, up arrow, down arrow, enter, shift+tab, alt+right, alt+left, F1

Specified by:
keyReleased in interface java.awt.event.KeyListener
Parameters:
evt - Key event.

doArrow

public void doArrow(int key)
Process arrow key to move focus.

Parameters:
key - Arrow key entered.

presetData

public void presetData()
Set title and other ICAN/JAVA data. If ICAN/JAVA data initialized, use it to initialize the Substructure inputs.


getName

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

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